MediaWiki

Foreground.css: Difference between revisions

From Grouse House Wiki

No edit summary
No edit summary
 
(89 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS added to this page will only be applied to desktop users. To adjust CSS for mobile users, visit https://grousehouse.wiki/MediaWiki:Minerva.css */
/* The CSS added here will affect both desktop and mobile users. Before finishing, please ensure that the style works well on all devices. Edit this CSS with caution, it can cause big changes!


/* Large image grid */
This CSS page contains formatting for the site as a whole. If you're looking for formatting for the more specific, in-article elements, check https://grousehouse.wiki/MediaWiki:Common.css!


.imagegrid {
Table of Contents (you can search the page for these titles to jump straight there):
    display: flex;
• Headers and text
     flex-wrap: wrap;
     • Collapsible headers
     margin-top: 20px;
     • Text sizing
}
• Image fixes
 
• Search page
.gridimage {
• Wiki editor
    padding: 10px;
• Comments pages
}
• Category section and footer
 
• Recent updates and TOC
.gridimage img {
• Content removal
    height: 150px;
• Spacing and broken content fixes
    width: auto;
• Important scaling for main content
    border-radius: 10px;
    border: 1px solid black;
}


/* Headers and text */
/* Collapsible headers */
/* Collapsible headers */


.c-header span:before {
.c-header span:before {
    background-position: 50% 50%;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-size: 100% auto;
     background-size: 100% auto;
Line 29: Line 26:
     display: block;
     display: block;
     height: 12px;
     height: 12px;
    left: 0;
     margin: 0.1em 0.8em;
     margin: 0 0.8em;
     min-height: 1.1em;
     min-height: 1.1em;
    position: absolute;
    right: 0;
     width: 12px;
     width: 12px;
    position: relative;
    top: 1.455em;
left: -2em;
}
.c-header {
margin-top: -1em;
}
.c-header {
    border-bottom: 1px solid lightgray;
    padding-bottom: 0.4em;
}
.h-static {
    border-bottom: 1px solid lightgray;
    padding-bottom: 0.4em;
}
.c-header.hidden:last-of-type {
    border: none;
}
h3.c-header {
    padding-left: 0.3em;
}
}


.c-header.hidden span:before {
.c-header.hidden span:before {
     background-image: url(http://grousehouse.wiki/images/6/62/Downarrow.png);
     background-image: url(https://grousehouse.wiki/images/6/62/Downarrow.png);
}
}


.c-header.active span:before {
.c-header.active span:before {
background-image: url(https://grousehouse.wiki/images/3/37/Uparrow.png);
    background-image: url(https://grousehouse.wiki/images/3/37/Uparrow.png);
}
}


Line 58: Line 77:
}
}


/* Search page specifics */
h2.h-static {
font-size: 1.3rem !important;
}
 
h3.h-static {
font-size: 1.0rem !important;
}
 
h2 {
font-size: 0em;
}
 
h2.c-header.active {
font-size: 1.3em;
}
 
h2.c-header.hidden {
font-size: 1.3em;
}
 
h3 {
font-size: 0em;
}
 
h3.c-header.active {
font-size: 1.1em;
}
 
h3.c-header.hidden {
font-size: 1.1em;
}
 
 
/* Text sizing */
 
h1#firstHeading {
font-weight: bold;
}
 
/* Page Body Font Sizes */
 
div#mw-clearyourcache ul li {
    font-size: 0.8em;
}
 
pre.mw-code.mw-css {
    font-size: 0.9em;
}
 
ul, ol, dl {
font-size: 0.9rem;
}
 
p {
font-size: 0.9rem;
}
 
.crowdsource-warning {
font-size: 0.9rem;
}
 
 
/* Image fixes */
/* Search page */


/* Results values (1 - 3, etc) */
/* Results values (1 - 3, etc) */
Line 87: Line 169:
}
}


/* Wiki Editor */
/* Search Bar Length */
 
input#searchInput {
    width: 190px;
}
 
/* Search padding */
 
#mw-content-text .mw-search-results {
    margin-top: -5px;
}
 
.mw-search-result-heading {
    margin-top: -0.7em;
}
 
#mw-search-top-table div.oo-ui-actionFieldLayout {
    float: left;
    width: 55vw;
}
 
.mw-search-results-container {
    margin-top: 1.2em;
}
 
div#mw-search-top-table button {
    height: 2.31em;
}
 
.mw-search-profile-tabs {
    margin-top: 1em;
}
 
/* Wiki editor */


