MediaWiki:Common.css: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Matma Rex (bicara | kontrib)
Fixing the labels of collapsible forms, e.g. on history pages (phab:T250244)
fix phab:T43869, blockquote, dll.; coba perbarui beberapa kode css, diimpor dari enwiki
Baris 1:
/* Reset italic styling set by user agent */
/* CSS yang berada di sini akan diterapkan untuk semua kulit
cite,
__TOC__
dfn {
== Dasar ==
font-style: inherit;
*/
}
 
/* Straight quote marks for <q> */
/* [[MediaWiki:Sitenotice]] */
q {
#siteNotice {
quotes: '"' '"' "'" "'";
margin-top:5px;
padding-left: 4px;
font-style: italic;
text-align: center;
}
/**
* Don't display some stuff on the main page
*/
.page-Halaman_Utama #deleteconfirm,
.page-Halaman_Utama #t-cite,
.page-Halaman_Utama #footer-info-lastmod,
.action-view.page-Halaman_Utama #siteSub,
.action-view.page-Halaman_Utama #contentSub,
.action-view.page-Halaman_Utama #firstHeading {
display: none !important;
}
/* Redirects on [[Special:Allpages]] */
.allpagesredirect {
font-style: italic;
}
/* Image background for thumbnails, originally: #ccc */
div.thumb div a img {
background-color:#ffffff;
}
/* All tables: transparent, originally: white */
table { background: transparent; }
 
