User:Obl obl/monobook.css
Jump to navigation
Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
The accompanying .js page for this skin can be added at User:Obl obl/monobook.js. |
- Report page listing warnings and errors.
@charset "UTF-8";
/* Don't display some stuff on the main page */
body.page-Main_Page #deleteconfirm,
body.page-Main_Page #t-cite,
body.page-Main_Page #lastmod,
body.action-view.page-Main_Page #siteSub,
body.action-view.page-Main_Page #contentSub,
body.action-view.page-Main_Page h1.firstHeading {
display: none !important;
}
#siteNotice {
margin-top: 5px;
margin-bottom: -.5em;
}
#mw-dismissable-notice {
background: transparent;
}
/* BEGIN LIGHT BLUE SECTION
Make content area light blue in all namespaces except articles (main namespace).
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,
div#p-cactions li a:hover,
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 div#content,
.ns-0 div#p-cactions li a:hover, .ns-0 div#p-cactions li.selected a,
.ns-0 div#content div.thumb {
background-color: white; /* Set back to white for articles */
}
.ns-0 div#p-cactions li a {
background-color: #FBFBFB; /* Light gray inactive tabs in articles */
}
@media print {
div#content {
background: white;
} /* White background on print */
}
/* END LIGHT BLUE SECTION */
/* Talk page tab "+" / "new section".
Sets the same padding as the other tabs have. */
div#p-cactions #ca-addsection a {
padding-left: .8em;
padding-right: .8em;
}
/* Make "From Wikipedia, the free encyclopedia" a bit smaller */
#siteSub {
font-size: 92%;
}
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%;
}
/* 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 */
}
/* Break long words when they cause overflow */
.mw-body { overflow-wrap: break-word; }
.mbox-image img { display: none; }
}
/* # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # */
/* # # # ml01 - Updates, insertions, and deletions. # # # */
#f-poweredbyico,
#f-copyrightico { display: none; }
#privacy,
#about,
#disclaimer,
#contact,
#mobileview,
#developers,
#statslink,
#cookiestatement { display: none; }
.mw-footer { text-align: left; }
#copyright { font-size: small; }
small .autosigned { font-size: 13.3px !important; }
/* Hide the "V·T·E" template links.. */
#mw-content-text > div > div.navbox > table > tbody > tr:nth-child(1) > th > div.navbar.plainlinks.hlist.navbar-mini { display: none; }
.wikitable { font-size: 0.9rem; }
#p-logo,
#p-navigation,
#p-search,
#p-interaction,
#p-tb,
#p-coll-print_export,
#p-wikibase-otherprojects,
#p-lang {
display: none;
}
@media screen and (min-width: 551px) {
body.skin--responsive #column-one { padding-top: 0 !important; }
}
#sidebar { padding-top: 0 !important; }
body.skin--responsive .mw-body { margin: 2.8em 0 0 12.2em; margin: 2.8em 0 0 0.5em; border-right: 0; }
#globalWrapper { font-size: 13.8px; letter-spacing: -0.003rem; }
.mw-parser-output a.external { color: #002bb8; }
/** START of Reference: "archived on"- and "retrieved on"-dates rules **/
.reflist > .references > li > .reference-text > [href="/wiki/Wayback_Machine"] { display: none; }
span.reference-accessdate { display: none; }
/** END of Reference: "archived on"- and "retrieved on"-dates rules **/
/** START of IPA style rules **/
/* IPA symbols for 'class=IPA' -- make each one-or-more-char "unit" more distinct from its adjacent "units". */
.nounderlines a,
.IPA a:link,
.IPA a:visited {
text-decoration: none !important;
letter-spacing: 0;
}
.IPA span[title] {
font-weight: 600;
color: #00d;
background: #def;
}
.rt-commentedText.nowrap > span.IPA.nopopups.noexcerpt span[title]::before {
content:"❘";
letter-spacing: -0.25rem;
color: #651;
font-weight: 300;
opacity: 0.5;
width: 1px !important;
}
.rt-commentedText.nowrap > span.IPA.nopopups.noexcerpt span[title]::after {
content:" ";
letter-spacing: -0.25rem;
letter-spacing: 0;
color: #651;
font-weight: 300;
opacity: 0.5;
width: 1px !important;
}
/** END of IPA style rules **/
/* Increase size of some of the default Help popup text is too small. */
.mw-ge-help-panel-home-button-text-subheader {
font-size: 13.2px;
letter-spacing: -0.005rem;
padding-top: 0.5em;
color: #301;
line-height: 1.38;
}
@media screen and (min-width: 1600px) {
#column-one,
#siteSub,
#contentSub,
#jump-to-nav,
.mw-jump-link,
.mw-editsection,
.printfooter,
.navbox-styles.nomobile,
#mw-hidden-catlinks,
/* toc-related */
#toc > input,
#toc .toctitle > .toctogglespan,
#toc > ul,
/* eo toc-related */
body.page-Main_Page #deleteconfirm,
body.page-Main_Page #t-cite,
body.page-Main_Page #lastmod,
body.action-view #siteSub,
body.action-view #contentSub,
body.action-view .firstHeading,
#p-cactions-mobile,
.cx-campaign-contributionsmenu,
#p-logo,
#sidebar,
#pt-uls,
#pt-mytalk,
#pt-sandbox,
#pt-betafeatures,
.cx-campaign-translations,
#siteNotice,
#filetoc,
.fullMedia,
.sharedUploadNotice,
#shared-image-desc .mw-parser-output,
.wikibase-entitytermsview .wikibase-entitytermsview-entitytermsforlanguagelistview-toggler,
.wikibase-entitytermsview .wikibase-entitytermsview-entitytermsforlanguagelistview-configure,
sup.reference,
span.mw-editsection,
span.mw-cite-backlink,
#column-one,
.navbar.plainlinks.hlist.navbar-mini,
a[href="/wiki/Doi_(identifier)"],
a[href*="doi.org"],
a[href="/wiki/PMC_(identifier)"] a[href*="ncbi.nlm.nih.gov"],
a[href="/wiki/PMID_(identifier)"],
a[href*="ncbi.nlm.nih.gov"],
a[title="ISBN (identifier)"],
a[href="/wiki/ISBN_(identifier)"],
a[title^="Special:BookSources"],
a[href^="/wiki/Special:BookSources"],
a[href="/wiki/ISSN_(identifier)"],
a[href*="worldcat.org/issn/"],
a[href="/wiki/S2CID_(identifier)"],
a[href*="api.semanticscholar.org"],
a[href="/wiki/Bibcode_(identifier)"],
a[href*="ui.adsabs.harvard.edu"],
.cs1-lock-free,
#siteSub,
#contentSub,
#jump-to-nav,
.mw-jump-link,
.cx-campain-contributionsmenu,
[class="cx-callout cx-callout-1 cx-campaign-contributionsmenu"],
.noprint,
table.fcinfobox.wikitable.ct {
display: none;
}
}
/* placeholder for eo custom css. */