.wikiEditor-ui-toolbar .tabs span.tab a {
.wikiEditor-ui-toolbar .tabs span.tab a {
Line 110: Line 225:
     background-color: #5388a03d !important;
     background-color: #5388a03d !important;
     color: #5388a0 !important;
     color: #5388a0 !important;
}
/* Comments pages */
span.c-score-title {
    display: none;
}
.c-item {
    width: 100%;
}
textarea#comment {
    width: 100%;
}
div#spy {
    display: none;
}
.c-order {
    display: none;
}
.c-form-message {
    display: none;
}
/* Category section and footer */
/* Category section */
#catlinks {
    border-top: 1px solid lightgray !important;
    padding: 0.25rem;
    padding-top: 1rem;
    margin-top: 1em;
    border: none;
}
}


Line 131: Line 284:
}
}


/* Footer Height */


/* Recent Updates */
footer.row {
height: 6.5em;
}
 
/* Recent updates and TOC */
 
/* Recent updates */


#recentupdates {
#recentupdates {
padding: 1em 1em;
width: 38%;
    border: none !important;
  height: 500px;
     display: block;
  overflow: auto;
     margin: 1.5em 0;
  background-color: #d4d4d4;
     position: fixed !important;
  margin: 0.5em;
}  
}
 
div#updatestitle {
  background: #b0b0b0;
  margin-top: -0.8em;
}
 
div#updatestitle h3 {
border-bottom: 1px solid black;
  padding-bottom: ;
  padding-top: 1em;
  padding-bottom: 1em;
  padding-left: 1em;
}
 
div#updatedate {
     font-style: italic;
     font-size: 0.9em;
     padding-top: 1em;
}


/* Fixing top margin for logged-in users */
div#updatecontent {
    border-bottom: 1px solid #bfbbbb;
    padding-bottom: 1em;
}


h1#firstHeading {
.update {
    margin-top: 0.2em !important;
margin: 1em;
    margin-bottom: 1em;
}
}


a#actions-button {
@media only screen and (max-width: 74.125em) {
margin-top: 0 !important;
#recentupdates {
width: 100%;
}
}
}


/* Fixing breaking content */
/* Mobile TOC */


div#uploadtext {
#sidebarlogo {
    overflow: scroll;
position: fixed;
  top: 0.5em;
  left: 9.4vw;
width: 200px;
text-align: center;
}


#sidebarlogo img {
  height: 70px;
  width: auto;
}
}


div#p-cactions {
table.mobiletoc {
     text-wrap: wrap;
     width: 90vw;
     word-break: break-word;
     margin: auto;
}
}


/* Headers and text sizing */
.mobiletoc th {
    padding: 10px;
}


h1#firstHeading {
table.mobiletoc button.mw-collapsible-toggle {
font-weight: bold;
    margin-left: 20px;
}
}


/* IMPORTANT SCALING FOR MAIN CONTENT */
.mw-collapsible-toggle-default::before {
    content: '[';
    color: #406e83;
}


/* Desktop 1920px# through 1281px#*/
.mw-collapsible-toggle-default::after {
    content: ']';
    color: #406e83;
}


@media only screen and (max-width: 120rem) {
table.mobiletoc td.disclaimer {
    font-size: 0.7em;
    padding: 10px;
}


/* Width of main content */
table.mobiletoc tr:nth-of-type(2) td:first-of-type {
div#page-container {
     padding-top: 10px;
     width: 80vw;
}
}


/* Margin at top of page */
table.mobiletoc td.mtocl1 {
    padding: 20px;
    padding-top: 0.1em;
    padding-bottom: 0.2em;
}


div#main-content {
table.mobiletoc td.mtocl2 {
     margin-top: 5em !important;
    padding: 20px;
     margin-bottom: 0.7em;
    padding-left: 40px;
     padding-top: 0.1em;
     padding-bottom: 0.2em;
}
}


table.mobiletoc tr:last-of-type td:last-of-type {
    padding-bottom: 20px;
}
}


/* TOC Positioning */
/* TOC Testing */


div#toc {
table.mobiletoc {
display: inline;
     left: 9.4vw;
     left: 9.4vw;
     width: 200px;
     width: 200px;
     top: 5em;
     top: 6.5em;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: fixed;
background: #b0b0b0;
    font-size: 0.8em;
}
}


/* Recent Updates Positioning */
table.mobiletoc tr {
background: #d4d4d4;
}
 
div#toc {
display: none;
}