/* Avoid collision of blockquote with floating elements by swapping margin and padding */
/* Remove bullets when there are multiple edit page warnings */
blockquote {
ul.permissions-errors > li {
overflow: hidden;
list-style: none none;
margin: 1em 0;
padding: 0 40px;
}
 
ul.permissions-errors {
/* Consistent size for <small>, <sub> and <sup> */
margin: 0;
small {
font-size: 85%;
}
 
.mw-body-content sub,
/* Table of contents: redefine for printing */
.mw-body-content sup,
.toccolours {
span.reference /* for Parsoid */ {
border:1px solid #aaaaaa;
font-size: 80%;
background-color:#f9f9f9;
}
padding:5px;
font-size: 95%;
}
 
/* Same spacing for indented and unindented paragraphs on talk pages */
/* Make the list of references smaller */
.ns-talk .mw-body-content dd {
/* Keep in sync with Template:Refbegin/styles.css */
margin-top: 0.4em;
ol.references,
margin-bottom: 0.4em;
div.reflist {
font-size: 90%; /* Default font-size */
margin-bottom: 0.5em;
}
 
div.reflist ol.references {
/* Main page fixes */
font-size: 100%; /* Reset font-size when nested in div.reflist */
#interwiki-completelist {
margin-bottom: 0; /* Avoid double margin when nested in div.reflist */
font-weight: bold;
list-style-type: inherit; /* Enable custom list style types */
}
 
/* Reduce page jumps by hiding collapsed/dismissed content */
/* Change the external link icon to an Adobe icon for all PDF files */
.client-js .mw-special-Watchlist #watchlist-message,
.mw-parser-output a[href$=".pdf"].external,
.client-js .NavFrame.collapsed .NavContent,
.mw-parser-output a[href*=".pdf?"].external,
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child) {
.mw-parser-output a[href*=".pdf#"].external,
display: none;
.mw-parser-output a[href$=".PDF"].external,
.mw-parser-output a[href*=".PDF?"].external,
.mw-parser-output a[href*=".PDF#"].external {
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
/* @noflip */
padding-right: 18px;
}
 
/* Adds padding above Watchlist announcements where new recentchanges/watchlist filters are enabled */
/* Beri warna untuk jumlah bita pada [[Istimewa:Perubahanterbaru]] */
.mw-rcfilters-enabled .mw-specialpage-summary {
margin-top: 1em;
.mw-plusminus-neg { color:#FF2050; }
}
.mw-plusminus-pos { color:#00B000; }
 
/* NormalHide fontcharinsert stylingbase for wikitablethose rownot headersusing withthe scope="row" taggadget */
#editpage-specialchars {
.wikitable.plainrowheaders th[scope=row] {
display: none;
font-weight: normal;
/* @noflip */
text-align: left;
}
 
/* Highlight linked elements (such as clicked references) in blue */
/* Lists in wikitable data cells are always left-aligned */
body.action-info .mw-body-content :target,
.wikitable td ul,
.citation:target {
.wikitable td ol,
background-color: rgba(0, 127, 255, 0.133);
.wikitable td dl {
/* @noflip */
text-align: left;
}
 
/* ...unless they also use the hlist class */
/* Styling for citations. Breaks long urls, etc., rather than overflowing box */
.toc.hlist ul,
.citation {
#toc.hlist ul,
word-wrap: break-word;
.wikitable.hlist td ul,
.wikitable.hlist td ol,
.wikitable.hlist td dl {
text-align: inherit;
}
 
/* Make the list of references smaller
/* Digunakan oleh Templat:Tabel */
* Keep in sync with Template:Refbegin/styles.css
/* TODO: Hapus Templat:Tabel, tidak ada yang pakai */
* And Template:Reflist/styles.css
div.kolom-2 div.column {
*/
float: left;
ol.references {
width: 50%;
font-size: 90%;
min-width: 300px;
margin-bottom: 0.5em;
}
}
div.kolom-3 div.column {
float: left;
width: 33.3%;
min-width: 200px;
}
div.kolom-4 div.column {
float: left;
width: 25%;
min-width: 150px;
}
div.kolom-5 div.column {
float: left;
width: 20%;
min-width: 120px;
}
 
/**
== Kotak navigasi ==
*/
/* Style for horizontal lists (separator following item).
@source mediawiki.org/wiki/Snippets/Horizontal_lists
@revision 8 (2016-05-21)
@author [[User:Edokter]]
Per enwiki's [[MediaWiki:Common.css]], 2019-07-22
*/
.hlist dl,
Baris 145 ⟶ 87:
padding: 0;
}
 
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
margin: 0; /* don't trust the note that says margin doesn't work with inline
margin: 0;
* removing margin: 0 makes dds have margins again */
display: inline;
}
 
/* Display nested lists inline */
.hlist.inline,
Baris 157 ⟶ 102:
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl,
.hlist dl ol,
.hlist dl ul,
.hlist ol dl,
.hlist ol ol,
.hlist ol ul,
.hlist ul dl,
.hlist ul ol,
.hlist ul ul {
display: inline;
}
 
/* Hide empty list items */
.hlist .mw-empty-li {
display: none;
}
 
/* Generate interpuncts */
.hlist dt:after {
content: ": ";
}
 
/**
* Note hlist style usage differddiffers in Minerva and is defined in core as well!
* the Minerva skin. Remember .hlist is a class defined in core as well! Please check Minerva desktop (and Minerva.css) when changing
* See https://phabricator.wikimedia.org/T213239
*/
Baris 180 ⟶ 134:
font-weight: bold;
}
 
.hlist dd:last-child:after,
.hlist dt:last-child:after,
Baris 185 ⟶ 140:
content: none;
}
 
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before,
.hlist dd dt:first-child:before,
.hlist dd li:first-child:before,
.hlist dt dd:first-child:before,
.hlist dt dt:first-child:before,
.hlist dt li:first-child:before,
.hlist li dd:first-child:before,
.hlist li dt:first-child:before,
.hlist li li:first-child:before {
content: " (";
font-weight: normal;
}
 
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dtdd dd:last-child:after,
.hlist dtdd dt:last-child:after,
.hlist dtdd li:last-child:after,
.hlist lidt dd:last-child:after,
.hlist lidt dt:last-child:after,
.hlist lidt li:last-child:after {,
.hlist li dd:last-child:after,
.hlist li dt:last-child:after,
.hlist li li:last-child:after {
content: ")";
font-weight: normal;
}
 
/* Put ordinals in front of ordered list items */
.hlist ol {
counter-reset: listitem;
}
 
.hlist ol > li {
counter-increment: listitem;
}
 
.hlist ol > li:before {
content: " " counter(listitem) "\a0";
}
 
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
content: " (" counter(listitem) "\a0";
}t
 
/* Unbulleted lists */
Baris 221 ⟶ 194:
margin: 0;
}
 
.plainlist ol li,
.plainlist ul li {
Baris 237 ⟶ 211:
margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
}
 
.navbox .navbox {
margin-top: 0; /* No top margin for nested navboxes */
}
 
.navbox + .navbox {
margin-top: -1px; /* Single pixel border between adjacent navboxes */
}
 
.navbox-inner,
.navbox-subgroup {
width: 100%;
}
 
.navbox-group,
.navbox-title,
Baris 254 ⟶ 232:
text-align: center;
}
 
th.navbox-group { /* Group style */
white-space: nowrap;
Baris 259 ⟶ 238:
text-align: right;
}
 
.navbox,
.navbox-subgroup {
background-color: #fdfdfd; /* Background color */
}
 
.navbox-list {
line-height: 1.5em;
border-color: #fdfdfd; /* Must match background color */
}
 
/* cell spacing for navbox cells */
tr + tr > .navbox-abovebelow,
Baris 274 ⟶ 256:
border-top: 2px solid #fdfdfd; /* Must match background color */
}
 
.navbox th,
.navbox-title {
background-color: #ccccff; /* Level 1 color */
}
 
