Difference between revisions of "MediaWiki:Common.css"
m |
|||
(74 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | /** CSS placed here will be applied to all skins */ | + | /** CSS placed here will be applied to all skins **/ |
− | table.uoguidetable | + | |
− | { | + | /* Main_Page layout */ |
+ | body.page-Main_Page h1.firstHeading { | ||
+ | display:none; | ||
+ | } | ||
+ | div#header { | ||
+ | border:1px solid #9F3215; | ||
+ | margin:10px -1px 0px -1px; | ||
+ | width:100%; | ||
+ | } | ||
+ | div#welcome { | ||
+ | float:left; | ||
+ | padding:16px 0px 12px 25px; | ||
+ | text-align:center; | ||
+ | } | ||
+ | div#portals { | ||
+ | float:right; | ||
+ | padding:7px 25px 0px 0px; | ||
+ | } | ||
+ | div#gameinfo { | ||
+ | float:right; | ||
+ | padding:5px 15px 0px 0px; | ||
+ | } | ||
+ | div.mainpagetablerow { | ||
+ | border-bottom:1px solid #9F3215; | ||
+ | min-width:501px; | ||
+ | position:relative; /* 4/21/12 -> 5/22/12 */ | ||
+ | width:100%; | ||
+ | } | ||
+ | div.leftcolumn, | ||
+ | div.rightcolumn { | ||
+ | float:left; | ||
+ | min-width:250px; | ||
+ | width:49.9%; | ||
+ | } | ||
+ | div.leftcolumn { | ||
+ | border-right:1px solid #9F3215; | ||
+ | margin-right:-1px; | ||
+ | } | ||
+ | div.rightcolumn { | ||
+ | border-left:1px solid #9F3215; | ||
+ | } | ||
+ | div.titleicon { | ||
+ | float:left; | ||
+ | padding-left:10px; | ||
+ | } | ||
+ | div.titletext { | ||
+ | color:#9F3215; | ||
+ | float:left; | ||
+ | font-size:18px; | ||
+ | padding-left:10px; | ||
+ | } | ||
+ | div.content { | ||
+ | padding:5px 20px 10px 10px; | ||
+ | } | ||
+ | |||
+ | /* UOGuide table styling */ | ||
+ | table.uoguidetable { | ||
border:1px solid #000000; | border:1px solid #000000; | ||
border-collapse:collapse; | border-collapse:collapse; | ||
− | margin: | + | margin:0px; |
width:auto; | width:auto; | ||
} | } | ||
− | .uoguidetable th, .uoguidetable td | + | table.uoguidetable th, |
− | { | + | table.uoguidetable td { |
border:1px solid #000000; | border:1px solid #000000; | ||
− | padding: | + | padding:3px 5px; |
text-align:center; | text-align:center; | ||
} | } | ||
− | .uoguidetable th | + | table.uoguidetable th { |
− | { | + | |
background-color:#9F3215; | background-color:#9F3215; | ||
color:#FFFFFF; | color:#FFFFFF; | ||
} | } | ||
− | .uoguidetable td | + | table.uoguidetable td { |
− | { | + | |
background-color:#EEEECC; | background-color:#EEEECC; | ||
} | } | ||
− | .uoguidetable | + | table.uoguidetable.leftalign td { |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | { | + | |
text-align:left; | text-align:left; | ||
} | } | ||
− | .uoguidetable td. | + | table.uoguidetable.open td { |
− | { | + | border:none; |
− | text-align:right; | + | } |
+ | table.uoguidetable.smalltext { | ||
+ | font-size:11px; | ||
+ | } | ||
+ | |||
+ | /* Navbox styling and spacing */ | ||
+ | table.navbox { | ||
+ | font-size:11px; | ||
+ | width:100%; | ||
+ | } | ||
+ | table.navbox + table.navbox { | ||
+ | margin-top:-1px; | ||
+ | } | ||
+ | |||
+ | /* Tooltip formatting */ | ||
+ | table#itembox img { | ||
+ | display:block; | ||
+ | margin-left:auto; | ||
+ | margin-right:auto; | ||
+ | } | ||
+ | table#tooltip { | ||
+ | background:url('images/a/ac/Tooltip_Background.png'); | ||
+ | color:#FFFFFF; | ||
+ | font-weight:bold; | ||
+ | margin-left:auto; | ||
+ | margin-right:auto; | ||
+ | position:relative; | ||
+ | text-align:center; | ||
+ | z-index:1; | ||
+ | } | ||
+ | table#tooltip td { | ||
+ | padding:0px 5px; | ||
+ | } | ||
+ | |||
+ | /* Right-floated boxes */ | ||
+ | table.rightfloat { | ||
+ | float:right; | ||
+ | margin:1px 1px 1em 1em; | ||
+ | } | ||
+ | |||
+ | /* Line wrap prevention for links */ | ||
+ | .nowraplinks a { | ||
+ | white-space:nowrap; | ||
+ | } | ||
+ | |||
+ | /* Recent Changes styling */ | ||
+ | .mw-plusminus-pos { | ||
+ | color:#006400; | ||
+ | } | ||
+ | .mw-plusminus-neg { | ||
+ | color:#8B0000; | ||
+ | } | ||
+ | .mw-plusminus-null { | ||
+ | color:#AAAAAA; | ||
} | } | ||
− | . | + | |
− | { | + | /* Table of Contents depth limits. |
− | + | */ | |
+ | .toclimit-2 .toclevel-2, | ||
+ | .toclimit-3 .toclevel-3, | ||
+ | .toclimit-4 .toclevel-4, | ||
+ | .toclimit-5 .toclevel-5, | ||
+ | .toclimit-6 .toclevel-6, | ||
+ | .toclimit-7 .toclevel-7 { | ||
+ | display:none; | ||
} | } | ||
− | + | ||
− | { | + | |
− | + | div#atlanticroleplaywiki { | |
+ | background-image: url(http://www.uoguide.com/images/9/98/Atlantic_roleplay_wiki_background.jpg); | ||
} | } |
Latest revision as of 18:05, 19 January 2016
/** CSS placed here will be applied to all skins **/ /* Main_Page layout */ body.page-Main_Page h1.firstHeading { display:none; } div#header { border:1px solid #9F3215; margin:10px -1px 0px -1px; width:100%; } div#welcome { float:left; padding:16px 0px 12px 25px; text-align:center; } div#portals { float:right; padding:7px 25px 0px 0px; } div#gameinfo { float:right; padding:5px 15px 0px 0px; } div.mainpagetablerow { border-bottom:1px solid #9F3215; min-width:501px; position:relative; /* 4/21/12 -> 5/22/12 */ width:100%; } div.leftcolumn, div.rightcolumn { float:left; min-width:250px; width:49.9%; } div.leftcolumn { border-right:1px solid #9F3215; margin-right:-1px; } div.rightcolumn { border-left:1px solid #9F3215; } div.titleicon { float:left; padding-left:10px; } div.titletext { color:#9F3215; float:left; font-size:18px; padding-left:10px; } div.content { padding:5px 20px 10px 10px; } /* UOGuide table styling */ table.uoguidetable { border:1px solid #000000; border-collapse:collapse; margin:0px; width:auto; } table.uoguidetable th, table.uoguidetable td { border:1px solid #000000; padding:3px 5px; text-align:center; } table.uoguidetable th { background-color:#9F3215; color:#FFFFFF; } table.uoguidetable td { background-color:#EEEECC; } table.uoguidetable.leftalign td { text-align:left; } table.uoguidetable.open td { border:none; } table.uoguidetable.smalltext { font-size:11px; } /* Navbox styling and spacing */ table.navbox { font-size:11px; width:100%; } table.navbox + table.navbox { margin-top:-1px; } /* Tooltip formatting */ table#itembox img { display:block; margin-left:auto; margin-right:auto; } table#tooltip { background:url('images/a/ac/Tooltip_Background.png'); color:#FFFFFF; font-weight:bold; margin-left:auto; margin-right:auto; position:relative; text-align:center; z-index:1; } table#tooltip td { padding:0px 5px; } /* Right-floated boxes */ table.rightfloat { float:right; margin:1px 1px 1em 1em; } /* Line wrap prevention for links */ .nowraplinks a { white-space:nowrap; } /* Recent Changes styling */ .mw-plusminus-pos { color:#006400; } .mw-plusminus-neg { color:#8B0000; } .mw-plusminus-null { color:#AAAAAA; } /* Table of Contents depth limits. */ .toclimit-2 .toclevel-2, .toclimit-3 .toclevel-3, .toclimit-4 .toclevel-4, .toclimit-5 .toclevel-5, .toclimit-6 .toclevel-6, .toclimit-7 .toclevel-7 { display:none; } div#atlanticroleplaywiki { background-image: url(http://www.uoguide.com/images/9/98/Atlantic_roleplay_wiki_background.jpg); }