MediaWiki:Monobook.css: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
k Atur ulang CSS standar: +li#t-mindmap
 
(26 revisi perantara oleh 7 pengguna tidak ditampilkan)
Baris 1:
/* Don't display some stuff on the main page */
/** __TOC__
body.page-Halaman_Utama #deleteconfirm,
== Atur ulang CSS standar ==
body.page-Halaman_Utama #t-cite,
*/
body.page-Halaman_Utama #lastmod,
/* [[MediaWiki:tagline]], display text below main article header */
body.action-view.page-Halaman_Utama #siteSub,
#siteSub {
body.action-view.page-Halaman_Utama #contentSub,
display: inline;
body.action-view.page-Halaman_Utama h1.firstHeading {
font-size: 90%;
display: none !important;
font-weight: normal;
}
font-style: italic;
}
#bodyContent #siteSub a {
color: #000;
text-decoration: none;
background-color: transparent;
background-image: none;
padding-right: 0;
}
/* Round borders for left portlets and body content **/
#p-cactions ul li, #p-cactions ul li a {
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
}
#content {
-moz-border-radius-topleft: 10px;
-moz-border-radius-bottomleft: 10px;
}
div.pBody {
-moz-border-radius-topright: 10px;
-moz-border-radius-bottomright: 10px;
border-left: 0px solid white;
}
/* Emphasize edit and login link */
#ca-edit a,
#pt-login,
#pt-anonlogin {
font-weight: bold !important;
}
/* hiddenStructure, force for printing */
.hiddenStructure {
display: none;
}
/* butir portlet */
.portlet li {
list-style-image: url("http://upload.wikimedia.org/wikipedia/en/1/18/Monobook-bullet.png");
}
li.FA {
list-style-image: url("http://upload.wikimedia.org/wikipedia/en/d/d4/Monobook-bullet-star.png");
}
li#t-editcount, li#t-purge, li#t-contrib-ext, li#t-subpages, li#t-mindmap {
list-style-image: url("http://upload.wikimedia.org/wikipedia/commons/4/4a/Monobook-bullet-plus.png");
}
 
#siteNotice {
/* kotak masuk log dan buka akun baru */
margin-top: 5px;
div#userlogin, div#userloginForm { width: 70%; }
margin-bottom: -.5em;
/**
}
#mw-dismissable-notice {
background: transparent;
}
 
/* BEGIN LIGHT BLUE SECTION
== Warna latar untuk berbagai ruang nama ==
Make content area light blue in all namespaces except articles (main namespace).
*/
This is done by setting the background color for all #content areas
/* special & mediawiki: '''blue''' */
to light blue, and then overriding it back to white for any #content
enclosed in a .ns-0 (main namespace). We do the same for the "tab"
.ns--1 * #content, .ns--1 * #p-cactions li, .ns--1 * #p-cactions li a,
backgrounds and some other objects. */
.ns--1 * div#footer, .ns--1 * div.pBody,
 
.ns-8 * #content, .ns-8 * #p-cactions li, .ns-8 * #p-cactions li a,
div#content,
.ns-8 * div#footer, .ns-8 * div.pBody,
.ns-9 * #content, .ns-9 * #p-cactions li, .ns-9 * div#p-cactions li a:hover,
div#p-cactions li.selected a,
.ns-9 * div#footer, .ns-9 * div.pBody {
div#content div.thumb { /* "Margin" for thumbs, padding for galleries */
background: #F6F6FF;
background-color: #F8FCFF; /* Light blue */
}
}
div#p-cactions li a {
/* main: '''white''' */
background-color: #F7F9FB; /* Light blue-gray inactive tabs */
}
.ns-0 * #content, .ns-0 * #p-cactions li, .ns-0 * #p-cactions li a,
 
.ns-0 * div#footer, .ns-0 * div.pBody,
.ns-0 div#content,
.ns-1 * #content, .ns-1 * #p-cactions li, .ns-1 * #p-cactions li a,
.ns-1 *0 div#footerp-cactions li a:hover, .ns-1 *0 div#p-cactions li.pBodyselected a, {
.ns-0 div#content div.thumb {
background: #FFFFFF;
background-color: white; /* Set back to white for articles */
}
}
.ns-0 div#p-cactions li a {
/* user: '''standard, blue-green''' */
background-color: #FBFBFB; /* Light gray inactive tabs in articles */
}
.ns-2 * #content, .ns-2 * #p-cactions li, .ns-2 * #p-cactions li a,
 
.ns-2 * div#footer, .ns-2 * div.pBody,
@media print {
.ns-3 * #content, .ns-3 * #p-cactions li, .ns-3 * #p-cactions li a,
div#content {
.ns-3 * div#footer, .ns-3 * div.pBody {
background: #F8FCFFwhite;
} /* White background on print */
}
}
 
/* wikipedia: '''green''' */
/* END LIGHT BLUE SECTION */
 
.ns-4 * #content, .ns-4 * #p-cactions li, .ns-4 * #p-cactions li a,
/* Talk page tab "+" / "new section".
.ns-4 * div#footer, .ns-4 * div.pBody,
Sets the same padding as the other tabs have. */
.ns-5 * #content, .ns-5 * #p-cactions li, .ns-5 * #p-cactions li a,
div#p-cactions #ca-addsection a {
.ns-5 * div#footer, .ns-5 * div.pBody {
padding-left: .8em;
background: #F0FFF0;
padding-right: .8em;
}
}
 
