Difference between revisions of "MediaWiki:Common.css"
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/* Hide the little logo and make the background of the main logo transparent */ | /* Hide the little logo and make the background of the main logo transparent */ |
Revision as of 08:18, 8 June 2014
/* Hide the little logo and make the background of the main logo transparent */ .logoContainer { background-color: transparent!important; } .wikiaLogo {display:none!important} /* Help headers */ .basic { background-image: url('http://images.wikia.com/communitytest/images/3/3b/Greenheader.png'); color:#006600; } .moderate { background-image: url('http://images.wikia.com/communitytest/images/7/7f/Blueheader.png'); color:#333399; } .expert { background-image: url('http://images.wikia.com/communitytest/images/e/ed/Purpleheader.png'); color:#663399; } .helpheader { padding-left: 5px; margin-top: .5em; margin-bottom: .17em; width: 100%; background-repeat: repeat-y; clear: right; display: table; } .helpheader h2 { margin: 0px !important; display: inline; float: left; font-size: 140%; font-weight: bold; line-height: 150%; margin: 15px 0px 3px 0px; padding:0.4em; text-align:left; vertical-align:middle; border-style: none; } .helpheader h2 ~ h2 { display: inline; float: left; } .silver_taskstar h2 { background: url('http://images.wikia.com/central/images/a/aa/Silver_taskstar.png') left center no-repeat; padding-left: 25px; padding-right: 15px; } .silver_taskstar h2 ~ h2 { background: transparent !important; padding-left: 0px; } .helpheader h2 ~ h2:before { content: '/'; margin-right: 10px; } .helpheader .editsection { background: white; margin-top: -25px; position: absolute; right: 5px; } .glass { background-image: url(http://images.wikia.com/central/images/a/a9/Glass_bar.png); background-repeat: repeat-x } /*~ Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes ~*/ th.mbox-text, td.mbox-text { /* The message body cell(s) */ border: none; padding: 0.25em 0.9em; /* 0.9em left/right */ width: 100%; /* Make all mboxes the same width regardless of text length */ } td.mbox-image { /* The left image cell */ border: none; padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ text-align: center; } td.mbox-imageright { /* The right image cell */ border: none; padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ text-align: center; } /*~ Talk page message box styles ~*/ table.tmbox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #c0c090; /* Default "notice" gray-brown */ background: #f8eaba; } .mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" */ margin: 2px 0; /* class ensures that this declaration overrides other */ width: 100%; /* For Safari and Opera */ /* styles (including mbox-small above) */ } .mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */ line-height: 1.5em; /* also "nested", so reset styles that are */ font-size: 100%; /* set in "mbox-small" above. */ } table.tmbox-speedy { border: 2px solid #b22222; /* Red */ background: #fee; /* Pink */ } table.tmbox-delete { border: 2px solid #b22222; /* Red */ } table.tmbox-content { border: 2px solid #f28500; /* Orange */ } table.tmbox-style { border: 2px solid #f4c430; /* Yellow */ } table.tmbox-move { border: 2px solid #9932cc; /* Purple */ } table.tmbox-protection, table.tmbox-notice { border: 1px solid #c0c090; /* Gray-brown */ } /* These mbox-small classes must be placed after all other ambox/tmbox/ombox etc classes. "body.mediawiki" is so they override "table.ambox + table.ambox" above. */ body.mediawiki table.mbox-small { /* For the "small=yes" option. */ clear: right; float: right; margin: 4px 0 4px 1em; width: 238px; font-size: 88%; line-height: 1.25em; } body.mediawiki table.mbox-small-left { /* For the "small=left" option. */ margin: 4px 1em 4px 0; width: 238px; border-collapse: collapse; font-size: 88%; line-height: 1.25em; } /* === Babel === */ div.babelbox { float: right; margin-left: 1em; margin-bottom: 0.5em; width: 246px; border: 1px solid #99B3FF; padding: 2px 0 2px 0; } .lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 { margin: 2px 4px 2px 4px; /* t, l, b, r */ width:238px; border-collapse: collapse; } td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 { text-align:center; font-size:14pt; width:45px; height:45px; } td.lang-descriptionN, td.lang-description0, td.lang-description1, td.lang-description2, td.lang-description3 { font-size:8pt; padding:4pt; line-height:1.25em } .lang-block0 { border:1px solid #FFB3B3; } td.lang-code0 { background-color: #FFB3B3; color: black; } td.lang-description0 { background-color: #FFE0E8; color: black; } .lang-block1, .lang-block2, .lang-block3 { border:1px solid #99B3FF; } td.lang-code1, td.lang-code2, td.lang-code3 { background-color: #99B3FF; color: black; } td.lang-description1, td.lang-description2, td.lang-description3 { background-color: #E0E8FF; color: black; } .lang-blockN { border:1px solid #6EF7A7; } td.lang-codeN { background-color: #6EF7A7; color: black; } td.lang-descriptionN { background-color: #C5FCDC; color: black; } /* === Forum formatting -Algorithm & -Splaka === */ .forumheader { border: 1px solid #aaa; background-color: #f9f9f9; color: #000; margin-top: 1em; padding: 6px; } .forumlist td.forum_edited a { color: black; text-decoration: none } .forumlist td.forum_title a { padding-left: 20px; } .forumlist td.forum_title a.forum_new { font-weight: bold; background: url('http://images3.wikia.nocookie.net/central/images/4/4e/Forum_new.gif?1') center left no-repeat; padding-left: 20px; } .forumlist td.forum_title a.forum_new:visited { font-weight: normal; background: none; padding-left: 20px; } .forumlist th.forum_title { padding-left: 20px; } /* === underline classes === */ .underlinelink a{ text-decoration: underline ! important; } .nounderlinelink a{ text-decoration: none ! important; } /* font class for 'click here' */ .clickhere a, .clickhere a:visited { color: #3366BB !important } .clickhere a:hover, .clickhere a:active { color: #268CFE !important } /* === class for task boxes === */ .task { border: 1px solid #585490; background: #f8faff; padding:.5em; } /* === class for main page link tables === */ #bodyContent .buttonlink a { background: transparent url(http://images.wikia.com/central/images/9/96/Bullet_plain.png) center left no-repeat !important; padding-left: 14px !important; } #bodyContent .buttonstar a { background: transparent url(http://images.wikia.com/central/images/e/ec/Bullet_star.png) center left no-repeat !important; padding-left: 14px !important; } #bodyContent .buttonstar3 a { background: transparent url(http://images.wikia.com/central/images/e/ef/Bullet_star3.png) center left no-repeat !important; padding-left: 14px !important; } /* === misc === */ li #credits { white-space: normal; } .headbare h1, .headbare h2 { border-bottom: none; } .mw-plusminus-pos { color: #006500; } .mw-plusminus-neg { color: #8B0000; } /* Mark redirects in Special:Allpages and Special:Watchlist */ .allpagesredirect { font-style: italic; } .watchlistredir { font-style: italic; } /* === for Percent template === */ .percent-fill { height:24px; background: #ffffff url(http://images.wikia.com/central/images/3/31/Gradient24.png) 0 0 repeat; } .percent-empty { height: 24px; background: transparent; } /* === per page stuff === */ .page-Category_Custom_edit_buttons .gallerybox .thumb { padding:0 !important; } .page-Wikia_Maintenance_copyvio a[title|="Category:Files with unknown copyright status"] {display:none;} body.page-Community_Chat #page_controls {display:none;} body.page-Community_Chat #page_tabs {display:none;} body.page-Community_Chat #articleFooterActions {display:none;} /* === Dynamic navigation === */ /* default skin for navigation boxes */ table.navbox { background-color: #f9f9f9; border: 1px solid #aaa; clear: both; font-size: 90%; margin: 1em 0em 0em; padding: 2px; text-align: center; width: 100%; } table.navbox th { background-color: #ccf; padding-left: 1em; padding-right: 1em; } table.navbox tr:not(:first-child) th { background-color: #ddf; } @media print { .navbox { display: none; } } /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */ div.Boxmerge, div.NavFrame { margin: 0px; padding: 4px; border: 1px solid #aaa; text-align: center; border-collapse: collapse; font-size: 95%; } div.Boxmerge div.NavFrame { border-style: none; border-style: hidden; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #fff; margin: 0px; padding: 2px; float: left; } div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; background-color: #ccccff; position:relative; } div.NavFrame p { font-size: 100%; } div.NavFrame div.NavContent { font-size: 100%; } div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0px; padding: 0px; line-height: 1px; clear: both; } a.NavToggle { position:absolute; top:0px; right:3px; font-weight:normal; font-size:smaller; } .NavToggle { float:right; position:absolute; top:0px; right:3px; } .NavHead {position:relative;} /* == For experimental Adoption 2.0 template == */ .adoption20 { position: absolute; top: 5px; right: 12px; height: 22px; padding: 2px 5px; border: 1px solid #F00; background-color: #FFFFDB; } .adoption20 .translate { position: absolute; right: 5px; font-size: 90%; border: 1px solid #BBBB66; background-color: #FFFFD7; float:left; padding: 1px .5em; } /* More Hubs styling -Dantman */ .morehubs { background: #FFFFFF; position: absolute; margin: 0px; padding: 0px; text-align: left; vertical-align: middle; } .morehubs map, .morehubs div, .morehubs p { text-align: left; vertical-align: middle; margin: 0px; padding: 0px; } .morehubs p { position: relative; left: -15px; top: 3px; } /* Remove titles from hubs -Dantman */ .ns-150 .firstHeading, .page-Big_wikis .firstHeading, .page-Not_a_valid_Wikia .firstHeading, .page-Wikia_Not_a_valid_Wikia .firstHeading { display: none; } /* remove talk link from forum namespace (monobooks/newskins/quartzskins/monaco) -Splarka */ body.ns-110 #ca-talk, body.ns-110 #this_talk, body.ns-110 #page_tabs li+li { display: none; } /* TabView extension */ .yui-content { background-color: #EDF5FF; /*border: solid 1px;*/ padding: 0.25em 0.5em; } .yui-nav { border-color:#EDF5FF; border-style:solid; border-width:0pt 0pt 5px; margin: 0px !important; } .yui-skin-sam .yui-navset .yui-nav, .yui-skin-sam .yui-navset .yui-navset-top .yui-nav { border-color:#EDF5FF; border-style:solid; border-width:0pt 0pt 5px; } .yui-navset .yui-nav .selected { background-color: #EDF5FF; } .yui-navset .yui-nav li { padding-left: 10px; padding-right: 10px; } /* wikialist stuff */ .wikialist-header { border:2px solid #7777aa; margin:auto; font-size:130%; background-color: #ddddee; } .wikialist-header td { padding:.25em; white-space: nowrap; } .wikialist-header td.wlh-button a { text-decoration:none; display:block; border:2px outset #ddddee; padding:.25em; font-weight:bold; color: black; text-align:center; } .wikialist-header td.wlh-button a:hover { background-color: #ccccff; } .wikialist-header td.wlh-button strong { text-decoration:none; display:block; border:2px inset #ddddee; padding:.25em; text-align:center; } .wikialist-header th { font-size:115% } /* </pre> === class for Hubs === <pre> */ #bodyContent .nostar a { background: transparent url(http://images.wikia.com/central/images/9/96/Bullet_plain.png) center left no-repeat !important; padding-left: 14px !important; } #bodyContent .yellowstar a { background: transparent url(http://images4.wikia.nocookie.net/central/images/thumb/e/e6/Hubstar-yellow.png/12px-Hubstar-yellow.png) center left no-repeat !important; padding-left: 14px !important; } #bodyContent .orangestar a { background: transparent url(http://images1.wikia.nocookie.net/central/images/thumb/7/73/Hubstar-orange.png/12px-Hubstar-orange.png) center left no-repeat !important; padding-left: 14px !important; } #bodyContent .redstar a { background: transparent url(http://images3.wikia.nocookie.net/central/images/thumb/e/ea/Hubstar-red.png/12px-Hubstar-red.png) center left no-repeat !important; padding-left: 14px !important; } .hubmodule { border:1px solid silver; width: auto; margin-bottom: 10px; padding:3px; } table.hubmodule th, div.hubmodule h2 { background-color: lightyellow; color: black; text-align:center; font-size: 150%; font-weight:normal; margin-bottom:0.6em; padding-bottom:0.17em; padding-top:0.3em; border:none; } .hubmodule .poll { width: auto; } #bodyContent .poll { background-color: inherit; } /*</pre> === Infobox classes copied from en.wikipedia === <pre> */ /* Infobox template style */ .infobox { border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; } .infobox td, .infobox th { vertical-align: top; } .infobox caption { font-size: larger; margin-left: inherit; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #aaa; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; } /* styles for bordered infobox with merged rows */ .infobox.bordered .mergedtoprow td, .infobox.bordered .mergedtoprow th { border: 0; border-top: 1px solid #aaa; border-right: 1px solid #aaa; } .infobox.bordered .mergedrow td, .infobox.bordered .mergedrow th { border: 0; border-right: 1px solid #aaa; } /* Put a checker background at the image description page only visible if the image has transparent background */ #file img { background: url("http://images.wikia.com/central/images/5/5d/Checker-16x16.png") repeat; } /* Commonly used Wikipedia .wikitable and .prettytable */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; } .wikitable th, .wikitable td, .prettytable th, .prettytable td { border: 1px #aaa solid; padding: 0.2em; } .wikitable th, .prettytable th { background: #f2f2f2; text-align: center; } .wikitable caption, .prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; } .wikiaSkinMonaco #dynamic-links-write-article-row { display: none; } /* dont need to show this on this page, just confuses people as its the same as the page title */ .page-Special_CreateWiki #request_wiki { display: none; } .collapseLink { cursor: pointer; } /* Homepage */ .homepage-feature-box { border:1px solid #CCCCCC; margin:0 1px 10px; outline:1px solid #FFFFFF; padding:8px; } .page-Community_Central_Adoption_requests .mw-warning-with-logexcerpt {display: none !important; } .page-Community_Central_Not_a_valid_Wikia .firstHeading { display: none; } /* fzy dev */ .wikia-button.red { background-color: #F00; background-image: -moz-linear-gradient(top, #F00 20%, #a00 70%); background-image: -webkit-gradient(linear, 0% 20%, 0% 70%, from(#C00), to(#A00)); border-color: #E20000; box-shadow: 0 1px 0 #900, 0 -1px 0 #900, 1px 0 0 #900, -1px 0 0 #900; color: #30; -moz-box-shadow: 0 0 0 1px #900; -webkit-box-shadow: 0 1px 0 #900, 0 -1px 0 #900, 1px 0 0 #900, -1px 0 0 #900; } /* AST main page classes */ .astmain { margin-bottom: 15px; color: #000000; padding: 0 10px 15px; border: 2px solid #CDE3F1; background: #EEF3F6; -webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px; } .astbigheading { margin: 15px 0; font-size: 30px; text-align: center; line-height: 30px; } .astheading { margin: 15px 0; font-size: 18px; line-height: 20px; text-align: center; } /** making polls prettier **/ .WikiaPrettyPoll div.ajax-poll { padding-right: 3em; } .WikiaPrettyPoll .pollAnswerVotes { height: 24px; border-color: #004a87; } .WikiaPrettyPoll .pollAnswerVotes div { height: 24px; background: #004a87; } .WikiaPrettyPoll .pollAnswerVotes span { color: white; top: 0; font-size: 16px; font-weight: bold; } /* Wikia University */ .wu-navigation { margin-bottom: 15px; } .wu-navigation ul { border-bottom: 1px solid #CCCCCC; font-size: 20px; font-weight: bold; margin: 0; padding-bottom: 1px; padding-top: 31px; text-align: right; } .wu-navigation li { display: inline-block; margin-right: 5px; } .wu-navigation li:after { border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #7F7F7F; border-style: solid; border-width: 4px 0 4px 10px; content: ""; display: inline-block; height: 0; margin-left: 5px; position: relative; top: -1px; width: 0; } .wu-navigation li:last-child:after { display: none; } .wu-navigation .logo { float: left; margin-right: 10px; } .wu-toc { display: inline; float: right; } .wu-toc .toc { float: right; margin-left: 5px; margin-top: 8px; } .wu-content .box { border: 1px solid #CCCCCC; margin-bottom: 20px; padding: 15px 20px 2px; position: relative; } .wu-content .box:first-child { margin-top: 10px; } .wu-content .box .header { border-bottom: 1px solid #CCCCCC; font-size: 20px; margin: -2px 0 10px; padding: 0px 0px 6px; } .wu-content .box .video { float: left; margin-bottom: -2px; margin-right: 5px; } .wu-content .box .video .floatleft { margin: 0; } .wu-content .box .video .tleft { margin: 0; } .wu-content .box .video figcaption { display: none; } .wu-content .box .description { float: left; margin-top: -6px; width: calc(100% - 370px); width: -moz-calc(100% - 370px); width: -webkit-calc(100% - 370px); width: -o-calc(100% - 370px); } .wu-content .box .resources { clear: both; float: left; margin-top: 5px; } .wu-content .box .next { background: none repeat scroll 0% 0% transparent; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border: 1px solid #CCCCCC; clear: both; color: #898989; cursor: pointer; font-size: 18px; height: 40px; line-height: 26px; margin: 9px 0px 13px; text-align: center; } .wu-content .box:last-child .next{ display: none; } .wu-content .box .next:hover { background: none repeat scroll 0% 0% #CCCCCC; color: #FFFFFF; } .wu-content .box .next:active { background: none repeat scroll 0% 0% #B7B5B5; color: #FFFFFF; } .wu-footer { border-top: 8px solid #CCCCCC; position: relative; } .wu-footer .header { border-bottom: medium none; font-size: 20px; font-weight: bold; margin: 13px 0px 0px; padding: 0px; } .wu-footer .logo { position: absolute; right: 5px; top: 10px; }