#recentupdates {
@media only screen and (max-width: 62.063rem) {
    left: 10vw;
 
table.mobiletoc {
     width: 200px;
     width: 200px;
     top: 2.5em;
     margin: auto;
left: 4.5vw;
    height: auto;
    overflow-y: scroll;
    font-size: 0.8em;
max-height: 80vh;
    position: fixed;
display: table;
top: 10rem;
}
}


/* Footer Height */
#sidebarlogo {
    width: 200px;
left: 4.5vw;
    top: 2em;
}
}
 
@media only screen and (max-width: 40em) {
table.mobiletoc {
position: initial !important;
width: 90vw;
}
 
table.mobiletoc {
    background-color: #d4d4d4;
}


footer.row {
.mobiletoc th {
height: 6.5em;
background-color: #b0b0b0;
}
}
}


/* Search Bar Length */
@media only screen and (min-width: 40.01em) {
.mw-collapsible-toggle-default::before {
    display: none;
}


input#searchInput {
.mw-collapsible-toggle-default::after {
     width: 190px;
     display: none;
}
}


div#mw-content-text {
span.mw-collapsible-text {
     width: 100%;
     display: none;
}
}


div#mw-imagepage-section-filehistory {
td.disclaimer {
    max-width: 55vw;
display: none;
    width: auto;
    overflow: scroll;
}
}


.mw-rcfilters-ui-changesListWrapperWidget {
table.mobiletoc tr {
     position: relative;
     background: none;
    max-width: 89vw;
    width: auto;
    overflow: scroll;
}
}


.mobiletoc th {
    background: none;
font-size: 1.3em;
}
}


table.mobiletoc {
    background: none;
}
}


/* Desktop 1280px# through 994px# (navbar collapse width) */


@media only screen and (max-width: 80rem) {
/* Remove extra headers from edit button fix */


/* Width of main content */
.mw-headline + .mw-editsection {
div#page-container {
  display: none;
    width: 80vw;
}
}


/* Margin at top of page */
h2 {
font-size: 0em;
}


div#main-content {
h2.c-header.active {
    margin-top: 5em !important;
font-size: 1.3em;
    margin-bottom: 0.7em;
}
}


/* TOC Positioning */
h2.c-header.hidden {
font-size: 1.3em;
}


div#toc {
    left: 9.1vw;
    width: 200px;
    top: 5em;
}


/* Search Bar Length */
/* Fix bolded headers being bolded in the TOC */


input#searchInput {
div#toc li a span b {
     width: 190px;
     font-weight: normal !important;
}
}


/* Footer Height */
/* Content removal */
 
/* Removing the Namespace Labels */


footer.row {
h4.namespace.label {
height: 7em;
    display: none
}
}
/* Spacing and broken content fixes */


div#mw-content-text {
div#mw-content-text {
     width: 100%;
     width: 100%;
}
#page-container {
    background: white;
    margin: 0 auto;
    display: flex;
    height: auto;
    min-height: 92.4vh;
}
}


Line 292: Line 552:
}
}


.fullImageLink img {
    max-width: 90vw;
    width: 100%;
}
.mw_metadata {
    max-width: 400px;
    width: auto!important;
}
.mw-rcfilters-ui-filterWrapperWidget {
    width: 95%;
}
.mw-search-results-container, .mw-search-results-info {
    float: left;
    width: 100% !important;
}
/* Fixing top margin for logged-in users */
h1#firstHeading {
    margin-top: 0.2em !important;
    margin-bottom: 1em;
}
a#actions-button {
margin-top: 0 !important;
}
/* Fixing breaking content */
div#uploadtext {
    overflow: scroll;
}
div#p-cactions {
    text-wrap: wrap;
    word-break: break-word;
}


/* Flex container for tables that won't stay within bounds */
.flexcontainer {
    display: flex;
    flex-direction: column;
    width: 40vw;
    margin: auto;
}
}


/* Desktop 1066px# through 993px# (navbar total collapse width) */
@media only screen and (max-width: 40em) {


@media only screen and (max-width: 66.625rem) {
.flexcontainer {
    width: 90vw;
    margin: auto;
}
 
}
 
/* Fixing headers that get duplicated because they contain punctuation (please why) */
 
span[id*='.27'] {
    display: none;
}


#recentupdates {
span[id*='.3F'] {
     left: 10vw;
     display: none;
    width: 200px;
    top: 2.5em;
}
}


h1#firstHeading {
span[id*='.2C'] {
     font-size: 1.5rem;
     display: none;
}
}


span[id*='.2F'] {
    display: none;
}
}


/* Desktop 993px# through 712px# (navbar total collapse width) */


