Difference between revisions of "MediaWiki:Common.css"
From Kerbal Space Program Wiki
(+(a)mbox css from the English Wikipedia;) |
|||
Line 7: | Line 7: | ||
margin:0.25em; | margin:0.25em; | ||
} | } | ||
+ | /* Article message box styles */ | ||
+ | table.ambox { | ||
+ | margin: 0px 10%; /* 10% = Will not overlap with other elements */ | ||
+ | border: 1px solid #aaa; | ||
+ | /* @noflip */ | ||
+ | border-left: 10px solid #1e90ff; /* Default "notice" blue */ | ||
+ | background: #fbfbfb; | ||
+ | } | ||
+ | table.ambox + table.ambox { /* Single border between stacked boxes. */ | ||
+ | margin-top: -1px; | ||
+ | } | ||
+ | .ambox td.mbox-text { /* The message body cell(s) */ | ||
+ | border: none; | ||
+ | /* @noflip */ | ||
+ | width: 100%; /* Make all mboxes the same width regardless of text length */ | ||
+ | padding: 0.25em 0.5em; /* 0.5em left/right */ | ||
+ | } | ||
+ | .ambox td.mbox-image { /* The left image cell */ | ||
+ | border: none; | ||
+ | /* @noflip */ | ||
+ | padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
/* Planetary stuff! */ | /* Planetary stuff! */ | ||
.mp-planetnav{ | .mp-planetnav{ |
Revision as of 19:49, 17 August 2013
/* CSS placed here will be applied to all skins */ div.mp-box, .fmbox { background: #F6F6F6; padding: 1em; border: 1px solid #ccc; margin:0.25em; } /* Article message box styles */ table.ambox { margin: 0px 10%; /* 10% = Will not overlap with other elements */ border: 1px solid #aaa; /* @noflip */ border-left: 10px solid #1e90ff; /* Default "notice" blue */ background: #fbfbfb; } table.ambox + table.ambox { /* Single border between stacked boxes. */ margin-top: -1px; } .ambox td.mbox-text { /* The message body cell(s) */ border: none; /* @noflip */ width: 100%; /* Make all mboxes the same width regardless of text length */ padding: 0.25em 0.5em; /* 0.5em left/right */ } .ambox td.mbox-image { /* The left image cell */ border: none; /* @noflip */ padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ text-align: center; } /* Planetary stuff! */ .mp-planetnav{ background:#000; margin:0.25em; } .mp-planetnav a { color:white; font-weight:bold; display:block; text-align:center; } /* Sysops */ .mw-userlink[title="User:UmbralRaptor"], .mw-userlink[title="User:XZise"], .mw-userlink[title="User:Ruedii"], .mw-userlink[title="User:Schepter"], .mw-userlink[title="User:Avey1984"], .mw-userlink[title="User:Dylloop"], a.trusted, .bur, .adm, .mod { color:orange !important; font-weight:bold; } /* Bots */ a[class="mw-userlink"][title="User:RoboJeb"], .robot, .bot { color:#FE48AA; font-weight:bold; } /* Squad - Squad Logo + Green text */ a.mw-userlink[title="User:N3X15"], a.mw-userlink[title="User:NovaSilisko"], .squad { font-weight:bold; background:url('http://wiki.kerbalspaceprogram.com/w/images/thumb/0/04/SquadLogo.svg/16px-SquadLogo.svg.png') left no-repeat; color: green !important; padding-left:18px !important; }