Difference between revisions of "MediaWiki:Common.css"
From Audacity Wiki
BillWharrie (talk | contribs) (add editornote class) |
Galeandrews (talk | contribs) (Added "prettytablerows" class from Manual) |
||
Line 110: | Line 110: | ||
margin-right: 24px; | margin-right: 24px; | ||
background: #ffcccc; | background: #ffcccc; | ||
− | + | } | |
− | + | .editornote { | |
border: 1px solid black; | border: 1px solid black; | ||
padding-left: 12px; | padding-left: 12px; | ||
Line 139: | Line 139: | ||
h3.nyplug { color: #FF6600; font-size: 1em; } | h3.nyplug { color: #FF6600; font-size: 1em; } | ||
+ | |||
+ | |||
+ | /* prettytablerows class identical to prettytable | ||
+ | except highlights rows | ||
+ | use with: <table class="prettytablerows" border="2" rules="rows">*/ | ||
+ | table.prettytablerows { | ||
+ | margin: 1em 1em 1em 0; | ||
+ | background: #f9f9f9; | ||
+ | border: 1; | ||
+ | border-collapse: collapse; | ||
+ | border-style:solid; | ||
+ | border-color: #add8e6 #add8e6; | ||
+ | } | ||
+ | |||
+ | table.prettytablerows th, table.prettytablerows td { | ||
+ | border: 2; | ||
+ | padding: 0.2em; | ||
+ | vertical-align: top; | ||
+ | border-bottom:2px solid #add8e6; | ||
+ | } | ||
+ | |||
+ | table.prettytablerows th { | ||
+ | background: #add8e6; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | table.prettytablerows caption { | ||
+ | margin-left: inherit; | ||
+ | margin-right: inherit; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | table.prettytablerows code { | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | |||
+ | /*End prettytable rows*/ |
Revision as of 23:14, 17 December 2014
/** CSS placed here will be applied to all skins */ #f-poweredbyico { display: none; } .menu { /* white-space: nowrap; */ font-weight: bold; background: #FFEEAA; } .menuadvice { font-weight: bold; background:#FFEEAA; border: solid 1px #DD771E; } .menualert { font-weight: bold; background:#FFFFFF; border: solid 1px #FD5D1F; } .key { white-space: nowrap; font-weight: bold; font-style:italic; background: #D5C9E6; } .shortcut { white-space: nowrap; font-weight: bold; font-style:italic; background: #D5C9E6; } .kbrd { white-space: nowrap; background: #FFFFFF; font-style: italic; font-weight: bold; border: 1px solid #777777; padding-left: 3px; padding-right: 3px; padding-top: 1px; } .keyboard { white-space: nowrap; background: #FFFFFF; font-style: italic; font-weight: bold; border: 1px solid #777777; padding-left: 3px; padding-right: 3px; padding-top: 1px; } .button { white-space: nowrap; background: #EEEEEE; /* font-weight: bold; */ border: 1px solid #999999; padding-left: 3px; padding-right: 3px; padding-top: 1px; padding-bottom: 1px; } .note { border: 1px solid black; padding-left: 12px; padding-right: 12px; margin-top: 12px; margin-bottom: 12px; margin-left: 24px; margin-right: 24px; background: #DDFFEE; } .intro { border: 1px solid black; padding-left: 12px; padding-right: 12px; margin-top: 12px; margin-bottom: 24px; margin-left: 24px; margin-right: 24px; background: #DFEAF9; } .advice { border: 1px solid black; padding-left: 12px; padding-right: 12px; margin-top: 12px; margin-bottom: 12px; margin-left: 24px; margin-right: 24px; background:#FEFFD0; } .alert { border: 1px solid #cc0000; padding-left: 12px; padding-right: 12px; margin-top: 12px; margin-bottom: 12px; margin-left: 24px; margin-right: 24px; background: #ffcccc; } .editornote { border: 1px solid black; padding-left: 12px; padding-right: 12px; margin-top: 4px; margin-bottom: 4px; margin-left: 24px; margin-right: 24px; background: #ffeecc; } .path { font-family: monospace; color: #6A287E; } .transtitle { font-size: 188%; border-bottom:1px solid #AAAAAA; color:green; margin:0; padding-bottom:0.17em; padding-top:0.5em; } h3.nyplug { color: #FF6600; font-size: 1em; } /* prettytablerows class identical to prettytable except highlights rows use with: <table class="prettytablerows" border="2" rules="rows">*/ table.prettytablerows { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1; border-collapse: collapse; border-style:solid; border-color: #add8e6 #add8e6; } table.prettytablerows th, table.prettytablerows td { border: 2; padding: 0.2em; vertical-align: top; border-bottom:2px solid #add8e6; } table.prettytablerows th { background: #add8e6; text-align: center; } table.prettytablerows caption { margin-left: inherit; margin-right: inherit; font-weight: bold; } table.prettytablerows code { background-color: transparent; } /*End prettytable rows*/