@media only screen and (max-width: 62.063em) {


#recentupdates {
/* Important scaling for main content */
    left: 5.4vw;
 
     width: 200px;
/* Desktop 1920px# through 1281px#*/
    top: 5.5em;
 
@media only screen and (max-width: 120rem) {
 
/* Width of main content */
div#page-container {
     width: 80vw;
}
 
/* Margin at top of page */
 
}
}
/* Desktop 1066px# through 993px# */
@media only screen and (max-width: 66.625rem) {


h1#firstHeading {
h1#firstHeading {
Line 327: Line 657:
}
}


/* Desktop 712px# through 647px# (navbar total collapse width) */
/* Desktop 993px# through 712px# */


@media only screen and (max-width: 44.5em) {
@media only screen and (max-width: 62.063em) {


#recentupdates {
h1#firstHeading {
     left: 5.4vw;
     font-size: 1.5rem;
    width: 200px;
}
    top: 5.5em;


}
}
/* Desktop 712px# through 647px# */
@media only screen and (max-width: 44.5em) {


h1#firstHeading {
h1#firstHeading {
Line 347: Line 680:


@media only screen and (max-width: 40.438rem) {
@media only screen and (max-width: 40.438rem) {
#recentupdates {
    left: 5.4vw;
    width: 200px;
    top: 5.5em;
}


h1#firstHeading {
h1#firstHeading {
Line 370: Line 697:


/* Margin at top of page */
/* Margin at top of page */
div#main-content {
    margin-top: 7em !important;
    margin-bottom: 0.7em;
}


/* TOC Positioning */
/* TOC Positioning */
Line 417: Line 739:
max-width: 55vw;
max-width: 55vw;
}
}


}
}
Line 424: Line 745:


@media only screen and (max-width: 40rem) {
@media only screen and (max-width: 40rem) {
#sidebarlogo {
display: none !important;
}
h1#firstHeading {
    margin-top: 1em !important;
}
i.far.fa-comments {
margin-top: 0 !important;
}
a#actions-button {
    margin-top: 0.5em !important;
}


/* Top navigation bar height */
/* Top navigation bar height */


.top-bar {
.top-bar {
     height: 3.7rem;
     height: 4rem;
}
}


Line 443: Line 780:


/* Margin at top of page */
/* Margin at top of page */
div#main-content {
    margin-top: 4em !important;
    margin-bottom: 0.7em;
}


/* Hide TOC */
/* Hide TOC */
Line 459: Line 791:
input#searchInput {
input#searchInput {
     width: 190px;
     width: 190px;
}
/* Recent Updates Positioning */
#recentupdates {
    display: none;
}
}


Line 506: Line 832:
max-width: 90vw;
max-width: 90vw;
}
}


}
}
Line 515: Line 840:


@media only screen and (max-width: 120rem) {
@media only screen and (max-width: 120rem) {
div#p-cactions:has(> #actions) {
    margin-top: -1em;
}


}
}


@media only screen and (max-width: 66.625rem) {
@media only screen and (max-width: 66.625rem) {
div#p-cactions:has(> #actions) {
    margin-top: 1.5em;
}


}
}


