MediaWiki:Wp/bal/Common.css

From Wikimedia Incubator

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* ===== Searching ===== */
.mw-search-createlink { font-size: 110%; background-color: #F9F9F9; color: #005000; padding: 0.3em; border:1px solid #008000; }

/* ===== Template:Code-disambig ===== */s
.wminc-code { background-color: #F9F9F9; border: 1px solid #AAAAAA; padding: 5px; border-width: 2px; overflow: hidden; width: auto; direction: ltr; }
.wminc-code-lookup { background-color: #F9F9F9; border: 1px solid #AAAAAA; padding: 5px; float: right; text-align: right; font-weight: bold; }

/* ===== Redirects italic and green in Special:Allpages and Special:Prefixindex ===== */
.allpagesredirect a { color: green; }
.allpagesredirect a:visited { color: #008000; }

/* ===== [[Template:Translations]] ==== */
.inc-translations { margin-top: 0.5em; }
.inc-translations table { clear:both; border:1px solid #aaaaaa; border-collapse:collapse; padding:0.2em; margin:0; margin: 0 1px; width: 100%; background-color: #EEF3E2; }
.inc-translations span { white-space: nowrap; }
.inc-translations-img { width:20px; padding:0 .5em 0 .5em; }
.inc-translations td { vertical-align: middle; }
td.inc-translations-title { width:10px; padding:0 .5em 0 0; border-right:1px solid #aaa; white-space: nowrap; font-size:88%; }
td.inc-translations-links { padding:.1em .5em; background:#F6F9ED; border-right:1px solid #aaa; }
td.inc-translations-version { width: 10px !important; padding-right:3px; padding-left:3px; white-space: nowrap; font-size:88%; }
.ns-14 * td.inc-translations-version { display: none; }

.mw-pt-languages-label { width: auto; white-space: nowrap; }

/* ===== DynamicNavigation aka box hiding from .de. ===== */
div.Boxmerge, div.NavFrame { margin: 0px; border: 1px solid #ccc; border-collapse: collapse; clear:both; }
div.Boxmerge:hover, .NavFrame:hover { border:1px solid #999; }
div.Boxmerge div.NavFrame { border: 0px; }
div.NavFrame + div.NavFrame { margin-top: -1px; }
div.NavPic { margin: 0px; padding: 2px; float: left; }
div.NavFrame div.NavHead { padding:0.2em; background-color: #eee; position:relative; }
div.NavFrame div.NavHead:hover { background-color: #ccc; }
div.NavFrame div.NavHead .navigation { position:absolute; right:5px; cursor:pointer; }

/* ===== plainlinks-special ===== */
/* Displays an external link if it were an internal link. Use this only on special pages, and with links to incubator itself! */

.ns--1 * .plainlinks-special a { background: none !important; padding: 0 !important; color: #002bb8 !important; }
.ns--1 * .plainlinks-special a:visited { color: #5a3696 !important; }
.ns--1 * .plainlinks-special a:active { color: #faa700 !important; }

.ns-8 * .plainlinks-special a { background: none !important; padding: 0 !important; color: #002bb8 !important; }
.ns-8 * .plainlinks-special a:visited { color: #5a3696 !important; }
.ns-8 * .plainlinks-special a:active { color: #faa700 !important; }

/* ===== Namespace background colors ===== */
/* MediaWiki: */
.ns-8 * #content, .ns-8 * #p-cactions li, .ns-8 * #p-cactions li a { background: #EEEEFF; }

/* Help: */
.ns-12 * #content, .ns-12 * #p-cactions li, .ns-12 * #p-cactions li a { background: #FFE; }

/* ===== Error formatting ===== */
.mw-permissionserrorstext { display: none; }
.mw-permissionserrorsreason { color: darkred; font-size: larger; font-weight: bold; }
.mw-upload-disabled { /* font-size:larger; */ border:1px solid darkred; padding:.5em 1em; margin-bottom: 1em; background-color:#FFF2F2; }
.mw-upload-disabled-mark { font-weight:bold; color:darkred; }

/* When editing a previously deleted page */
div.mw-warning-with-logexcerpt ul li { font-size: 100% !important; }
div.mw-warning-with-logexcerpt { background: #EEEEEE !important; }

/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors > li { list-style: none; }
ul.permissions-errors { margin: 0; }

/* ===== Template:Test_wiki ===== */
.testwiki { width:100%; }
.testwiki-default { background-color:#FCFCFC; border:2px solid silver; }
.testwiki-tocreate { background-color:#FCFCFC; border:2px solid silver; }
.testwiki-toimport { background-color:#FCFCFC; border:2px solid orange; }
.testwiki-approved { background-color:#F3FFF3; border:2px solid green; }
.testwiki-invalidcode { background-color:#FFDBDB; border:2px solid red; }
.testwiki-open { background-color:#F3F3FF; border:2px solid blue; }
.testwiki-imported { background-color:#FAF6ED; border:2px solid orange; }
.testwiki-title { padding:8px; font-size:180%; }
.testwiki-entertest { font-size:150%; border:2px solid; padding:.5em 1em; color:#000; border-color:green; background-color:#dfd; margin-right:15px; margin-top:5px; float:right; }

/* For info page links added in MediaWiki:Wminc-infopage-links */
.wminc-infopage-links { margin: 1.5em;font-size: 90%; }
.wminc-infopage-links ul { padding: 0; line-height: 1em; }

/* ===== Notices etc ===== */
#pt-login {
     font-weight: bold; font-size: 110%;
}
#siteNotice {
     text-align: center; background-color: transparent;
}
#pre-small {
     padding: 5px; border: 1px dashed #2f6fab; background-color: #f9f9f9; line-height: 0.5em;
}
.inc-footnote:target {
     background-color: #DEF;
}
#anontalkpagetext {
     background-color: #F9F9F9; border: 1px solid #AAAAAA; font-style: italic; padding-left:5px; margin-top:5px;
}
.botmessage {
     border: 1px solid #aaa; background-color: #F9F9F9; width: 80%; margin: 0 auto 1em auto; padding: .2em;
}
.sharedUploadNotice {
     border:1px solid #aaa; margin: 1em auto; width: 60%; padding: 8px 1% 8px 8%; border-radius: 5px;
     background-color: #EEEFFF; background-position: 2% 50%; background-repeat: no-repeat;
     background-image: url(//upload.wikimedia.org/wikipedia/commons/9/9d/Commons-logo-31px.png);
}
.wminc-notice {
     border: 2px solid #CD5C5C; margin: 1em; padding: 0.1em 0.5em; background-color: #F6F8FC; text-align: center;
     border-radius: 5px;
}
.wminc-notice-archive, /* legacy: */ .mw-archivepage {
     padding: 1.3em 4em; border-color: #025E9D;
     border-width: 1px; border-style: solid; border-bottom-width: medium; margin: 1em 5em;
     background: #F9F9F9 url("//upload.wikimedia.org/wikipedia/commons/thumb/d/da/File.svg/50px-File.svg.png") no-repeat 1em center;
}
.wminc-notice-under-construction {
     border: 2px solid red; font-weight: bold; margin-bottom: 1em; text-align: center;
}
.wminc-notice-user-blocked {
     background: #FFEEEE url("//upload.wikimedia.org/wikipedia/commons/thumb/4/42/Stop_x_nuvola.svg/30px-Stop_x_nuvola.svg.png") no-repeat 1em center; padding: 0.1em 4em;
}
.wminc-notice-warning {
     background: #F6F8FC url("//upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Ambox_warning_orange.svg/30px-Ambox_warning_orange.svg.png") no-repeat 1em center; padding: 0.1em 4em;
}
.mw-editinginterface {
    background: url("//upload.wikimedia.org/wikipedia/commons/thumb/9/9b/MediaWiki.svg/50px-MediaWiki.svg.png") no-repeat 0.8em center #F6F8FC; border: 1px solid #C0C0C0; margin: 1em; padding: 0.8em 6em; border-radius: 2px;
}

/* Fonts per language (NOTE: add per project in MediaWiki:<project>/<lang>/Common.css) */
[lang=azb],
[lang=bcc],
[lang=bgn],
[lang=bqi],
[lang=ckb],
[lang=fa],
[lang=glk],
[lang=lki],
[lang=lrc],
[lang=luz],
[lang=mzn],
[lang=pes],
[lang=pnb],
[lang=prs],
[lang=ps],
[lang=sdh] {
    font-family: tahoma, 'Noto Naskh Arabic', 'Droid Arabic Naskh', sans-serif, serif;
}
[lang=khw], [lang=ur] { font-family: "Urdu Naskh Asiatype", tahoma, 'Noto Naskh Arabic', 'Droid Arabic Naskh', sans-serif, serif; }
[lang=grc] { font-family: 'Palatino Linotype', 'Arial Unicode MS', Code2000, 'New Athena Unicode', Gentium, 'Athena Unicode'; }
[lang=ber], [lang=shi], [lang=rif] { font-family: tahoma; }

/* RTL Languages
 * Not only languages don't exist in MediaWiki,
 * required also for discussion pages, example usage:
 *  <div lang="fa">
 *     ...
 *  </div>
 *
*/
[lang=ar],
[lang=azb],
[lang=bcc],
[lang=bgn],
[lang=bqi],
[lang=ckb],
[lang=fa],
[lang=glk],
[lang=khw],
[lang=lki],
[lang=lrc],
[lang=luz],
[lang=mzn],
[lang=ota],
[lang=pes],
[lang=pnb],
[lang=prs],
[lang=ps],
[lang=sdh],
[lang=syc],
[lang=ur] { /* @noflip */ 
    direction: rtl;
}

/* Babel */
div.mw-babel-box table th { width: 56px; }

/* Abuuuuse! */
.page-User_SPQRobin_sandbox #p-logo a { background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/9/9c/ThreeCircles.png/135px-ThreeCircles.png) !important; }

/* Future Special:IncubatorFirstSteps */
.mw-special-incubatorfirststeps-header { opacity: 0.4; }


/**
 * Obsolete stuff warnings
 */

/* .prettytable */
table.prettytable:before {
  background-color: #ffc;
  border: 2px solid #c00;
  color: #c00;
  content: "This table has class \"prettytable\" which is obsolete, use \"wikitable\" instead.";
  display: block;
  font-weight: bold;
  padding: .2em .4em;
}

/* Sitenotice per test wiki (experimental) */
.sitedir-ltr .mw-dismissable-notice-close-test-wiki {
    float: right;
}
.sitedir-ltr .mw-dismissable-notice-body-test-wiki {
    margin: 0.5em 20% 0.5em 5em;
}