MediaWiki:Common.css: Difference between revisions
From Valve Cut Content
No edit summary |
No edit summary |
||
Line 176: | Line 176: | ||
#mw-wikiforum-searchbox-border { | #mw-wikiforum-searchbox-border { | ||
border: 1px | border: 1px solid #ccc; | ||
width: 200px; | width: 200px; | ||
text-align: left; | text-align: left; |
Revision as of 14:39, 18 March 2019
/*WikiForum CSS Deployed! Let's make some noise...*/ /*This part borders forum blocks*/ table.mw-wikiforum-frame { clear: both; /* @see http://bugzilla.shoutwiki.com/show_bug.cgi?id=190 */ width: 100%; background: #333333; margin-bottom: 1.2em; } td.mw-wikiforum-innerframe { border: none; border-radius: 5px; } table.mw-wikiforum-headerrow { clear: both; /* @see http://bugzilla.shoutwiki.com/show_bug.cgi?id=190 */ width: 100%; font-size: 10px; font-family: Verdana, Arial, sans-serif; margin-top: 1.2em; background: none; } table.mw-wikiforum-footerrow { width: 100%; font-size: 10px; font-family: Verdana, Arial, sans-serif; margin-bottom: 1.2em; text-transform: uppercase; } td.mw-wikiforum-leftside { text-align: left; } td.mw-wikiforum-rightside { text-align: right; } table.mw-wikiforum-title { width: 100%; border-collapse: collapse; color: black; background: transparent; } table.mw-wikiforum-mainpage { width: 100%; border-collapse: collapse; background: transparent; } .mw-wikiforum-mainpage tr.mw-wikiforum-title { background: #f2ddce; height: 2.4em; } .mw-wikiforum-mainpage th.mw-wikiforum-lastpost { border-right: 1px solid #a3bfb1; } .mw-wikiforum-mainpage th.mw-wikiforum-title { border-left: 1px solid #a3bfb1; } .mw-wikiforum-mainpage td.mw-wikiforum-title { background: transparent; padding: 5px; } .mw-wikiforum-mainpage td.mw-wikiforum-value { background: transparent; } tr.mw-wikiforum-title { background: #a68256; font-color: orange; height: 3em; } th.mw-wikiforum-title { font-size: 120%; font-color: orange; font-weight: bold; text-align: left; padding-left: 10px; border-left: 5px solid #ffce8f; } th.mw-wikiforum-value { width: 90px; border-bottom: 1px solid #a3bfb1; border-top: 1px solid #a3bfb1; text-align: center; } th.mw-wikiforum-admin { border-bottom: 1px solid #a3bfb1; border-top: 1px solid #a3bfb1; text-align: right; } th.mw-wikiforum-lastpost { width: 180px; border-bottom: 1px solid #a3bfb1; border-top: 1px solid #a3bfb1; text-align: center; } p.mw-wikiforum-valuetitle { font-family: Verdana, Arial, sans-serif; font-size: 10px; } tr.mw-wikiforum-normal { background: #f5faff; } tr.mw-wikiforum-sticky { background: #e5eaff; } td.mw-wikiforum-title { text-align: left; padding-left: 10px; border-bottom: 1px solid #a3bfb1; } td.mw-wikiforum-value { border-bottom: 1px solid #a3bfb1; text-align: center; font-family: Verdana, Arial, sans-serif; font-size: 10px; } td.mw-wikiforum-admin { border-bottom: 1px solid #a3bfb1; text-align: right; font-family: Verdana, Arial, sans-serif; font-size: 10px; } p.mw-wikiforum-issue { font-weight: bold; } p.mw-wikiforum-thread { } p.mw-wikiforum-descr { color: #999999; font-family: Verdana, Arial, sans-serif; font-size: 10px; } span.small { font-size: 10px; font-family: Verdana, Arial, sans-serif; font-weight: normal; } table.mw-wikiforum-posted { color: #999999; font-family: Verdana, Arial, sans-serif; font-size: 10px; border-top: 1px dashed #999999; width: 100%; background: transparent; margin-top: 16px; margin-bottom: 6px; } th.mw-wikiforum-thread-top { font-weight: bold; padding: 5px 10px; border: 1px solid #cef2e0; background: #e5eaff; text-align: left; } td.mw-wikiforum-thread-main { padding: 10px; border: 1px solid #cef2e0; background: #deeff3; } td.mw-wikiforum-thread-sub { padding: 0px 10px; border: 1px solid #cef2e0; background: #f0f0ea; } /* Search box */ #mw-wikiforum-searchbox { float: right; margin-bottom: 8px; } #mw-wikiforum-searchbox-border { border: 1px solid #ccc; width: 200px; text-align: left; background: #f6f6f6; } #mw-wikiforum-searchbox-picture { margin-left: 5px; margin-right: 5px; } #txtSearch { border: 0; background: transparent; } /* Quote styling */ blockquote { padding: 10px; border: 1px dashed #ccc; background: #f9f9f9; } blockquote p.posted { color: #bbb; font-family: Verdana, Arial, sans-serif; font-size: 10px; border-bottom: 1px solid #999; background: transparent; margin-bottom: 6px; /*text-align: right;*/ /* Jack: removed on 2 Jan 2011 because it makes very little sense and also because we don't want to have the avatars overlapping the "Posted by" line */ } blockquote span { color: #bbb; font-family: Times New Roman; font-size: 30px; background: transparent; margin: 0 5px; } /* Align SocialProfile avatars to the right side and give it a bit of padding */ .wikiforum-avatar-image { float: right; padding-bottom: 5px; } /** * Fix for http://bugzilla.shoutwiki.com/show_bug.cgi?id=191 (long words do not wrap) * * @see http://stackoverflow.com/questions/7284990/css-how-to-break-long-words-in-a-table-td/11423675#11423675 * @see http://webdesignerwall.com/tutorials/word-wrap-force-text-to-wrap */ td.mw-wikiforum-thread-main, td.mw-wikiforum-thread-sub { word-wrap: break-word; word-break: break-all; table-layout: fixed; } ///**@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; } **///