@media only screen and (max-width: 62.063rem) {
@media only screen and (max-width: 62.063rem) {
div#p-cactions:has(> #actions) {
    margin-top: -0.3em;
}


footer.row:has(> #footer > #footer-left > #footer-left-ul > #footer-credits) {
footer.row:has(> #footer > #footer-left > #footer-left-ul > #footer-credits) {
Line 543: Line 856:


@media only screen and (max-width: 44.5rem) {
@media only screen and (max-width: 44.5rem) {
div#p-cactions:has(> #actions) {
    margin-top: 2.6em;
}


footer.row:has(> #footer > #footer-left > #footer-left-ul > #footer-credits) {
footer.row:has(> #footer > #footer-left > #footer-left-ul > #footer-credits) {
Line 555: Line 864:


@media only screen and (max-width: 40.438rem) {
@media only screen and (max-width: 40.438rem) {
div#p-cactions:has(> #actions) {
    margin-top: 5.3em;
}


footer.row:has(> #footer > #footer-left > #footer-left-ul > #footer-credits) {
footer.row:has(> #footer > #footer-left > #footer-left-ul > #footer-credits) {
Line 567: Line 872:


@media only screen and (max-width: 40rem) {
@media only screen and (max-width: 40rem) {
div#p-cactions:has(> #actions) {
    margin-top: -0.4rem;
}


footer.row:has(> #footer > #footer-left > #footer-left-ul > #footer-credits) {
footer.row:has(> #footer > #footer-left > #footer-left-ul > #footer-credits) {
Line 588: Line 889:
}
}


.fullImageLink img {
.sectionToggles {
     max-width: 90vw;
     text-align: right;
    width: 100%;
}
}


.mw_metadata {
button.collapseAll {
     max-width: 400px;
     margin-left: 0.8em;
    width: auto!important;
}
}


.mw-rcfilters-ui-filterWrapperWidget {
#scrollToTop {
    width: 95%;
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99900;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
}
}


.mw-search-results-container, .mw-search-results-info {
#scrollToTop img {
    float: left;
  width: 20px;
    width: 100% !important;
}
}


/* Page Body Font Sizes */
#ca-talk {
 
  display: none;
div#mw-clearyourcache ul li {
    font-size: 0.8em;
}
}


pre.mw-code.mw-css {
#talkpagelink {
    font-size: 0.9em;
  width: 30px;
  position: absolute;
  right: 1em;
  top: 0.3em;
}
}


ul, ol, dl {
@media only screen and (max-width: 69rem) {
font-size: 0.9rem;
}


p {
table.mobiletoc {
font-size: 0.9rem;
    top: 10em;
}
}


.crowdsource-warning {
#sidebarlogo {
font-size: 0.9rem;
    top: 2em;
}
}
/* Category section */
#catlinks {
    border-top: 1px solid lightgray !important;
    padding: 0.25rem;
    padding-top: 1rem;
    margin-top: 1em;
    border: none;
}
}


/* Search padding */
@media only screen and (max-width: 62.063rem) {


#mw-content-text .mw-search-results {
table.mobiletoc {
    margin-top: -5px;
}
}


.mw-search-result-heading {
#sidebarlogo {
     margin-top: -0.7em;
     top: 1em;
left: 4vw;
}
}


#mw-search-top-table div.oo-ui-actionFieldLayout {
#sidebarlogo img {
     float: left;
     height: 100px;
    width: 55vw;
}
}
.mw-search-results-container {
    margin-top: 1.2em;
}
}


@media only screen and (max-width: 42.5rem) {


table.mobiletoc {
    top: 18em;
}


div#mw-search-top-table button {
#sidebarlogo {
     height: 2.31em;
     top: 4em;
left: 4vw;
}
}


.mw-search-profile-tabs {
#sidebarlogo img {
     margin-top: 1em;
     height: 100px;
}
}
div#main-content {
width: 100%;
}
}

Latest revision as of 20:48, 4 November 2024

/* The CSS added here will affect both desktop and mobile users. Before finishing, please ensure that the style works well on all devices. Edit this CSS with caution, it can cause big changes!

This CSS page contains formatting for the site as a whole. If you're looking for formatting for the more specific, in-article elements, check https://grousehouse.wiki/MediaWiki:Common.css!

Table of Contents (you can search the page for these titles to jump straight there):
• Headers and text
    • Collapsible headers
    • Text sizing
• Image fixes
• Search page
• Wiki editor
• Comments pages
• Category section and footer
• Recent updates and TOC
• Content removal
• Spacing and broken content fixes
• Important scaling for main content

/* Headers and text */
/* Collapsible headers */

.c-header span:before {
    background-repeat: no-repeat;
    background-size: 100% auto;
    content: '';
    display: block;
    height: 12px;
    margin: 0.1em 0.8em;
    min-height: 1.1em;
    width: 12px;
    position: relative;
    top: 1.455em;
left: -2em;
}

.c-header {
margin-top: -1em;
}

.c-header {
    border-bottom: 1px solid lightgray;
    padding-bottom: 0.4em;
}

.h-static {
    border-bottom: 1px solid lightgray;
    padding-bottom: 0.4em;
}

.c-header.hidden:last-of-type {
    border: none;
}

h3.c-header {
    padding-left: 0.3em;
}

.c-header.hidden span:before {
    background-image: url(https://grousehouse.wiki/images/6/62/Downarrow.png);
}

.c-header.active span:before {
    background-image: url(https://grousehouse.wiki/images/3/37/Uparrow.png);
}

.c-header {
    margin-left: 1em;
}

.c-header.active {
    margin-left: 1em;
}

.c-content {
  display: none;
  overflow: hidden;
}

h2.h-static {
font-size: 1.3rem !important;
}

h3.h-static {
font-size: 1.0rem !important;
}

h2 {
font-size: 0em;
}

h2.c-header.active {
font-size: 1.3em;
}

h2.c-header.hidden {
font-size: 1.3em;
}

h3 {
font-size: 0em;
}

h3.c-header.active {
font-size: 1.1em;
}

h3.c-header.hidden {
font-size: 1.1em;
}


/* Text sizing */

h1#firstHeading {
font-weight: bold;
}

/* Page Body Font Sizes */

div#mw-clearyourcache ul li {
    font-size: 0.8em;
}