/* help: '''pink!''' */
/* Make "From Wikipedia, the free encyclopedia" a bit smaller */
#siteSub {
.ns-12 * #content, .ns-12 * #p-cactions li, .ns-12 * #p-cactions li a,
font-size: 92%;
.ns-12 * div#footer, .ns-12 * div.pBody,
}
.ns-13 * #content, .ns-13 * #p-cactions li, .ns-13 * #p-cactions li a,
 
.ns-13 * div#footer, .ns-13 * div.pBody {
div#footer #lastmod,
background: #FFF9FB;
div#footer #copyright {
}
display: block;
}
/* image, category, template: '''yellow''' */
 
p.error {
.ns-6 * #content, .ns-6 * #p-cactions li, .ns-6 * #p-cactions li a,
font-weight: bold;
.ns-6 * div#footer, .ns-6 * div.pBody,
}
.ns-7 * #content, .ns-7 * #p-cactions li, .ns-7 * #p-cactions li a,
 
.ns-7 * div#footer, .ns-7 * div.pBody,
/* Remove default styles for [[MediaWiki:Noarticletext]]. */
.ns-10 * #content, .ns-10 * #p-cactions li, .ns-10 * #p-cactions li a,
div.noarticletext {
.ns-10 * div#footer, .ns-10 * div.pBody,
border: none;
.ns-11 * #content, .ns-11 * #p-cactions li, .ns-11 * #p-cactions li a,
background: transparent;
.ns-11 * div#footer, .ns-11 * div.pBody,
padding: 0;
.ns-14 * #content, .ns-14 * #p-cactions li, .ns-14 * #p-cactions li a,
}
.ns-14 * div#footer, .ns-14 * div.pBody,
 
.ns-15 * #content, .ns-15 * #p-cactions li, .ns-15 * #p-cactions li a,
/* Class styles */
.ns-15 * div#footer, .ns-15 * div.pBody {
 
background: #FFFFF6;
/* .toccolours added here because version in
}
monobook/main.css wasn't being used by the print style */
.toccolours {
/* portal: '''grey''' */
border: 1px solid #aaa;
background-color: #f9f9f9;
.ns-100 * #content, .ns-100 * #p-cactions li, .ns-100 * #p-cactions li a,
padding: 5px;
.ns-100 * div#footer, .ns-100 * div.pBody,
font-size: 95%;
.ns-101 * #content, .ns-101 * #p-cactions li, .ns-101 * #p-cactions li a,
}
.ns-101 * div#footer, .ns-101 * div.pBody {
 
background: #F6F6F6;
.thumbborder {
}
border: 1px solid lightgrey;
}
 
/* Don't underline links in portlets/specialchars even with pref "Underline links:Always" */
.portlet a,
#editpage-specialchars a {
text-decoration: none;
}
.portlet a:hover,
#editpage-specialchars a:hover {
text-decoration: underline;
}
 
/* Position coordinates */
#coordinates {
position: absolute;
z-index: 1;
border: none;
background: none;
right: 0;
top: 3.7em;
float: right;
margin: 0;
padding: 0;
padding-right: 30px;
line-height: 1.5em;
text-align: right;
text-indent: 0;
font-size: 85%;
text-transform: none;
white-space: nowrap;
}
/* Prep for moving coordinates into mw-indicator */
.mw-indicator #coordinates {
position: absolute;
right: 1em;
top: 3.7em;
text-align: right;
font-size: 85%;
white-space: nowrap;
padding: 0; /* override for #coordinates */
line-height: 1; /* override for #coordinates */
}
 
.ve-ce-surface #coordinates {
margin-top: -3em;
}
 
/* FR topicon position */
div.flaggedrevs_short {
position: absolute;
z-index: 10;
top: 10px;
right: 110px;
}
 
.ve-ce-surface #coordinates {
top: 0;
padding: 0;
}
 
/* Add bolding to ooui destructive buttons */
#mw-prefs-restoreprefs,
#wpConfirmB,
#mw-editform-cancel,
#oo-ui-flaggedElement-destructive,
.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive,
.oo-ui-buttonElement-framed.oo-ui-flaggedElement-destructive,
.oo-ui-buttonElement-framed.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button,
.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
font-weight: 700;
}
 
/* Responsive mboxes */
@media (max-width:550px) {
table.tmbox:not(.mbox-small):not(.mbox-small-left),
table.ambox:not(.mbox-small):not(.mbox-small-left),
table.imbox:not(.mbox-small):not(.mbox-small-left),
table.cmbox:not(.mbox-small):not(.mbox-small-left),
table.ombox:not(.mbox-small):not(.mbox-small-left) {
margin: 0; /* disables 10% margin */
}
.mbox-image img {
display: none;
}
/* Break long words when they cause overflow */
.mw-body {
overflow-wrap: break-word;
}
}
/* Kode untuk mengganti logo
.mw-wiki-logo {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/0/01/Wikipedia_Bahasa_Indonesia_-_Logo_20_Tahun.png/135px-Wikipedia_Bahasa_Indonesia_-_Logo_20_Tahun.png");
}
*/