MediaWiki:Modern.css

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
#firstHeading .mw-editsection a {
    color: white;
}

body.page-Main_Page #t-cite,
body.page-Main_Page #lastmod, 
body.page-Main_Page #siteSub {
    display: none !important;
}

/* block quotations */
#mw_content blockquote {
    font-size: 93.75%;  /* equivalent of 15px in 16px default */
    margin: 1em 1.6em;  /* same indent as an unordered list */
}
#mw_content blockquote p {
    line-height:inherit;
}

/* Display "From Wikipedia, the free encyclopedia" */
#siteSub {
    display: block;
}

p.error {
    font-weight: bold;
}

/* some headroom for #coordinates to go in without #siteSub */
#mw_contentholder {
    padding-top: .4em;
}

/* position coordinates */
#coordinates {  
    position: absolute;
    z-index: 1;
    border: none;
    background: none;
    right: 1.17em;
    top: 6.1em;
    float: right;
    margin: 0em;
    padding: 0em;
    padding-right: 1.17em;
    line-height: 1.5em;
    text-align: right;
    text-indent: 0;
    font-size: 85%;
    text-transform: none;
    white-space: nowrap;
}

/* important to keep the text predictably positioned */
#coordinates img {
    vertical-align: top;
}

/* allow disabling of "external" color on internal links in some situations */
#bodyContent .plainlinks2 a.external[href^="http://en.wikipedia.org/"] {
    color: #003366 !important;
}

/* table of contents */
.toccolours {
    background-color: #F0F0F0;
    border: 1px solid #BBBBBB;
    border-spacing: 0pt;
    margin: 0pt;
    padding: 0pt;
}

.mw-topboxes {
    margin-top: -0.4em;
}