.navbox-abovebelow,
th.navbox-group,
Baris 283 ⟶ 267:
background-color: #ddddff; /* Level 2 color */
}
 
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background-color: #e6e6ff; /* Level 3 color */
}
 
.navbox-even {
background-color: #f7f7f7; /* Even row striping */
}
 
.navbox-odd {
background-color: transparent; /* Odd row striping */
}
 
.navbox .hlist td dl,
.navbox .hlist td ol,
Baris 302 ⟶ 290:
}
 
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
/* Default styling for Navbar template */
.mw-parser-output .mw-collapsible-toggle {
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
/* @noflip */
text-align: right;
padding-right: 0.2em;
padding-left: 0.2em;
}
 
.navbar ul {
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
display: inline;
white-space: nowrap;
}
.mw-body-content .navbar ul {
line-height: inherit;
}
.navbar li {
word-spacing: -0.125em;
}
.navbar.mini li abbr[title] {
font-variant: small-caps;
border-bottom: none;
text-decoration: none;
cursor: inherit;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
font-size: 100%;
}
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
}
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
/* @noflip */
float: right;
font-weight: normal;
/* @noflip */
margin-left: 0.5em;
/* @noflip */
text-align: right;
width: auto;
}
/* In navboxes, the show/hide button balances the v·d·e links
from [[Template:Navbar]], so they need to be the same width. */
.navbox .collapseButton {
width: 6em;
}
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-parser-output .mw-collapsible-toggle {
font-weight: normal;
/* @noflip */
text-align: right;
}
.navbox .mw-collapsible-toggle {
width: 6em;
}
 
/**
== Messagebox dan infobox ==
*/
 
/* Berbagai ''style'' "messagebox" */
.messagebox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
width: 80%;
margin: 0 auto 1em auto;
padding: .2em;
text-align: justify;
}
.messagebox.merge {
border: 1px solid #cf9fff;
background-color: #f5edf5;
text-align: center;
}
.messagebox.cleanup {
border: 1px solid #9f9fff;
background-color: #efefff;
text-align: center;
}
.messagebox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
}
 
/* Infobox template style */
Baris 412 ⟶ 321:
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
 
/* not strictly certain these styles are necessary
* just replicating the module faithfully
*/
.infobox-subbox {
padding: 0;
border: none;
margin: -3px;
width: auto;
min-width: 100%;
font-size: 100%;
clear: none;
float: none;
background-color: transparent;
}
 
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element declaration when both a) infobox3cols is migrated and
* b) when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
vertical-align: top;
}
 
.infobox-label,
.infobox-data,
/* Remove element declaration when both a) infobox3cols is migrated and
* b) when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
/* @noflip */
text-align: left;
}
 
/* remove .infobox when th, td above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element declaration when both a) infobox3cols is migrated and
* b) when every .infobox thing is using the standard module/templates */
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
 
.infobox-title,
/* Remove element declaration when both a) infobox3cols is migrated and
* b) when every .infobox thing is using the standard module/templates */
.infobox caption {
padding: 0.2em;
}
 
/* remove .infobox when th, td above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
 
.infobox td,
/* remove .infobox when th, td above are removed {*/
.infobox .infobox-navbar {
vertical-align: top;
/* @noflip */
text-align: leftright;
}
 
.infobox.bordered {
border-collapse: collapse;
}
 
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #a2a9b1;
}
 
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
Baris 437 ⟶ 414:
}
 
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
 
.infobox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
border: 1px solid #c0c090;
}
/* styles for bordered infobox with merged rows */
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #aaaa2a9b1;
/* @noflip */
border-right: 1px solid #aaa;
border-right: 1px solid #a2a9b1;
}
 
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border: 0;
/* @noflip */
border-right: 1px solid #aaa;
border-right: 1px solid #a2a9b1;
}
 
/* Styles for geography infoboxes, eg countries,
country subdivisions, cities, etc. */
.infobox.geography {
border-collapse: collapse;
/* @noflip */
line-height: 1.2em;
text-align: left;
font-size: 90%;
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
}
 
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.geography td,
.infobox.geography th {
border-top: 1px solid #aaaa2a9b1;
padding: 0.4em 0.6em 0.4em 0.6em;
}
 
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
border-top: 1px solid #aaaa2a9b1;
padding: 0.4em 0.6em 0.2em 0.6em;
}
 
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
 
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
border-top: 0;
border-bottom: 1px solid #aaaa2a9b1;
padding: 0 0.6em 0.4em 0.6em;
}
 
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.geography .maptable td,
.infobox.geography .maptable th {
border: 0;
padding: 0;
}
 
