MediaWiki:Monobook.css: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
k fix path, stupid
 
(33 revisi perantara oleh 7 pengguna tidak ditampilkan)
Baris 1:
/* Don't display some stuff on the main page */
/** '''Stylesheets for monobook skin only''' **/
body.page-Halaman_Utama #deleteconfirm,
body.page-Halaman_Utama #t-cite,
body.page-Halaman_Utama #lastmod,
body.action-view.page-Halaman_Utama #siteSub,
body.action-view.page-Halaman_Utama #contentSub,
body.action-view.page-Halaman_Utama h1.firstHeading {
display: none !important;
}
 
#siteNotice {
/* '''Imports'''
margin-top: 5px;
*
margin-bottom: -.5em;
* [[MediaWiki:StyleBackground.css|StyleBackground.css]]: background color
}
*/
#mw-dismissable-notice {
@import "/w/index.php?title=MediaWiki:StyleBackground.css&action=raw&ctype=text/css";
background: transparent;
}
 
/* BEGIN LIGHT BLUE SECTION
/**
Make content area light blue in all namespaces except articles (main namespace).
* '''Override default styles'''
This is done by setting the background color for all #content areas
*/
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"
/* [[MediaWiki:tagline]], display text below main article header */
backgrounds and some other objects. */
#siteSub {
 
display: inline;
div#content,
font-size: 90%;
div#p-cactions li a:hover,
font-weight: normal;
div#p-cactions li.selected a,
font-style: italic;
div#content div.thumb { /* "Margin" for thumbs, padding for galleries */
}
background-color: #F8FCFF; /* Light blue */
#bodyContent #siteSub a {
}
color: #000;
div#p-cactions li a {
text-decoration: none;
background-color: #F7F9FB; /* Light blue-gray inactive tabs */
background-color: transparent;
}
background-image: none;
 
padding-right: 0;
.ns-0 div#content,
}
.ns-0 div#p-cactions li a:hover, .ns-0 div#p-cactions li.selected a,
.ns-0 div#content div.thumb {
/* Round borders for left portlets and body content **/
background-color: white; /* Set back to white for articles */
}
#p-cactions ul li, #p-cactions ul li a {
.ns-0 div#p-cactions li a {
-moz-border-radius-topleft: 5px;
background-color: #FBFBFB; /* Light gray inactive tabs in articles */
-moz-border-radius-topright: 5px;
}
 
#content {
@media print {
-moz-border-radius-topleft: 10px;
div#content {
-moz-border-radius-bottomleft: 10px;
background: white;
}
} /* White background on print */
div.pBody {
}
-moz-border-radius-topright: 10px;
 
-moz-border-radius-bottomright: 10px;
/* END LIGHT BLUE SECTION */
border-left: 0px solid white;
 
}
/* Talk page tab "+" / "new section".
Sets the same padding as the other tabs have. */
/* Emphasize edit and login link */
div#p-cactions #ca-addsection a {
#ca-edit a,
padding-left: .8em;
#pt-login,
padding-right: .8em;
#pt-anonlogin {
}
font-weight: bold !important;
 
}
/* Make "From Wikipedia, the free encyclopedia" a bit smaller */
#siteSub {
/* hiddenStructure, force for printing */
font-size: 92%;
.hiddenStructure {
}
display: none;
 
}
div#footer #lastmod,
div#footer #copyright {
display: block;
}
 
p.error {
font-weight: bold;
}
 
/* Remove default styles for [[MediaWiki:Noarticletext]]. */
div.noarticletext {
border: none;
background: transparent;
padding: 0;
}
 
/* Class styles */
 
/* .toccolours added here because version in
monobook/main.css wasn't being used by the print style */
.toccolours {
border: 1px solid #aaa;
background-color: #f9f9f9;
padding: 5px;
font-size: 95%;
}
 
.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");
}
*/