Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
JamesCrook (talk | contribs) (more css.) |
JamesCrook (talk | contribs) (add hide.) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 178: | Line 178: | ||
background-color: transparent; | background-color: transparent; | ||
} | } | ||
| + | |||
| + | .hide { | ||
| + | display:none; | ||
| + | } | ||
/*End prettytable rows*/ | /*End prettytable rows*/ | ||
| Line 184: | Line 188: | ||
div.editoronly, | div.editoronly, | ||
span.editoronly { | span.editoronly { | ||
| − | + | /* display: none;*/ | |
} | } | ||
/* Don't Show certain portlets */ | /* Don't Show certain portlets */ | ||
div#p-ToDo,div#p-For_Editors,div#p-tb { | div#p-ToDo,div#p-For_Editors,div#p-tb { | ||
| − | + | /* display: none;*/ | |
} | } | ||
Latest revision as of 20:41, 3 September 2020
/* CSS placed here will be applied to all skins */
#siteSub {
display:block;
font-style: italic;
}
#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;
display: none;
}
.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;
}
.hide {
display:none;
}
/*End prettytable rows*/
/* Don't Show hidden items for div or span that have class="editoronly". */
div.editoronly,
span.editoronly {
/* display: none;*/
}
/* Don't Show certain portlets */
div#p-ToDo,div#p-For_Editors,div#p-tb {
/* display: none;*/
}