Difference between revisions of "User:Yaycupcake/readermode.css"

From A3! Wiki
m (Updated for Timeless skin)
Line 1: Line 1:
body {
+
/* Clean Screen */
    font-family: Arvo!important;
+
#mw-content h1.firstHeading,
    font-size: 24px;
+
#catlinks, #mw-footer-container,
    background-color: antiquewhite!important;
+
#mw-header-container, #mw-header-hack, #mw-header-nav-hack,
    color: #333!important;
+
#mw-page-header-links > :not(#p-pagetools),
}
+
#mw-page-header-links li#ca-view, #mw-page-header-links li#ca-history,
 
+
#headertabs #edittab {
body > :not(.mw-body):not(#mw-navigation) {
 
display: none;
 
}
 
 
 
#mw-navigation > :not(#mw-head) {
 
 
     display: none;
 
     display: none;
 
}
 
}
 
+
#mw-content-block > :not(#mw-content) {
#mw-head {
 
    display: inline-block!important;
 
    width: 66px!important;
 
    height: 58px!important;
 
}
 
 
 
#mw-head > :not(#right-navigation) {
 
 
     display: none;
 
     display: none;
 
}
 
}
  
#right-navigation > :not(#p-views) {
+
#mw-content {
    display: none;
+
    margin: auto;
 
}
 
}
 
+
@media screen and (min-width: 1340px) {
#p-views {
+
#mw-content { margin: auto; }
background-image: none!important;
 
 
}
 
}
  
#p-views > ul > li:not(#ca-edit) {
+
/* Header Tabs */
     display: none;
+
.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;
#p-views > ul {
+
     top: 0;
    position: absolute;
+
     margin: 0;
    top: 0px;
+
     border-bottom: 0;
    right: 0px;
 
}
 
 
 
.patrollink {
 
    display: block;
 
    position: absolute;
 
    bottom: -96px;
 
    right: 10px;
 
    height: 1em;
 
}
 
 
 
#ca-edit {
 
     position: absolute;
 
     top: 10px;
 
     right: 10px;
 
     height: 48px;
 
 
     padding: 0;
 
     padding: 0;
     background-image: none;
+
     white-space: nowrap;
     background-color: oldlace;
+
     text-transform: uppercase;
 
}
 
}
 
+
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
#ca-edit span {
+
     background: floralwhite;
     padding: 0;
+
     border: none;
     margin-top: 0px;
 
    background-image: none;
 
 
}
 
}
  
#ca-edit span a {
+
/* Styles */
    margin-top: 0px;
+
body, #mw-content-container, #mw-content-block, #mw-content,
    padding: 11px;
+
table, table.storytable,
    position: absolute;
+
table.storytable > tr > th, table.storytable > tr > td, table.storytable > * > tr > th, table.storytable > * > tr > td {
    top: 0px;
+
     background: antiquewhite;
    right: 0px;
+
     font-family: Arvo!important;
    height: 48px;
+
     font-size: 1.2rem;
    background-image: none;
 
    background-color: oldlace;}
 
 
 
#jump-to-nav {
 
    display: none;
 
}
 
 
 
.mw-body {
 
     display: block!important;
 
     width: 100%;
 
    padding: 50px 0px 50px 0px!important;
 
     margin: 0px!important;
 
    background-color: antiquewhite!important;
 
    color: #333!important;
 
 
     border: none;
 
     border: none;
 +
    box-shadow: none;
 
}
 
}
  
#contentSub {
+
.translatorcredit {
    display: none;
+
     background-color: floralwhite;
}
+
     border-color: oldlace;
 
+
     color: #333;
h1 {
 
     display: none;
 
}
 
 
 
#headertabs {
 
    padding: 0!important;
 
    margin: 0!important;
 
}
 
 
 
.ui-tabs-nav {
 
background-color: antiquewhite!important;
 
    background-image: none;
 
    border-width: 0px!important;
 
     border-radius: 0px;
 
    width: 100%!important;
 
    display: block;
 
    position: absolute;
 
    top: -75px;
 
    left: -3px;
 
}
 
 
 
.ui-tabs-nav > li,
 
.ui-tabs-nav > li a {
 
    border-width: 0px!important;
 
    border-bottom: 0px solid antiquewhite!important;
 
    border-radius: 0px;
 
    display: inline-block!important;
 
    text-align: center;
 
    width: 180px;
 
    float: none;
 
    background-image: none!important;
 
    background-color: antiquewhite!important;
 
margin: 9px;
 
}
 
 
 
.ui-tabs-nav > li[aria-selected="false"] > a {
 
    background-color: oldlace!important;
 
}
 
 
 
.ui-tabs-nav > li[aria-selected="true"] > a {
 
    background-color: floralwhite!important;
 
}
 
 
 
 
 
#edittab {
 
    display: none;
 
}
 
 
 
.mw-editsection {
 
    display: none;
 
}
 
 
 
div[id^="Translation"] {
 
    padding: 0!important;
 
    margin: 0!important;
 
}
 
 
 
.storytable {
 
     color: #333!important;
 
}
 
 
 
.storytable caption {
 
    margin-bottom: 20px;
 
}
 
 
 
.storytable tbody tr th {;
 
    color: antiquewhite!important;
 
    font-variant: small-caps;
 
}
 
 
 
a:link, a:visited, a:hover, a:active {
 
    color: #333!important;
 
    text-decoration: none;
 
}
 
 
 
.storytable tbody tr th,
 
.storytable tbody tr td {
 
border: 1px solid antiquewhite;
 
    background-color: antiquewhite;
 
}
 
 
 
.storyimage {
 
    width: 100%!important;
 
    padding: 10px!important;
 
}
 
 
 
.storyimage a {
 
    pointer-events: none;
 
    cursor: default;
 
 
}
 
}
  
.storyimage img {
+
/* Images */
    max-width: 100%;
 
    margin: auto;
 
    padding: 0.25em 0.5em 0.25em 0.5em;
 
/*   padding-left: calc(15% + 20px);
 
    padding-right: calc(15% + 20px);*/
 
}
 
  
h2 {
+
/* References */
 +
#mw-content h2 {
 
     border: none;
 
     border: none;
 
     text-align: center;
 
     text-align: center;
Line 202: Line 66:
 
ol.references {
 
ol.references {
 
     margin: 0!important;
 
     margin: 0!important;
    background-color: antiquewhite!important;
 
}
 
 
ol.references {
 
 
     list-style: none;
 
     list-style: none;
 +
    border: none;
 
}
 
}
 
 
ol.references li {
 
ol.references li {
 
     display: block;
 
     display: block;
Line 215: Line 75:
 
}
 
}
  
*:target {
+
/* Links */
    background-color: floralwhite!important;
+
#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: " ▶" }
.translatorcredit {
 
    background-color: floralwhite;
 
    border-color: oldlace;
 
    color: #333;
 
}
 
 
 
#mw-content-text > p {
 
    display: none;
 
}
 
 
 
#catlinks {
 
    display: none;
 
}
 

Revision as of 09:44, 24 December 2018

/* 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: " ▶" }