MediaWiki:Common.css: Difference between revisions
From Valve Cut Content
Tag: Rollback |
No edit summary |
||
Line 1: | Line 1: | ||
@import url('https://fonts.googleapis.com/css?family=Open+Sans'); | //**@import url('https://fonts.googleapis.com/css?family=Open+Sans'); | ||
div#mw-panel { | div#mw-panel { | ||
Line 345: | Line 345: | ||
color:#c1c1c1 !important; | color:#c1c1c1 !important; | ||
} | } | ||
**// |
Revision as of 20:23, 12 March 2019
//**@import url('https://fonts.googleapis.com/css?family=Open+Sans'); div#mw-panel { width: 11em; /* increase width of the container; was 10em */ } .mw-body { margin-left: 13em; /* move content to a fitting place; was 13em */ } p-namespaces { margin-left: 13em; } /*Top header pos fix*/ .darkvectorTabs { margin-left:48px; } /* Pinkish source-style missing for not-present pages. */ a.new { color: #BD44FF !important; } /* Stripes background */ .infoboxheading, .infoboxsubheading, .article-template, .errorbox, .warningbox, .successbox, .alertbox, .alertbox2, .alertbox3, .navtempsec, .navtemp th { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAyCAYAAAB70nrOAAAAkUlEQVR4AdWMSwrCQBQEO9Fo1PgXjZ/7X3PkNb2ojQewoaDqMYwkfZTBEzi8GTNDCb70OgcOL5M9C7zUnIAneHiY7G6w2w/XNXiX4J0NdmqtqSgX4mgShyKufYGXmhCTEDuT2BZxbQr+MSJGIdYmsSriGgr+wRiEWJrEoogn8EeP6MUwia6wMwoh7GIUDvLHhy9BWxckqkJhEwAAAABJRU5ErkJggg==') !important; background-repeat: repeat-x !important; } /* WikiEditor link colors */ .wikiEditor-ui-tabs div a, .wikiEditor-ui-toolbar .tabs span.tab a, .wikiEditor-ui-toolbar .tabs span.tab a:visited { color: #d46007; } /* Wikitable padding reset to its value from older MediaWiki, primarily for achievement icons */ table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td { padding: 0.2em; } /* Full-width action status boxes */ .errorbox, .warningbox, .successbox { display: block; } /* Legacy class used on OverWiki */ .fullwidth { width: 100%; } /* Ugly hack to remove unsupported "other resolutions" on video pages */ body[class*="_webm "] .mw-filepage-other-resolutions { display: none; } /* Sound element leaves some weird bottom margin in Chrome and Firefox */ audio { margin-top: 5px; } /* * "Main article"-like notes (copied from Wikipedia) */ .hatnote { font-style: italic; } div.hatnote { margin-bottom: 0.5em; padding-left: 1.6em; } /* * Infobox */ .infobox { position: relative; float: right; clear: right; /* Margins from the recent changes legend, relative to the smaller font size */ margin-left: 1em; margin-bottom: 0.5em; width: 250px; border: 1px solid #999999; font-size: smaller; line-height: 1.5; } .infoboxtable { width: 100%; } .infoboximage { padding: 0; text-align: center; } .infoboxheading { font-size: larger; font-weight: bold; color: white; } .infoboxsubheading { text-align: left; font-weight: normal; } .infoboxlabel, .infoboxcell { vertical-align: top; } .infoboxcell p, .infoboxcell ul { margin-top: 0; margin-bottom: 0; } /* For TimedMediaHandler, not used anymore - the player has weird vertical positioning that moves it 2px up */ /*.infoboxsound .mediaContainer { margin: 2px auto 0; } */ .infoboxsound { text-align: center; } .infobox .plainlinks, .infobox .plainlinks a { color: white; } /* * Alert box */ .alertbox, .alertbox2, .alertbox3 { width: 100%; border: 1px solid #d9d9d9; font-size: 9pt; } .alertbox { background-color: #cfebff; } .alertbox2, .alertbox3 { background-color: #d3ffd3; } .alertbox, .alertbox2 { font-size: x-small; } .alertbox th, .alertbox2 th { width: 100%; text-align: left; } /* * Navigation template and similar things */ .tableholder, .navtemp { background-color: #f9f9f9; border: 1px solid #aaa; padding: 5px; } .navtemp, .fileinfo { width: 100%; } .navtemp { font-size: smaller; } .fileinfo { font-size: small; } .navtemp th { color: white; padding: 3px 7px; } .navtemp th a { color: white; } .navtemp th .selflink { font-weight: bold; /* Not bolder so it's not too bold on category pages */ } .navtemp td, .fileinfo { background-color: #e8e8e8; } .navtemp td { padding-left: 3px; padding-right: 3px; } .navtemp td.navtempsec, .fileinfo td.fileinfosec { /* .navtempsec doesn't have enough priority */ font-weight: bold; white-space: nowrap; } .navtemp td.navtempsec { padding-left: 5px; padding-right: 5px; } .fileinfo td.fileinfosec { padding-left: 3px; padding-right: 3px; text-align: right; } .navtemptoggle { display: inline-block; float: right; font-weight: normal; width: 4em; /* Prevent the header from moving to the left/right when toggling */ text-align: right; } .navtempshow, .navtemphide { cursor: pointer; } .navtempshow, .navtempcoll .navtemphide, .navtempcoll tr { display: none; } .navtempcoll .navtempshow { display: inline; } .navtempcoll tr:first-child { display: table-row; } /* * Code block reset and font */ code { background: none; border: none; color: inherit; padding: 0; } pre, code, tt, kbd, samp, .mw-code { font-family: "Consolas", "Lucida Console", monospace, "Courier"; } /* * Main page */ /* Hide the title */ body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading, body.page-Main_Page_pl.action-view h1.firstHeading, body.page-Main_Page_pl.action-submit h1.firstHeading { display: none; } /* Hide breadcrumbs */ body.page-Main_Page_pl.action-view span.subpages, body.page-Main_Page_pl.action-submit span.subpages { display: none; } .mainpageblock { margin-bottom: .8em; padding: .5em; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAABACAMAAABMUIWcAAAAVFBMVEXIyMj////IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjN8byXAAAAHHRSTlMAAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaKunIwQAAAMxJREFUeAGtytlugzAYROFTbLODWUKX9v3fs6BEhBEXvyz5u5wzKOY/Nefuvyp3n37UlLnHbxVz9y+Vu4+fagRl9JFNDKhhw+gbj4tb3zeM/mA99ah+PWD0FaOvLE+3vrxg9IX50KG6+cS0a1Ht9IbRJ2K89XiF0SMNqhkVRm8Sez2oOrX3KrVXnapAe6tSe9moMnMPtQqpvVKpnVJ5lMfoJeHKoVwIGD1g9IA/3bo/YHSP0T3uqUAV7gWjO4zuKHa3foHRC4xe8GEwD/+Gujn8M+UftQAAAABJRU5ErkJggg==') !important; background-repeat: repeat-x !important; background-color: #4a4a4a; border: solid 1px #666; } /*Fixup text blending with bg */ .footer-info, .footer-info-lastmod { color:#999; } /*Newer color scheme for title table boxes*/ .titlebox { background-color:#4c5844; border:1px solid #a2a089; } /*Category labels as per Uncanny's proposal*/ .portal h3 { color:#cebf5a !important; } /*font test */ * { font-family: 'Open Sans', sans-serif; } /* reference highlight color */ ol.references li:target { background-color: #4c5844; } sup.reference:target { background-color: #4c5844; } #editpage-copywarn, .editCheckboxes, .oo-ui-labelElement-label { color:#797777; } /*Override of skin css*/ #footer-info-lastmod { color:#797777 !important; } /* CSS for msgbox stuff, imported from TCRF. Doesn't seem to work right with Wikia */ .msgbox{ margin:0em 2em 1em 3em; border:1px solid #475641; background:#475641; -moz-border-radius:0 8px 0 8px; border-radius:0 8px 0 8px; padding:0; border-spacing:0 } .msgbox td{ vertical-align:middle; padding:0.5em 1em 0.5em 0em; width:100% } .msgbox .msgboximg{ vertical-align:middle; width:0%; margin: auto; padding:0.5em 1em 0.5em 1em; } .gallerytext p { color:#c1c1c1 !important; } **//