/* Normal font styling for wikitable row headers with scope="row" tag */
/* Standard Navigationsleisten, aka box hiding thingy
.wikitable.plainrowheaders th[scope=row] {
from .de. Documentation at [[Wikipedia:NavFrame]]. */
font-weight: normal;
div.NavFrame {
/* @noflip */
margin: 0;
text-align: left;
padding: 4px;
border: 1px solid #aaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
 
div.NavFrame + div.NavFrame {
/* Lists in wikitable data cells are always left-aligned */
border-top-style: none;
.wikitable td ul,
border-top-style: hidden;
.wikitable td ol,
.wikitable td dl {
/* @noflip */
text-align: left;
}
 
div.NavPic {
/* ...unless they also use the hlist class */
background-color: #fff;
.toc.hlist ul,
margin: 0;
#toc.hlist ul,
padding: 2px;
.wikitable.hlist td ul,
/* @noflip */
.wikitable.hlist td ol,
float: left;
.wikitable.hlist td dl {
text-align: inherit;
}
 
div.NavFrame div.NavHead {
/* Fix for hieroglyphs specificity issue in infoboxes ([[phab:T43869]]) */
height: 1.6em;
table.mw-hiero-table td {
font-weight: bold;
vertical-align: middle;
background-color: #ccf;
position: relative;
}
 
div.NavFrame p,
/* Change the external link icon to an Adobe icon for all PDF files */
div.NavFrame div.NavContent,
.mw-parser-output a[href$=".pdf"].external,
div.NavFrame div.NavContent p {
.mw-parser-output a[href*=".pdf?"].external,
font-size: 100%;
.mw-parser-output a[href*=".pdf#"].external,
.mw-parser-output a[href$=".PDF"].external,
.mw-parser-output a[href*=".PDF?"].external,
.mw-parser-output a[href*=".PDF#"].external {
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
/* @noflip */
padding-right: 18px;
}
 
div.NavEnd {
/* Messagebox templates */
margin: 0;
.messagebox {
padding: 0;
border: 1px solid #a2a9b1;
line-height: 1px;
background-color: #f8f9fa;
clear: both;
width: 80%;
margin: 0 auto 1em auto;
padding: .2em;
}
a.NavToggle {
 
.messagebox.merge {
position: absolute;
border: 1px solid #c0b8cc;
top: 0;
background-color: #f0e5ff;
/* @noflip */
text-align: center;
right: 3px;
font-weight: normal;
font-size: 90%;
}
 
.messagebox.cleanup {
/* Hatnotes and disambiguation notices */
border: 1px solid #9f9fff;
.hatnote {
background-color: #efefff;
font-style: italic;
text-align: center;
}
.hatnote i {
font-style: normal;
}
div.hatnote {
/* @noflip */
padding-left: 1.6em;
margin-bottom: 0.5em;
}
div.hatnote + div.hatnote {
margin-top: -0.5em;
}
 
.messagebox.standard-talk {
/**
border: 1px solid #c0c090;
== Referensi ==
background-color: #f8eaba;
*/
margin: 4px auto;
/* Make the list of references smaller */
ol.references,
div.reflist,
div.refbegin {
font-size: 90%; /* Default font-size */
margin-bottom: 0.5em;
}
div.refbegin-100 {
font-size: 100%; /* Option for normal fontsize in {{refbegin}} */
}
div.reflist ol.references {
font-size: 100%; /* Reset font-size when nested in div.reflist */
list-style-type: inherit; /* Enable custom list style types */
}
/* Highlight linked elements (such as clicked references) in blue */
body.action-info .mw-body-content :target,
.citation:target {
background-color: #DEF; /* Fallback */
background-color: rgba(0, 127, 255, 0.133);
}
/* Ensure refs in table headers and the like aren't bold or italic */
sup.reference {
font-weight: normal;
font-style: normal;
}
/* Allow hidden ref errors to be shown by user CSS */
span.brokenref {
display: none;
}
/* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */
.citation {
word-wrap: break-word;
}
/* Default styling for titles of works, styling for the title of an article
within a periodical, or a contribution within a compilation. */
cite,
.citation cite.article,
.citation cite.contribution {
font-style: inherit;
}
/* Styling for the title of any work within a citation,
or specifically the title of a periodical. */
.citation cite,
.citation cite.periodical {
font-style: italic;
}
/* For linked citation numbers and document IDs, where
the number need not be shown on a screen or a handheld,
but should be included in the printed version */
@media screen, handheld {
.citation *.printonly {
display: none;
}
}
 
/* For old WikiProject banners inside banner shells. */
/**
.mbox-inside .standard-talk {
 
border: 1px solid #c0c090;
== Lain-lain ==
background-color: #f8eaba;
width: 100%;
CSS untuk berbagai jenis style */
margin: 2px 0;
 
padding: 2px;
#p-cactions #ca-edittop a {
padding-left: .4em;
padding-right: .4em;
}
 
/* [[Template:Disambig]] */
#disambigbox {
clear: both;
margin: 0.9em 1em;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
background: transparent;
}
 
/** [[Wikipedia:Kotak pengguna]] **/
.userboxdark a,
.userboxdark a:visited,
.userboxdark a:active {
color: #ccc;
}
 
/*
== Daftar isi ==
 
''Style'' untuk variasi daftar isi:
 
* '''horizontal''': daftar isi horizontal. Contoh penggunaan: <code><nowiki><div class="horizontal">__TOC__</div></nowiki></code>.
* '''nonumtoc''': tanpa nomor. Contoh penggunaan: <code><nowiki><div class="notocnum">__TOC__</div></nowiki></code>.
* '''toclimit-x''': membatasi tampilan hanya sampai level ke-x. Contoh penggunaan: <code><nowiki><div class="toclimit-3">__TOC__</div></nowiki></code>, judul subbagian tingkat 1 (tag h2), tingkat 2 (tag h3) tidak ditampilkan.
*/
.horizontal ul {
padding: 0;
margin: 0;
}
.horizontal li {
padding: 0 0.6em 0 0.4em;
display: inline;
border-right: 1px solid;
}
.horizontal li:last-child {
border-right: none;
}
.noautonum .tocnumber { display: none; }
 
.nonumtoc .tocnumber { display:none; }
 
.nonumtoc #toc ul, .nonumtoc .toc ul {
line-height: 1.5em;
list-style: none;
margin: .3em 0 0;
padding: 0;
}
.nonumtoc #toc ul ul, .nonumtoc .toc ul ul {
margin: 0 0 0 2em;
}
.toclimit-2 .toclevel-2 {display:none;}
.toclimit-3 .toclevel-3 {display:none;}
.toclimit-4 .toclevel-4 {display:none;}
.toclimit-5 .toclevel-5 {display:none;}
.toclimit-6 .toclevel-6 {display:none;}
.toclimit-7 .toclevel-7 {display:none;}
 
/* Style for "notices" */
.notice {
text-align: justify;
margin: 1em 0.5em;
padding: 0.5em;
}
 
/* Geographical coordinates defaults.
See [[Template:Coord/link]] for how these are used.
The classes "geo", "longitude", and "latitude" are used by
the [[Geo microformat]], so the names should not be changed. */
.geo-default, .geo-dms, .geo-dec { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude { white-space: nowrap; }
 
/* Tautan lebih lanjut dan catatan disambiguasi */
.rellink,
.dablink {
font-style: italic;
padding-left: 2em;
margin-bottom: 0.5em;
}
.rellink i,
.dablink i {
font-style: normal;
}
 
.messagebox.small {
 
width: 238px;
/* Prevent line breaks in silly places:
font-size: 85%;
1) Where desired
/* @noflip */
2) Links when we don't want them to
float: right;
3) Bold "links" to the page itself */
clear: both;
.nowrap,
/* @noflip */
.nowraplinks a,
margin: 0 0 1em 1em;
.nowraplinks .selflink {
whiteline-spaceheight: nowrap1.25em;
}
.nowrap pre {
white-space: pre;
}
/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
white-space: normal;
}
 
.messagebox.small-talk {
 
width: 238px;
/* Generic class for Times-based serif, texhtml class for inline math */
font-size: 85%;
.times-serif,
/* @noflip */
span.texhtml {
float: right;
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
font-sizeclear: 118%both;
/* @noflip */
line-height: 1;
margin: 0 0 1em 1em;
}
line-height: 1.25em;
span.texhtml {
background-color: #f8eaba;
white-space: nowrap;
}
span.texhtml span.texhtml {
font-size: 100%;
}
span.mwe-math-mathml-inline {
font-size: 118%;
}
 
Baris 773 ⟶ 583:
width: 100%; /* Make all mboxes the same width regardless of text length */
}
 
td.mbox-image { /* The left image cell */
border: none;
Baris 779 ⟶ 590:
text-align: center;
}
 
td.mbox-imageright { /* The right image cell */
border: none;
Baris 785 ⟶ 597:
text-align: center;
}
 
td.mbox-empty-cell { /* An empty narrow cell */
border: none;
Baris 800 ⟶ 613:
box-sizing: border-box;
}
 
table.ambox + table.ambox { /* Single border between stacked boxes. */
margin-top: -1px;
}
 
.ambox th.mbox-text,
.ambox td.mbox-text { /* The message body cell(s) */
padding: 0.25em 0.5em; /* 0.5em left/right */
}
 
.ambox td.mbox-image { /* The left image cell */
/* @noflip */
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
}
 
.ambox td.mbox-imageright { /* The right image cell */
/* @noflip */
Baris 820 ⟶ 637:
border-left: 10px solid #36c; /* Blue */
}
 
table.ambox-speedy {
/* @noflip */
Baris 825 ⟶ 643:
background-color: #fee7e6; /* Pink */
}
 
table.ambox-delete {
/* @noflip */
border-left: 10px solid #b32424; /* Red */
}
 
table.ambox-content {
/* @noflip */
border-left: 10px solid #f28500; /* Orange */
}
 
table.ambox-style {
/* @noflip */
border-left: 10px solid #fc3; /* Yellow */
}
 
table.ambox-move {
/* @noflip */
border-left: 10px solid #9932cc; /* Purple */
}
 
table.ambox-protection {
/* @noflip */
Baris 854 ⟶ 677:
box-sizing: border-box;
}
 
.imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */
margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */
display: block; /* Fix for webkit to force 100% width. */
}
 
.mbox-inside .imbox { /* For imboxes inside other templates. */
margin: 4px;
Baris 865 ⟶ 690:
border: 3px solid #36c; /* Blue */
}
 
table.imbox-speedy {
border: 3px solid #b32424; /* Red */
background-color: #fee7e6; /* Pink */
}
 
table.imbox-delete {
border: 3px solid #b32424; /* Red */
}
 
table.imbox-content {
border: 3px solid #f28500; /* Orange */
}
 
table.imbox-style {
border: 3px solid #fc3; /* Yellow */
}
 
table.imbox-move {
border: 3px solid #9932cc; /* Purple */
}
 
table.imbox-protection {
border: 3px solid #a2a9b1; /* Gray-gold */
}
 
table.imbox-license {
border: 3px solid #88a; /* Dark gray */
background-color: #f7f8ff; /* Light gray */
}
 
table.imbox-featured {
border: 3px solid #cba135; /* Brown-gold */
Baris 904 ⟶ 737:
background-color: #d8e8ff; /* Blue */
}
 
table.cmbox-speedy {
margin-top: 4px;
Baris 910 ⟶ 744:
background-color: #ffdbdb; /* Pink */
}
 
table.cmbox-delete {
background-color: #ffdbdb; /* Pink */
}
 
table.cmbox-content {
background-color: #ffe7ce; /* Orange */
}
 
table.cmbox-style {
background-color: #fff9db; /* Yellow */
}
 
table.cmbox-move {
background-color: #e4d8ff; /* Purple */
}
 
table.cmbox-protection {
background-color: #efefe1; /* Gray-gold */
Baris 938 ⟶ 777:
border: 1px solid #a2a9b1; /* Gray */
}
 
table.ombox-speedy {
border: 2px solid #b32424; /* Red */
background-color: #fee7e6; /* Pink */
}
 
table.ombox-delete {
border: 2px solid #b32424; /* Red */
}
 
table.ombox-content {
border: 1px solid #f28500; /* Orange */
}
 
table.ombox-style {
border: 1px solid #fc3; /* Yellow */
}
 
table.ombox-move {
border: 1px solid #9932cc; /* Purple */
}
 
table.ombox-protection {
border: 2px solid #a2a9b1; /* Gray-gold */
Baris 967 ⟶ 812:
box-sizing: border-box;
}
 
.tmbox.mbox-small {
min-width: 0; /* reset the min-width of tmbox above */
}
 
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
margin: 2px 0; /* this declaration overrides other styles (including mbox-small above) */
width: 100%; /* For Safari and Opera */
}
 
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */
line-height: 1.5em; /* also "nested", so reset styles that are */
Baris 983 ⟶ 831:
background-color: #fee7e6; /* Pink */
}
 
table.tmbox-delete {
border: 2px solid #b32424; /* Red */
}
 
table.tmbox-content {
border: 2px solid #f28500; /* Orange */
}
 
table.tmbox-style {
border: 2px solid #fc3; /* Yellow */
}
 
table.tmbox-move {
border: 2px solid #9932cc; /* Purple */
}
 
table.tmbox-protection,
table.tmbox-notice {
border: 1px solid #c0c090; /* Gray-brown */
}
 
/* Disambig and set index box styles */
table.dmbox {
clear: both;
margin: 0.9em 1em;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
background: transparent;
}
 
Baris 1.018 ⟶ 862:
box-sizing: border-box;
}
 
