User:Yaycupcake/readermode.css

From A3! Wiki
< User:Yaycupcake
Revision as of 09:44, 24 December 2018 by Krhs (talk | contribs) (Updated for Timeless skin)

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.
/* Clean Screen */
#mw-content h1.firstHeading,
#catlinks, #mw-footer-container,
#mw-header-container, #mw-header-hack, #mw-header-nav-hack,
#mw-page-header-links > :not(#p-pagetools),
#mw-page-header-links li#ca-view, #mw-page-header-links li#ca-history,
#headertabs #edittab {
    display: none;
}
#mw-content-block > :not(#mw-content) {
    display: none;
}

#mw-content {
     margin: auto;
}
@media screen and (min-width: 1340px) {
#mw-content { margin: auto; }
}

/* Header Tabs */
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header, .ui-widget-header .ui-state-default, #headertabs.bare .ui-widget-header {
    background: transparent;
    border: none;
}
.ui-tabs .ui-tabs-nav li {
    list-style: none;
    top: 0;
    margin: 0;
    border-bottom: 0;
    padding: 0;
    white-space: nowrap;
    text-transform: uppercase;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    background: floralwhite;
    border: none;
}

/* Styles */
body, #mw-content-container, #mw-content-block, #mw-content, 
table, table.storytable, 
table.storytable > tr > th, table.storytable > tr > td, table.storytable > * > tr > th, table.storytable > * > tr > td {
    background: antiquewhite;
    font-family: Arvo!important;
    font-size: 1.2rem;
    border: none;
    box-shadow: none;
}

.translatorcredit {
    background-color: floralwhite;
    border-color: oldlace;
    color: #333;
}

/* Images */

/* References */
#mw-content h2 {
    border: none;
    text-align: center;
    font-family: Arvo!important;
}

ol.references {
    margin: 0!important;
    list-style: none;
    border: none;
}
ol.references li {
    display: block;
    padding-left: 20%!important;
    padding-right: 20%!important;
}

/* Links */
#headertabs.bare .ui-widget-content a, #headertabs.bare .ui-widget-content a:visited, a, a:visited { color: #333; }
#headertabs.bare .ui-widget-content a:hover, a:hover { color: var(--mankai); }
th a:hover::after { content: " ▶" }