pre.mw-code.mw-css {
    font-size: 0.9em;
}

ul, ol, dl {
font-size: 0.9rem;
}

p {
font-size: 0.9rem;
}

.crowdsource-warning {
font-size: 0.9rem;
}


/* Image fixes */
/* Search page */

/* Results values (1 - 3, etc) */

.results-info {
    margin-bottom: -1em;
}

/* Create this page line */

p.mw-search-createlink {
    margin-top: -0.8em;
}

/* Start of search results container */

.mw-search-results-container {
    margin-top: 1.2em;
}
/* Search button */

div#mw-search-top-table button {
    height: 2.33em;
}

.mw-search-profile-tabs {
    margin-top: 1em;
}

/* Search Bar Length */

input#searchInput {
    width: 190px;
}

/* Search padding */

#mw-content-text .mw-search-results {
    margin-top: -5px;
}

.mw-search-result-heading {
    margin-top: -0.7em;
}

#mw-search-top-table div.oo-ui-actionFieldLayout {
    float: left;
    width: 55vw;
}

.mw-search-results-container {
    margin-top: 1.2em;
}

div#mw-search-top-table button {
    height: 2.31em;
}

.mw-search-profile-tabs {
    margin-top: 1em;
}

/* Wiki editor */

.wikiEditor-ui-toolbar .tabs span.tab a {
    color: #5388a0 !important;
    cursor: pointer;
    display: block;
    height: 32px;
    padding-left: 18px;
    padding-right: 12px;
}

#msupload-dropzone {
    margin: 3px;
    padding: 5px;
    border: 1px dashed #aaaaaa;
    text-align: center;
    height: 38px !important;
    color: #222222;
}

.wikiEditor-ui-toolbar .booklet > .index > .current {
    background-color: #5388a03d !important;
    color: #5388a0 !important;
}

/* Comments pages */

span.c-score-title {
    display: none;
}

.c-item {
    width: 100%;
}

textarea#comment {
    width: 100%;
}

div#spy {
    display: none;
}

.c-order {
    display: none;
}

.c-form-message {
    display: none;
}

/* Category section and footer */

/* Category section */

#catlinks {
    border-top: 1px solid lightgray !important;
    padding: 0.25rem;
    padding-top: 1rem;
    margin-top: 1em;
    border: none;
}

/* Footer Links */

span#footer-credits:after {
    content: "\A";
    white-space: pre;
}

span#footer-about:after {
    content: " | ";
}

span#footer-disclaimers:after {
    content: " | ";
}

span#footer-mobileview:after {
    content: " | ";
}

/* Footer Height */

footer.row {
height: 6.5em;
}

/* Recent updates and TOC */

/* Recent updates */

#recentupdates {
width: 38%;
  height: 500px;
  overflow: auto;
  background-color: #d4d4d4;
  margin: 0.5em;
}

div#updatestitle {
  background: #b0b0b0;
  margin-top: -0.8em;
}

div#updatestitle h3 {
border-bottom: 1px solid black;
  padding-bottom: ;
  padding-top: 1em;
  padding-bottom: 1em;
  padding-left: 1em;
}

div#updatedate {
    font-style: italic;
    font-size: 0.9em;
    padding-top: 1em;
}

div#updatecontent {
    border-bottom: 1px solid #bfbbbb;
    padding-bottom: 1em;
}

.update {
margin: 1em;
}

@media only screen and (max-width: 74.125em) {
#recentupdates {
width: 100%;
}
}

/* Mobile TOC */

#sidebarlogo {
position: fixed;
  top: 0.5em;
  left: 9.4vw;
width: 200px;
text-align: center;
}

#sidebarlogo img {
  height: 70px;
  width: auto;
}

table.mobiletoc {
    width: 90vw;
    margin: auto;
}

.mobiletoc th {
    padding: 10px;
}

table.mobiletoc button.mw-collapsible-toggle {
    margin-left: 20px;
}

.mw-collapsible-toggle-default::before {
    content: '[';
    color: #406e83;
}

.mw-collapsible-toggle-default::after {
    content: ']';
    color: #406e83;
}

table.mobiletoc td.disclaimer {
    font-size: 0.7em;
    padding: 10px;
}

table.mobiletoc tr:nth-of-type(2) td:first-of-type {
    padding-top: 10px;
}

table.mobiletoc td.mtocl1 {
    padding: 20px;
    padding-top: 0.1em;
    padding-bottom: 0.2em;
}