table.fmbox-system {
background-color: #f8f9fa;
}
 
table.fmbox-warning {
border: 1px solid #bb7070; /* Dark pink */
background-color: #ffdbdb; /* Pink */
}
 
table.fmbox-editnotice {
background-color: transparent;
}
 
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
Baris 1.042 ⟶ 890:
box-sizing: border-box;
}
 
/* Use default color for partial block fmbox banner per [[Special:PermaLink/1028105567#pblock-style]] */
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt {border-color:#fc3;background-color:#fef6e7;}
 
/* These mbox-small classes must be placed after all other
Baris 1.058 ⟶ 909:
line-height: 1.25em;
}
 
html body.mediawiki .mbox-small-left { /* For the "small=left" option. */
/* @noflip */
Baris 1.076 ⟶ 928:
display: none;
}
 
/* Remove borders, backgrounds, padding, etc. */
.compact-ambox table.ambox {
Baris 1.086 ⟶ 939:
display: block;
}
 
body.mediawiki .compact-ambox table.mbox-small-left {
font-size: 100%;
Baris 1.091 ⟶ 945:
margin: 0;
}
 
/* Style the text cell as a list item and remove its padding */
.compact-ambox table .mbox-text {
Baris 1.096 ⟶ 951:
margin: 0 !important;
}
 
