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

From A3! Wiki
 
(27 intermediate revisions by 3 users not shown)
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) {
 
display: none;
 
}
 
 
 
.mw-body {
 
    display: block!important;
 
    width: 100%;
 
    padding: 0px!important;
 
    margin: 0px!important;
 
    background-color: antiquewhite!important;
 
    color: #333!important;
 
    border: none;
 
}
 
 
 
 
#contentSub {
 
#contentSub {
 
     display: none;
 
     display: none;
 
}
 
}
 
+
#mw-content-block > #mw-content-wrapper > :not(#mw-content),
h1 {
+
#mw-site-navigation,
 +
#mw-related-navigation {
 
     display: none;
 
     display: none;
 
}
 
}
  
.ui-tabs-nav {
+
#mw-content {
    display: none;
+
    margin: auto;
 
}
 
}
  
 +
@media screen and (max-width: 851px) {
 +
#mw-content {
 +
  padding: 0.5em;
 +
}
  
#edittab {
+
table.storytable {
    display: none;
+
  width: 100%!important;
 +
  margin: auto;
 +
}
 +
table.storybodytable {
 +
  width: 100%!important;
 +
}
 +
.storybodytable tr td:not(.storychoice):not(.storyimage):not(.LIME) {
 +
  font-size: 1em;
 +
}
 
}
 
}
  
div[id^="Translation"] {
+
/* Header Tabs */
     padding: 0!important;
+
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header, .ui-widget-header .ui-state-default, #headertabs.bare .ui-widget-header {
     margin: 0!important;
+
    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;
 
}
 
}
  
.storytable {
+
/* Styles */
     color: #333!important;
+
body, #mw-content-container, #mw-content-block, #mw-content,
     margin-top: 30px;
+
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: 24px;
 +
    border: none;
 +
    box-shadow: none;
 
}
 
}
  
.storytable caption {
+
@media screen and (max-width: 850px) {
    margin-bottom: 20px;
+
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 {
 +
  font-size: 18px;
 +
}
 
}
 
}
  
.storytable tbody tr th {;
+
.storyborder {
    color: antiquewhite!important;
+
border-width: 0 4px 0 0;
    font-variant: small-caps;
 
 
}
 
}
  
a:link, a:visited, a:hover, a:active {
+
@media screen and (max-width: 650px) {
    color: #333!important;
+
.storyborder {
    text-decoration: none;
+
  border-width: 0 0 4px 0!important;
 +
}
 +
.line {
 +
display: flex;
 +
flex-direction: column;
 
}
 
}
 
+
.label:not(.charname) {
.storytable tbody tr th,
+
display: none;
.storytable tbody tr td {
+
}
border: 1px solid antiquewhite;
+
.label.charname {
    background-color: antiquewhite;
+
width: auto!important;
 +
text-align: left!important;
 
}
 
}
 
.storyimage {
 
    width: 100%!important;
 
    padding: 10px!important;
 
 
}
 
}
  
.storyimage a {
+
.translatorcredit {
     pointer-events: none;
+
     background-color: floralwhite;
     cursor: default;
+
     border-color: oldlace;
 +
    color: #333;
 
}
 
}
  
.storyimage img {
+
/* Images */
    width: 100%;
 
margin: auto;
 
    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 92: Line 113:
 
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 105: Line 122:
 
}
 
}
  
*:target {
+
@media screen and (max-width: 650px) {
     background-color: floralwhite!important;
+
     ol.references li {
 +
        padding-left: 10%!important;
 +
        padding-right: 10%!important;
 +
    }
 
}
 
}
  
.translatorcredit {
+
/* Links */
    background-color: floralwhite;
+
#headertabs.bare .ui-widget-content a, #headertabs.bare .ui-widget-content a:visited, a, a:visited { color: #333; }
    border-color: navajowhite;
+
#headertabs.bare .ui-widget-content a:hover, a:hover { color: var(--mankai); }
    color: #333;
 
}
 
 
 
#mw-content-text > p {
 
    display: none;
 
}
 
 
 
#catlinks {
 
    display: none;
 
}
 

Latest revision as of 01:11, 13 February 2022

/* 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,
#contentSub {
    display: none;
}
#mw-content-block > #mw-content-wrapper > :not(#mw-content),
#mw-site-navigation,
#mw-related-navigation {
    display: none;
}

#mw-content {
     margin: auto;
}

@media screen and (max-width: 851px) {
 #mw-content {
  padding: 0.5em;
 }

 table.storytable {
  width: 100%!important;
  margin: auto;
 }
 table.storybodytable {
  width: 100%!important;
 }
 .storybodytable tr td:not(.storychoice):not(.storyimage):not(.LIME) {
  font-size: 1em; 
 }
}

/* 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: 24px;
    border: none;
    box-shadow: none;
}

@media screen and (max-width: 850px) {
 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 {
  font-size: 18px;
 }
}

.storyborder {
 border-width: 0 4px 0 0;
}

@media screen and (max-width: 650px) {
 .storyborder {
  border-width: 0 0 4px 0!important;
 }
.line {
 display: flex;
 flex-direction: column;
}
.label:not(.charname) {
 display: none;
}
.label.charname {
 width: auto!important;
 text-align: left!important;
}
}

.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;
}

@media screen and (max-width: 650px) {
    ol.references li {
        padding-left: 10%!important;
        padding-right: 10%!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); }