table.mobiletoc td.mtocl2 {
    padding: 20px;
    padding-left: 40px;
    padding-top: 0.1em;
    padding-bottom: 0.2em;
}

table.mobiletoc tr:last-of-type td:last-of-type {
    padding-bottom: 20px;
}

/* TOC Testing */

table.mobiletoc {
display: inline;
    left: 9.4vw;
    width: 200px;
    top: 6.5em;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: fixed;
background: #b0b0b0;
    font-size: 0.8em;
}

table.mobiletoc tr {
background: #d4d4d4;
}

div#toc {
display: none;
}

@media only screen and (max-width: 62.063rem) {

table.mobiletoc {
    width: 200px;
    margin: auto;
left: 4.5vw;
    height: auto;
    overflow-y: scroll;
    font-size: 0.8em;
max-height: 80vh;
    position: fixed;
display: table;
top: 10rem;
}

#sidebarlogo {
    width: 200px;
left: 4.5vw;
    top: 2em;
}
}

@media only screen and (max-width: 40em) {
table.mobiletoc {
position: initial !important;
width: 90vw;
}

table.mobiletoc {
    background-color: #d4d4d4;
}

.mobiletoc th {
background-color: #b0b0b0;
}
}

@media only screen and (min-width: 40.01em) {
.mw-collapsible-toggle-default::before {
    display: none;
}

.mw-collapsible-toggle-default::after {
    display: none;
}

span.mw-collapsible-text {
    display: none;
}

td.disclaimer {
display: none;
}

table.mobiletoc tr {
    background: none;
}

.mobiletoc th {
    background: none;
font-size: 1.3em;
}

table.mobiletoc {
    background: none;
}
}


/* Remove extra headers from edit button fix */

.mw-headline + .mw-editsection {
  display: none;
}

h2 {
font-size: 0em;
}

h2.c-header.active {
font-size: 1.3em;
}

h2.c-header.hidden {
font-size: 1.3em;
}


/* Fix bolded headers being bolded in the TOC */

div#toc li a span b {
    font-weight: normal !important;
}

/* Content removal */

/* Removing the Namespace Labels */

h4.namespace.label {
    display: none
}

/* Spacing and broken content fixes */

div#mw-content-text {
    width: 100%;
}

#page-container {
    background: white;
    margin: 0 auto;
    display: flex;
    height: auto;
    min-height: 92.4vh;
}

div#mw-imagepage-section-filehistory {
    max-width: 55vw;
    width: auto;
    overflow: scroll;
}

.mw-rcfilters-ui-changesListWrapperWidget {
    position: relative;
    max-width: 89vw;
    width: auto;
    overflow: scroll;
}

.fullImageLink img {
    max-width: 90vw;
    width: 100%;
}

.mw_metadata {
    max-width: 400px;
    width: auto!important;
}

.mw-rcfilters-ui-filterWrapperWidget {
    width: 95%;
}

.mw-search-results-container, .mw-search-results-info {
    float: left;
    width: 100% !important;
}

/* Fixing top margin for logged-in users */

h1#firstHeading {
    margin-top: 0.2em !important;
    margin-bottom: 1em;
}

a#actions-button {
margin-top: 0 !important;
}

/* Fixing breaking content */

div#uploadtext {
    overflow: scroll;

}

div#p-cactions {
    text-wrap: wrap;
    word-break: break-word;
}

/* Flex container for tables that won't stay within bounds */

.flexcontainer {
    display: flex;
    flex-direction: column;
    width: 40vw;
    margin: auto;
}

@media only screen and (max-width: 40em) {

.flexcontainer {
    width: 90vw;
    margin: auto;
}

}

/* Fixing headers that get duplicated because they contain punctuation (please why) */

span[id*='.27'] {
    display: none;
}

span[id*='.3F'] {
    display: none;
}

span[id*='.2C'] {
    display: none;
}

span[id*='.2F'] {
    display: none;
}



/* Important scaling for main content */

/* Desktop 1920px# through 1281px#*/

@media only screen and (max-width: 120rem) {

/* Width of main content */
div#page-container {
    width: 80vw;
}

/* Margin at top of page */

}
 
/* Desktop 1066px# through 993px# */

@media only screen and (max-width: 66.625rem) {

h1#firstHeading {
    font-size: 1.5rem;
}

}

/* Desktop 993px# through 712px# */

@media only screen and (max-width: 62.063em) {

h1#firstHeading {
    font-size: 1.5rem;
}

}

/* Desktop 712px# through 647px# */