.compact-ambox table .mbox-text-span {
display: list-item;
Baris 1.102 ⟶ 958:
list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg);
}
 
.skin-vector .compact-ambox table .mbox-text-span {
list-style-type: disc;
list-style-image: url(/w/skins/Vector/images/bullet-icon.svg);
}
/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
Baris 1.111 ⟶ 964:
}
 
/* Remove underlines from certain links */
/* Styling for citations */
.nounderlines a,
span.citation, cite {
.IPA a:link,
font-style: normal;
.IPA a:visited {
word-wrap: break-word;
text-decoration: none !important;
}
 
/* [[Wikipedia:NavFrame]].
/* For linked citation numbers and document IDs, where
Entirely deprecated. Slated for removal.
the number need not be shown on a screen or a handheld,
Use mw-collapsible. */
but should be included in the printed version
div.NavFrame {
*/
padding: 4px;
@media screen, handheld {
border: 1px solid #a2a9b1;
span.citation *.printonly {
text-align: center;
display: none;
font-size: 95%;
}
}
 
div.NavFrame + div.NavFrame {
/* Consistent size for <small>, <sub> and <sup> */
border-top-style: none;
small {
border-top-style: hidden;
font-size: 85%;
}
 
.mw-body-content sub,
div.NavFrame div.NavHead {
.mw-body-content sup,
line-height: 1.6em;
span.reference /* for Parsoid */ {
font-sizeweight: 80%bold;
background-color: #ccf;
position: relative;
}
 
div.NavFrame p,
/* Styling for Template:Quote
div.NavFrame div.NavContent,
TODO: MOVE!
div.NavFrame div.NavContent p {
*/
font-size: 100%;
blockquote.templatequote div.templatequotecite {
}
line-height: 1.5em;
 
a.NavToggle {
position: absolute;
top: 0;
/* @noflip */
text-alignright: left3px;
font-weight: normal;
font-size: 90%;
}
 
/* Hatnotes and disambiguation notices */
.hatnote {
font-style: italic;
}
 
.hatnote i {
font-style: normal;
}
 
div.hatnote {
/* @noflip */
padding-left: 1.6em;
margin-topbottom: 0.5em;
}
 
div.hatnote + div.hatnote {
/* Kode untuk modifikasi logo
margin-top: -0.5em;
#p-logo a {
background: url(//upload.wikimedia.org/wikipedia/id/f/f3/Wikipedia-logo-v2-id.png) 35% 50% no-repeat !important;
}
*/
 
/* Prevent line breaks in silly places where desired (nowrap)
/* Untuk halaman utama versi Mei 2015 https://wiki-indonesia.club/w/index.php?title=Halaman_Utama&diff=9362874&oldid=9342682. Dari Wikipedia bahasa Portugis */
and links when we don't want them to (nowraplinks a) */
.logoWikipedia {
.nowrap,
background: url("//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png");
.nowraplinks a {
white-space: nowrap;
}
 
/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
white-space: normal;
}
 
/* Increase the height of the image upload box */
/* Hide charinsert base for those not using the gadget - 20151104 benny */
#wpUploadDescription {
#editpage-specialchars {
height: 13em;
display: none;
}
 
/* Minimum thumb width */
/* Hide "edit description" button in [[Wikipedia:Warung Kopi (Bantuan)]]*/
.thumbinner {
.page-Wikipedia_Warung_Kopi_Bantuan .flow-ui-boardDescriptionWidget-editButton {
min-width: 100px;
}
 
/* Prevent floating boxes from overlapping any category listings,
file histories, edit previews, and edit [Show changes] views. */
#mw-subcategories,
#mw-pages,
#mw-category-media,
#filehistory,
#wikiPreview,
#wikiDiff {
clear: both;
}
 
/* Selectively hide headers in WikiProject banners */
/* TemplateStyles */
.wpb .wpb-header {
display: none;
}
 
.wpbs-inner .wpb .wpb-header {
display: table-row;
}
 
.wpbs-inner .wpb-outside {
display: none; /* hide things that should only display outside shells */
}
 
/* Styling for Abuse Filter tags */
.mw-tag-markers {
font-style: italic;
font-size: 90%;
}
 
/* Hide stuff meant for accounts with special permissions. Made visible again in
[[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-patroller.css]],
[[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],
[[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */
.checkuser-show,
.sysop-show,
.autoconfirmed-show,
.user-show {
display: none;
}
 
/* Hide the redlink generated by {{Editnotice}},
this overrides the ".sysop-show { display: none; }" above that applies
to the same link as well. See [[phab:T45013]]
 
Hide the images in editnotices to keep them readable in VE view.
Long term, editnotices should become a core feature so that they can be designed responsive. */
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
.ve-ui-mwNoticesPopupTool-item .mbox-image,
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
display: none !important;
}
 
/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors > li {
list-style: none none;
}
 
ul.permissions-errors {
margin: 0;
}
 
/* texhtml class for inline math (based on generic times-serif class) */
span.texhtml {
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
font-size: 118%;
line-height: 1;
white-space: nowrap;
/* Force tabular and lining display for texhtml */
-moz-font-feature-settings: "lnum", "tnum", "kern" 0;
-webkit-font-feature-settings: "lnum", "tnum", "kern" 0;
font-feature-settings: "lnum", "tnum", "kern" 0;
font-variant-numeric: lining-nums tabular-nums;
font-kerning: none;
}
 
span.texhtml span.texhtml {
font-size: 100%;
}
 
span.mwe-math-mathml-inline {
font-size: 118%;
}
 
/* Make <math display="block"> be left aligned with one space indent for
* compatibility with style conventions
*/
.mwe-math-fallback-image-display,
.mwe-math-mathml-display {
margin-left: 1.6em !important;
margin-top: 0.6em;
margin-bottom: 0.6em;
}
 
.mwe-math-mathml-display math {
display: inline;
}
 
/* Work-around for [[phab:T25965]] / [[phab:T100106]] (Kaltura advertisement) */
.k-player .k-attribution {
visibility: hidden;
}
 
/* Move 'play' button of video player to bottom left corner */
/* Display "From Wikipedia, the free encyclopedia" in skins that support it, do not apply to print mode */
.PopUpMediaTransform a .play-btn-large {
margin: 0;
top: auto;
right: auto;
bottom: 0;
left: 0;
}
 
/* Force imgs in galleries to have borders by wrapping them in class=bordered-images */
.bordered-images img {
border: solid #ddd 1px;
}
 
@media screen {
/* Gallery styles background changes are restricted to screen view.
In printing we should avoid applying backgrounds. */
/* The backgrounds for galleries. */
#content .gallerybox div.thumb {
/* Light gray padding */
background-color: #f8f9fa;
}
/* Put a chequered background behind images, only visible if they have transparency.
'.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
.gallerybox .thumb img {
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}
/* But not on articles, user pages, portals or with opt-out. */
.ns-0 .gallerybox .thumb img,
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img,
.nochecker .gallerybox .thumb img {
background-image: none;
}
 
/* Display "From Wikipedia, the free encyclopedia" in skins that support it,
do not apply to print mode */
#siteSub {
display: block;
Baris 1.178 ⟶ 1.196:
}
 
/* Hide FlaggedRevs notice UI when there are no pending changes */
/* Styling for Abuse Filter tags */
.flaggedrevs_draft_synced,
.mw-tag-markers {
.flaggedrevs_stable_synced,
font-style: italic;
/* "Temporary" to remove links in sidebar T255381 */
font-size: 90%;
#t-upload {
background-color: lightyellow;
display: none;
}
 
/* Hide broken download box on Special:Book pending T285400 */
/* Add dotted line below h3-h6 */
.mw-parserspecial-outputBook h3#coll-downloadbox {
display: none;
border-bottom: dotted 1px #aaa;
}
 
.mw-parser-output h4,
/* Kode untuk modifikasi logo
.mw-parser-output h5,
#p-logo a {
.mw-parser-output h6 {
background: url(//upload.wikimedia.org/wikipedia/id/f/f3/Wikipedia-logo-v2-id.png) 35% 50% no-repeat !important;
border-bottom: dotted 1px #ddd;
}
*/
 
/* Untuk halaman utama versi Mei 2015 https://wiki-indonesia.club/w/index.php?title=Halaman_Utama&diff=9362874&oldid=9342682. Dari Wikipedia bahasa Portugis */
.logoWikipedia {
background: url("//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png");
}
 
/* Hide "edit description" button in [[Wikipedia:Warung Kopi (Bantuan)]]*/
.page-Wikipedia_Warung_Kopi_Bantuan .flow-ui-boardDescriptionWidget-editButton {
visibility: hidden;
}