MediaWiki:Monobook.css: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
k hilangkan underline di pranala
 
(41 revisi perantara oleh 7 pengguna tidak ditampilkan)
Baris 1:
/* Don't display some stuff on the main page */
<pre>
body.page-Halaman_Utama #deleteconfirm,
/* Donations link to be uncommented during fundraising drives */
body.page-Halaman_Utama #t-cite,
#siteNotice {
body.page-Halaman_Utama #lastmod,
margin-top:5px;
body.action-view.page-Halaman_Utama #siteSub,
padding-left: 4px;
body.action-view.page-Halaman_Utama #contentSub,
font-style: italic;
body.action-view.page-Halaman_Utama h1.firstHeading {
text-align: center;
display: none !important;
}
 
#siteNotice {
/****************************/
margin-top: 5px;
/* BEGIN LIGHT BLUE SECTION */
margin-bottom: -.5em;
/****************************/
/* Make all non-namespace pages have a light blue content area. This is done by
setting the background color for all #content areas to light blue and then
overriding it for any #content enclosed in a .ns-0 (main namespace). I then
do the same for the "tab" background colors. --Lupo */
 
#content {
background: #F8FCFF; /* a light blue */
}
#mw-dismissable-notice {
 
background: transparent;
#content div.thumb {
border-color: #F8FCFF;
}
 
/* BEGIN LIGHT BLUE SECTION
.ns-0 * #content {
Make content area light blue in all namespaces except articles (main namespace).
background: white;
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"
backgrounds and some other objects. */
 
div#content,
#mytabs li {
div#p-cactions li a:hover,
background: #F8FCFF;
div#p-cactions li.selected a,
div#content div.thumb { /* "Margin" for thumbs, padding for galleries */
background-color: #F8FCFF; /* Light blue */
}
div#p-cactions li a {
 
background-color: #F7F9FB; /* Light blue-gray inactive tabs */
.ns-0 * #mytabs li {
background: white;
}
 
.ns-0 div#content,
/* *** Diremarked dulu menurut petunjuk dari mw sehubungan dengan logo WP yang blurred ***
.ns-0 div#p-cactions li a:hover, .ns-0 div#p-cactions li.selected a,
#p-logo a,
.ns-0 div#content div.thumb {
#p-logo a:hover {
background-color: white; /* Set back to white for articles */
background-image: url(http://upload.wikimedia.org/wikipedia/id/b/bc/Wiki.png) !important;
}
.ns-0 div#p-cactions li a {
*** End of - Diremarked dulu menurut petunjuk dari mw sehubungan dengan logo WP yang blurred *** */
background-color: #FBFBFB; /* Light gray inactive tabs in articles */
 
#mytabs li a {
background-color: #F8FCFF;
}
 
@media print {
.ns-0 * #mytabs li a {
div#content {
background-color: white;
background: white;
} /* White background on print */
}
 
/* END LIGHT BLUE SECTION */
#p-cactions li a {
background-color: #F8FCFF;
}
 
/* Talk page tab "+" / "new section".
.ns-0 * #p-cactions li a {
Sets the same padding as the other tabs have. */
background-color: white;
div#p-cactions #ca-addsection a {
padding-left: .8em;
padding-right: .8em;
}
 
/* Make "From Wikipedia, the free encyclopedia" a bit smaller */
.ns-0 * #content div.thumb {
border-color: white;
}
 
/* Portal */
.ns-100 * #content,
.ns-100 * #p-cactions li,
.ns-100 * #p-cactions li a {
background: #F4F4F4;
}
 
/* Pembicaraan Portal */
.ns-101 * #content,
.ns-101 * #p-cactions li,
.ns-101 * #p-cactions li a {
background: #F4F4F4;
}
 
/* Bantuan */
.ns-12 * #content,
.ns-12 * #p-cactions li,
.ns-12 * #p-cactions li a {
background: #FFF9FB;
}
 
/* Pembicaraan bantuan */
.ns-13 * #content,
.ns-13 * #p-cactions li,
.ns-13 * #p-cactions li a {
background: #FFF9FB;
}
 
/**************************/
/* END LIGHT BLUE SECTION */
/**************************/
 
/* Display text below main article header, located at MediaWiki:tagline */
#siteSub {
font-size: 92%;
display: inline;
font-size: 90%;
font-weight: normal;
font-style: italic;
}
 
div#footer #lastmod,
#bodyContent #siteSub a {
div#footer #copyright {
color: #000;
display: block;
text-decoration: none;
background-color: transparent;
background-image: none;
padding-right: 0;
}
 
