Difference between revisions of "MediaWiki:Common.css"
From OSE SRD
AdminGnome (talk | contribs) |
AdminGnome (talk | contribs) |
||
(21 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
h2 { | h2 { | ||
background-color: #dbe8d4; | background-color: #dbe8d4; | ||
− | padding | + | padding: 5px; |
border: none; | border: none; | ||
+ | margin-top: 30px !important; | ||
} | } | ||
Line 38: | Line 39: | ||
} | } | ||
− | #mw-content-text | + | #mw-content-text p a:link { |
color: #85b06c !important; | color: #85b06c !important; | ||
+ | font-weight: bold; | ||
} | } | ||
− | #mw-content-text | + | #mw-content-text p a:visited { |
color: #85b06c !important; | color: #85b06c !important; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | #mw-content-text li a:link { | ||
+ | color: #85b06c !important; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | #mw-content-text li a:visited { | ||
+ | color: #85b06c !important; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | #toc li a:link { | ||
+ | color: black !important; | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | |||
+ | #toc li a:visited { | ||
+ | color: black !important; | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | |||
+ | td a:link { | ||
+ | color: #85b06c !important; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | td a:visited { | ||
+ | color: #85b06c !important; | ||
+ | font-weight: bold; | ||
} | } | ||
Line 49: | Line 82: | ||
.tocnumber { visibility: hidden; } | .tocnumber { visibility: hidden; } | ||
− | + | ||
− | + | ||
+ | |||
+ | /* Content from mediawiki.org */ | ||
+ | /* [[Template:Note]] */ | ||
+ | .tip, | ||
+ | .note { | ||
+ | padding: 0.5em; | ||
+ | margin: 0.5em 0; | ||
+ | overflow: hidden; | ||
+ | background-color: #F9F9F9; | ||
+ | background-position: 4px 2px; | ||
+ | background-repeat: no-repeat; | ||
+ | border: 1px solid #DDD; | ||
+ | } | ||
+ | .tip-info, | ||
+ | .note-info { | ||
+ | background-color: #F0F0E7; | ||
+ | background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/f/f8/Appunti_architetto_franc_01.svg/22px-Appunti_architetto_franc_01.svg.png); | ||
+ | border-color: #cc9933; | ||
+ | /* @noflip */ padding-left: 30px; | ||
+ | min-height: 28px; | ||
+ | } | ||
+ | .tip-reminder, | ||
+ | .note-reminder { | ||
+ | background-color: #F6FDEA; | ||
+ | background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/23px-Bulbgraph.png); | ||
+ | border-color: #D6E434; | ||
+ | padding-left: 31px; | ||
+ | min-height: 28px; | ||
+ | } | ||
+ | .tip-error, | ||
+ | .note-error { | ||
+ | background-color: #F0E7E7; | ||
+ | background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/51/Attention_niels_epting.svg/24px-Attention_niels_epting.svg.png); | ||
+ | border-color: #cc3333; | ||
+ | padding-left: 32px; | ||
+ | min-height: 25px; | ||
+ | } | ||
+ | |||
+ | /* [[Template:Notice]] */ | ||
+ | .block-note { | ||
+ | background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png); | ||
+ | background-position: top left; | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | /* | ||
+ | * Using block-contents in the hope that it can apply to all block-level warning templates, | ||
+ | * with different images applied as backgrounds to the wrapping DIV. | ||
+ | */ | ||
+ | .block-contents { | ||
+ | display: block; | ||
+ | padding-left: 20px; | ||
} | } |
Latest revision as of 20:51, 26 January 2020
/* CSS placed here will be applied to all skins */ a { color: black !important; } #p-personal a { color: white !important; } h2 { background-color: #dbe8d4; padding: 5px; border: none; margin-top: 30px !important; } .flex-fill.container>.row:first-of-type{ background-image: url('/srd/images/bg.png'); background-size: 1600px; background-position-y: 750px; } /*.p-navbar { background-color: #85b06c; } */ .dropdown-menu > .active > a { background-color: #dbe8d4; background-image: none; color: black; } .dropdown-menu > .active > a:hover { background-color: black; background-image: none; color: white; } #mw-content-text p a:link { color: #85b06c !important; font-weight: bold; } #mw-content-text p a:visited { color: #85b06c !important; font-weight: bold; } #mw-content-text li a:link { color: #85b06c !important; font-weight: bold; } #mw-content-text li a:visited { color: #85b06c !important; font-weight: bold; } #toc li a:link { color: black !important; font-weight: normal; } #toc li a:visited { color: black !important; font-weight: normal; } td a:link { color: #85b06c !important; font-weight: bold; } td a:visited { color: #85b06c !important; font-weight: bold; } .tocnumber { visibility: hidden; } /* Content from mediawiki.org */ /* [[Template:Note]] */ .tip, .note { padding: 0.5em; margin: 0.5em 0; overflow: hidden; background-color: #F9F9F9; background-position: 4px 2px; background-repeat: no-repeat; border: 1px solid #DDD; } .tip-info, .note-info { background-color: #F0F0E7; background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/f/f8/Appunti_architetto_franc_01.svg/22px-Appunti_architetto_franc_01.svg.png); border-color: #cc9933; /* @noflip */ padding-left: 30px; min-height: 28px; } .tip-reminder, .note-reminder { background-color: #F6FDEA; background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/23px-Bulbgraph.png); border-color: #D6E434; padding-left: 31px; min-height: 28px; } .tip-error, .note-error { background-color: #F0E7E7; background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/51/Attention_niels_epting.svg/24px-Attention_niels_epting.svg.png); border-color: #cc3333; padding-left: 32px; min-height: 25px; } /* [[Template:Notice]] */ .block-note { background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png); background-position: top left; background-repeat: no-repeat; } /* * Using block-contents in the hope that it can apply to all block-level warning templates, * with different images applied as backgrounds to the wrapping DIV. */ .block-contents { display: block; padding-left: 20px; }