MediaWiki:Common.css
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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ===== Searching ===== */
.mw-search-createlink {
font-size: 110%;
background-color: #F9F9F9;
color: #005000;
padding: 0.3em;
border: 1px solid #008000;
}
/* ===== Redirects italic and green in Special:Allpages and Special:Prefixindex ===== */
.allpagesredirect a {
color: green;
}
.allpagesredirect a:visited {
color: #008000;
}
/* ===== 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;
}
/* ===== Hide the title of the Main Page ===== */
body.rootpage-Incubator_Main_Page.action-view h1.firstHeading,
body.rootpage-Incubator_Main_Page.action-submit h1.firstHeading {
display: none;
}
/* ===== 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;
}
/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors>li {
list-style: none;
}
ul.permissions-errors {
margin: 0;
}
/* 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 ===== */
#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 #ccf;
border-left-width: 5px;
margin: 1em auto;
width: 60%;
padding: 8px 1% 8px 8%;
border-radius: 1em;
background-color: #EEEFFF;
background-position: 2% 50%;
background-repeat: no-repeat;
background-image: url(//upload.wikimedia.org/wikipedia/commons/8/86/Commons_logo.svg);
background-size: 6%;
}
/* 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( ber ),
:lang( shi ),
:lang( rif ) {
font-family: tahoma;
}
:lang( sgh ) {
font-family: 'Charis SIL', 'Arial Unicode MS', 'Lucida Sans Unicode', sans-serif, serif;
}
:lang( mni ) {
font-family: 'Noto Sans Meetei Mayek', 'Eeyek', 'Eeyek Unicode', 'Nirmala UI', 'Noto Sans', sans-serif, serif;
}
/* RTL Languages
* Not only languages that don't exist in MediaWiki;
* required also for discussion pages, example usage:
* <div lang="fa">
* ...
* </div>
*
*/
:lang( ajp ),
:lang( ar ),
:lang( apc ),
:lang( ary ),
:lang( arq ),
:lang( azb ),
:lang( bcc ),
:lang( bgn ),
:lang( bqi ),
:lang( ckb ),
:lang( fa ),
:lang( fuc ),
:lang( glk ),
:lang( khw ),
:lang( lki ),
:lang( lrc ),
:lang( luz ),
:lang( mey ),
:lang( mzn ),
:lang( ota ),
:lang( pes ),
:lang( phr ),
:lang( pnb ),
:lang( prs ),
:lang( ps ),
:lang( sdh ),
:lang( syc ),
:lang( tmr ),
:lang( ur ) {
/* @noflip */
direction: rtl;
}
/* Special:IncubatorFirstSteps */
.mw-special-incubatorfirststeps-header {
opacity: 0.4;
}
/* Hide the breadcrumbs for non-Wikivoyage test wikis; hide the subpages for Wikivoyage test wikis */
#contentSub .ext-geocrumbs-breadcrumbs,
body.rootpage-Wy #contentSub .subpages {
display: none;
}
body.rootpage-Wy #contentSub .ext-geocrumbs-breadcrumbs {
display: block;
}
/* Give the prefix part of titles a different opacity to visually differentiate them from the actual title. */
.ext-wminc-title-prefix {
opacity: 0.5;
}