MediaWiki:Common.css

/************************************************ * COMMON CSS * * Any CSS placed in this page will be used on * all skins, please think carefully about if it * belongs here (and not in one of the skin CSS * pages) before adding it. Thanks. ************************************************/

/* */ table.highlighthovertable tr:hover, table.highlighthovertable tr:hover td, table.mw-ext-translate-groupstatistics tr:hover, table.mw-ext-translate-groupstatistics tr:hover td { background-color: white; }

/* Babel wrapper layout. */ /* XXX: This is either redundant or should be in-core */ /* @noflip */table.mw-babel-wrapper { width:       238px; float:       right; clear:       right; margin:      1em; border-style: solid; border-width: 1px; border-color: #99B3FF; }

/* Babel box layout. */ /* @noflip */div.mw-babel-box { float: left; clear: left; margin: 1px; }

div.mw-babel-box table { width: 238px; }

div.mw-babel-box table th { width:      238px; width:      45px; height:     45px; font-size:  14pt; font-family: monospace; }

div.mw-babel-box table td { font-size:  8pt; padding:    4pt; line-height: 1.25em; }

/* Babel box colours. */ div.mw-babel-box-0 { border: solid #B7B7B7 1px; }

div.mw-babel-box-1 { border: solid #C0C8FF 1px; }

div.mw-babel-box-2 { border: solid #77E0E8 1px; }

div.mw-babel-box-3 { border: solid #99B3FF 1px; }

div.mw-babel-box-4 { border: solid #CCCC00 1px; }

div.mw-babel-box-5 { border: solid #F99C99 1px; }

div.mw-babel-box-N { border: solid #6EF7A7 1px; }

div.mw-babel-box-0 table th { background-color: #B7B7B7; }

div.mw-babel-box-1 table th { background-color: #C0C8FF; }

div.mw-babel-box-2 table th { background-color: #77E0E8; }

div.mw-babel-box-3 table th { background-color: #99B3FF; }

div.mw-babel-box-4 table th { background-color: #CCCC00; }

div.mw-babel-box-5 table th { background-color: #F99C99; }

div.mw-babel-box-N table th{ background-color: #6EF7A7; }

div.mw-babel-box-0 table { background-color: #E8E8E8; }

div.mw-babel-box-1 table { background-color: #F0F8FF; }

div.mw-babel-box-2 table { background-color: #D0F8FF; }

div.mw-babel-box-3 table { background-color: #E0E8FF; }

div.mw-babel-box-4 table { background-color: #FFFF99; }

div.mw-babel-box-5 table { background-color: #F9CBC9; }

div.mw-babel-box-N table { background-color: #C5FCDC; }

.babel-box td.babel-footer { text-align: center; }

/* Styling for portals. */ div.table { display:       table; vertical-align: top; width:         100%; }

div.table-row { display:       table-row; vertical-align: top; }

div.table-cell { display:       table-cell; vertical-align: top; }

body.ns-100 table.mw-babel-wrapper { border:          solid 1px #bbbbbb; background-color: #f0f0f0; margin-left:     1em; }

.graytext { color: #aaa; }

/* On Special:RecentChanges and Special:Watchlist make the new pages symbol bold green and the minor edit symbol gray. */ .newpage { color:      green; font-weight: bold }

.minoredit, .minor { color: gray; }

/* Monospace diffs, this makes more sense since diffs show what would be seen in the edit box. */ /* Note: Anno 2012 many browsers don't use monospace in the textarea anymore by default, notably Chrome and Safari don't (unless the user overrides this in the preferences) */ .diff-context, .diff-deletedline, .diff-addedline { font-family: monospace, "Courier New"; /* Just guess does the stupid wikidiff2 extensions add extra whitespace around..... */   white-space: -moz-pre-wrap; white-space: pre-wrap; } .diffchange { border: 1px dotted rgb( 170, 170, 170 ); }

/* It is unclear what the following CSS does, please add comments if you can clarify. */ /* The box which is 400px high and if its content is longer, it gets the scrollbar */ .scrollme { overflow: scroll; width:   100%; height:  400px; }

/* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at NavFrame. */ div.Boxmerge, div.NavFrame { margin: 0; padding: 4px; border-collapse: collapse;} div.Boxmerge div.NavFrame { border-style: none; border-style: hidden; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavFrame div.NavHead { height: 1.6em; position:relative; } div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } a.NavToggle { position: absolute; top: 0; right: 5px; } .note-flaggedrevs * a.NavToggle { right: 12px; } /* For Template:Flagged Revs */

/* Template:Languages */ .bw-languages { border:         1px solid #aaaaaa; padding:        0.2em; border-collapse: collapse; line-height:    1.2; font-size:      95%; margin:         1px 1px; } .bw-languages-title { width:       180px; border:      1px solid #aaaaaa; background:  #EEF3E2; padding:     0.5em; font-weight: bold; } .bw-languages-links { padding:0.5em; background:#F6F9ED; }

/* Senseless in this project */
 * 1) editpage-copywarn { display: none; }

/* New main page stuff */ .page-Main_Page #firstHeading, .page-Main_Page_draft #firstHeading { display: none; }

/* Hide warnings about bad links on MediaWiki:Common.css */ .page-MediaWiki_Common_css .mw-translate-messagechecks { display: none; }

.page-Main_Page_draft #contentSub { display: none; } .mainpage-more { margin-left:1em; white-space:nowrap; }

.startnow { margin: 1em auto; text-align: center; font-size: 300%; line-height: 1.3em; }

.startnow a { text-decoration: none!important; }

/* http://monc.se/kitchen/59/scalable-css-buttons-using-png-and-background-colors */ .btn { display: block; position: relative; background: #aaa; padding: 5px; color: #fff; text-decoration: none; cursor: pointer; } .btn * { font-style: normal; background-image: url('/static/btn2.png'); background-repeat: no-repeat; display: block; position: relative; } .btn i { background-position: top left; position: absolute; margin-bottom: -5px; top: 0; left: 0; width: 5px; height: 5px; } .btn span { background-position: bottom left; left: -5px; padding: 0 0 5px 10px; margin-bottom: -5px; } .btn span i { background-position: bottom right; margin-bottom: 0; position: absolute; left: 100%; width: 10px; height: 100%; top: 0; } .btn span span { background-position: top right; position: absolute; right: -10px; margin-left: 10px; top: -5px; height: 0; }

.btn.blue { background: #2ae; } .btn.green { background: #9d4; } .btn.pink { background: #e1a; } .btn:hover { background-color: #a00; } .btn:active { background-color: #444; } .btn[class] { background-image: url('/static/shade.png'); background-position: bottom; }

/******************* /* @noflip */ padding-right:0; background:none; }
 * Faciliate RTL translation
 * 1) bodyContent .arabic a {

.vatop tr, tr.vatop, .vatop td, .vatop th { vertical-align: top; }

.bw-languages { direction: ltr; }

/* Only ltr supported */ /* @noflip */#recaptcha_area { direction: ltr; }

/* prevent wrapping of lines in LQT TOC if not necessary */ table.lqt_toc { width: auto; }

/* m:MediaZilla:35337 */ @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) { #p-logo a { background-image: url("//translatewiki.net/images/thumb/7/7c/Translatewiki-logo-bare.svg/152px-Translatewiki-logo-bare.svg.png") !important; background-size: auto 135px; } } @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) { #p-logo a { background-image: url("//translatewiki.net/images/thumb/7/7c/Translatewiki-logo-bare.svg/202px-Translatewiki-logo-bare.svg.png") !important; background-size: auto 135px; } }

/* qqq visibility, Thread:Support/Suggestion: Add this CSS to MediaWiki:Common.css */ .mw-sp-translate-edit-info .mw-content-ltr { background-position:left center; padding-left:45px; } fieldset.mw-sp-translate-edit-info .mw-centent-rtl { background-position:right center; padding-right:45px; }

/* Semantic MediaWiki - make special properties easier to identify */

.smwbuiltin a, .smwbuiltin a.new { color: #FF8000; }

/* Recentchangestext toggle link */ .white-link a { color: #fff; }