@media only screen and (max-width: 44.5em) {

h1#firstHeading {
    font-size: 1.2rem;
}

}

/* Desktop 647px# through 640px# (navbar total collapse width) */

@media only screen and (max-width: 40.438rem) {

h1#firstHeading {
    font-size: 1.1rem;
}

}

/* Desktop 993px# through 641px# (navbar total collapse width) */

@media only screen and (max-width: 62.063rem) {

/* Width of main content */
div#page-container {
    width: 90vw;
}

/* Margin at top of page */

/* TOC Positioning */

div#toc {
    left: 4.5vw;
    width: 200px;
    top: 8em;
}

/* Search Bar Length */

input#searchInput {
    width: 190px;
}

/* Footer Height */

footer.row {
height: 7em;
}

div#mw-content-text {
    width: 100%;
}

div#mw-imagepage-section-filehistory {
    max-width: 55vw;
    width: auto;
    overflow: scroll;
}

.mw-rcfilters-ui-changesListWrapperWidget {
    position: relative;
    max-width: 89vw;
    width: auto;
    overflow: scroll;
    font-size: 0.8em;
}

#filetoc {
max-width: 55vw;
}

}

/* Mobile 640px# and under (navbar total collapse width) */

@media only screen and (max-width: 40rem) {

#sidebarlogo {
display: none !important;
}

h1#firstHeading {
    margin-top: 1em !important;
}

i.far.fa-comments {
margin-top: 0 !important;
}

a#actions-button {
    margin-top: 0.5em !important;
}

/* Top navigation bar height */

.top-bar {
    height: 4rem;
}

/* Hide sidebar */

div#sidebar {
    display: none;
}

/* Width of main content */
div#page-container {
    width: 100vw;
}

/* Margin at top of page */

/* Hide TOC */

div#toc {
    display: none
}

/* Search Bar Length */

input#searchInput {
    width: 190px;
}

/* Footer Height */

footer.row {
height: 9em;
}

/* Top navigation on mobile */

.top-bar-section .has-dropdown {
margin-right: 0px !important;
}

/* Elements that break out on mobile */

.mw-rcfilters-ui-changesListWrapperWidget {
    max-width: 89vw;
    overflow: scroll;
    font-size: 0.8em
}

div#mw-content-text {
    width: 100%;
}

@supports (aspect-ratio:16 / 9)
#file img {
    max-width: 100%;
    height: auto;
}

div#mw-imagepage-section-filehistory {
    max-width: 90vw;
    width: auto;
    overflow: scroll;
}

#filetoc {
max-width: 90vw;
}

}

/* Adjustments for Logged-in Users */

/* Desktop 1280px# through 1067px# (navbar collapse width) */

@media only screen and (max-width: 120rem) {

}

@media only screen and (max-width: 66.625rem) {

}

@media only screen and (max-width: 62.063rem) {

footer.row:has(> #footer > #footer-left > #footer-left-ul > #footer-credits) {
    height: 10em;
}

}

@media only screen and (max-width: 44.5rem) {

footer.row:has(> #footer > #footer-left > #footer-left-ul > #footer-credits) {
    height: 10em;
}

}

@media only screen and (max-width: 40.438rem) {

footer.row:has(> #footer > #footer-left > #footer-left-ul > #footer-credits) {
    height: 10em;
}

}

@media only screen and (max-width: 40rem) {

footer.row:has(> #footer > #footer-left > #footer-left-ul > #footer-credits) {
    height: 14em;
}

}

/* Remove footer if height is small to fix keyboard bug on mobile */

@media only screen and (max-height: 25rem) {

footer.row {
display: none;
}

}

.sectionToggles {
    text-align: right;
}

button.collapseAll {
    margin-left: 0.8em;
}

#scrollToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99900; 
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
}

#scrollToTop img {
  width: 20px;
}

#ca-talk {
  display: none;
}

#talkpagelink {
  width: 30px;
  position: absolute;
  right: 1em;
  top: 0.3em;
}

@media only screen and (max-width: 69rem) { 

table.mobiletoc {
    top: 10em;
}

#sidebarlogo {
    top: 2em;
}
}

@media only screen and (max-width: 62.063rem) {

table.mobiletoc {
}

#sidebarlogo {
    top: 1em;
left: 4vw;
}

#sidebarlogo img {
    height: 100px;
}
}

@media only screen and (max-width: 42.5rem) {

table.mobiletoc {
    top: 18em;
}

#sidebarlogo {
    top: 4em;
left: 4vw;
}

#sidebarlogo img {
    height: 100px;
}
}