p.error {
/* Bold 'edit this page' link to encourage newcomers */
#ca-edit a { font-weight: bold !important; }
 
/* Display "User $1, you are already logged in!"
([[MediaWiki:Alreadyloggedin]]) in red and bold */
div.alreadyloggedin { color: red; font-weight: bold; }
 
@media print {
/* Do not print edit link in templates using Template:Ed
Do not print certain classes that shouldn't appear on paper */
.editlink, .noprint, .metadata, .dablink { display: none }
}
 
/* Remove default styles for [[MediaWiki:Noarticletext]]. */
 
div.noarticletext {
/* Style for "notices" */
border: none;
.notice {
background: transparent;
text-align: justify;
padding: 0;
margin: 1em 0.5em;
padding: 0.5em;
}
 
#disambig {
border-top: 3px double #cccccc;
border-bottom: 3px double #cccccc;
}
 
#spoiler {
border-top: 2px solid #ddd;
border-bottom:2px solid #ddd;
}
 
 
/* Accessibility experiment: make diff changes not just colour-based */
 
.diffchange {
font-weight: bold;
background-color: inherit;
}
 
td.diff-addedline, td.diff-deletedline, td.diff-context {
font-size: 85%;
color: inherit;
}
 
#pt-login {
font-weight: bold;
font-size: 110%;
}
 
form#userlogin {
float: left;
padding: 1em 1em .7em 1em;
background-color: #ffffe6;
border: 2px solid #fc6;
color: #000;
margin-right: 2em;
}
 
form#userlogin table {
float: left;
background-color: #ffffe6;
color: #000;
}
 
p.error {
font-weight: bold;
}
 
Baris 184 ⟶ 84:
monobook/main.css wasn't being used by the print style */
.toccolours {
border: 1px solid #aaaaaaaaa;
background-color: #f9f9f9;
padding: 5px;
font-size: 95%;
}
 
.thumbborder {
/* Remove padding from external links displayed without icon */
border: 1px solid lightgrey;
#bodyContent .plainlinks a {padding: 0 !important}
 
/* Experiment: slightly fade inactive tabs */
 
#p-cactions a {
filter: alpha(opacity=90);
}
 
/* Don't underline links in portlets/specialchars even with pref "Underline links:Always" */
#p-cactions a:hover, #p-cactions .selected a {
.portlet a,
filter: none;
#editpage-specialchars a {
text-decoration: none;
}
.portlet a:hover,
 
#editpage-specialchars a:hover {
 
text-decoration: underline;
#p-nav h5 {
display: none;
}
 
/* Position coordinates */
.portlet a {
#coordinates {
text-decoration: none;
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 {
.portlet a:hover {
margin-top: -3em;
text-decoration: underline;
}
 
/* FR topicon position */
#p-nav .pBody {
div.flaggedrevs_short {
padding-right: 0;
position: absolute;
z-index: 10;
top: 10px;
right: 110px;
}
 
.ve-ce-surface #coordinates {
#p-nav a {
top: 0;
display: block;
padding: 0;
width: 100%;
}
 
/* Add bolding to ooui destructive buttons */
/* Special characters list below edit window works better without underlining */
#mw-prefs-restoreprefs,
#editpage-specialchars a { text-decoration: none; }
#wpConfirmB,
#editpage-specialchars a:hover { text-decoration: underline; }
#mw-editform-cancel,
 
#oo-ui-flaggedElement-destructive,
/* If you don't want to see special characters list at all,
.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive,
put the following line in your User:You/monobook.css file
.oo-ui-buttonElement-framed.oo-ui-flaggedElement-destructive,
(and remove the slash-asterisk comments) */
.oo-ui-buttonElement-framed.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button,
/* #editpage-specialchars { display: none; } */
.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
 
font-weight: 700;
/* Makes the background of a framed image white instead of gray. */
/* Only visible with transparent images. */
/* See #Framed_image_background_color */
div.thumb div a img {
background-color:#ffffff;
}
 
/* Responsive mboxes */
#catlinks {
@media (max-width:550px) {
border: 0px;
table.tmbox:not(.mbox-small):not(.mbox-small-left),
border-top: 2px dotted #aaaaaa;
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),
/* NavFrame untuk menyembunyikan/ menampilkan kotak dari en. */
table.ombox:not(.mbox-small):not(.mbox-small-left) {
 
margin: 0; /* disables 10% margin */
div.Boxmerge,
}
div.NavFrame {
margin: 0px;
.mbox-image img {
padding: 2px;
display: none;
border: 1px solid #aaaaaa;
}
text-align: center;
border-collapse: collapse;
/* Break long words when they cause overflow */
font-size: 95%;
.mw-body {
overflow-wrap: break-word;
}
}
/* Kode untuk mengganti logo
div.Boxmerge div.NavFrame {
.mw-wiki-logo {
border-style: none;
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");
border-style: hidden;
}
*/
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #ffffff;
margin: 0px;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
font-size: 100%;
background-color: #efefef;
position:relative;
}
div.NavFrame p {
font-size: 100%;
}
div.NavFrame div.NavContent {
font-size: 100%;
}
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0px;
padding: 0px;
line-height: 1px;
clear: both;
}
a.NavToggle {
position:absolute;
top:0px;
right:3px;
font-weight:normal;
font-size:smaller;
}
 
/* End of - NavFrame untuk menyembunyikan/ menampilkan kotak dari en. */
 
</pre>