MediaWiki

Foreground.css: Difference between revisions

From Grouse House Wiki

No edit summary
No edit summary
 
(108 intermediate revisions by 2 users 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 */


h2 span.mw-headline:before {
.c-header span:before {
    background-image: url(http://grousehouse.wiki/images/6/62/Downarrow.png);
    background-position: 50% 50%;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-size: 100% auto;
     background-size: 100% auto;
Line 30: 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;
}
}


h2 span.mw-headline {
.c-header {
    margin-left: 1em;
margin-top: -1em;
}
}


.c-content {
.c-header {
  display: none;
    border-bottom: 1px solid lightgray;
  overflow: hidden;
    padding-bottom: 0.4em;
}
}


/* Mediawiki Source Code */
.h-static {
    border-bottom: 1px solid lightgray;
    padding-bottom: 0.4em;
}


html, body {
.c-header.hidden:last-of-type {
  height: 100%; }
    border: none;
}


*,
h3.c-header {
*:before,
    padding-left: 0.3em;
*:after {
}
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }


html,
.c-header.hidden span:before {
body {
    background-image: url(https://grousehouse.wiki/images/6/62/Downarrow.png);
  font-size: 100%; }
}


body {
.c-header.active span:before {
  background: url(https://cdn.discordapp.com/attachments/900526684825075722/1201629075744247960/Grousewikibackground.png?ex=65ca8348&is=65b80e48&hm=fa36c10d11db35da30e3dfe8ef7fd5bd6f63e82d7c6fc7b222034297f81ac8f9&) top left fixed;
    background-image: url(https://grousehouse.wiki/images/3/37/Uparrow.png);
  color: #222;
}
  cursor: auto;
  font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: normal;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  position: relative; }


#page-container {
.c-header {
    background: white;
     margin-left: 1em;
    width: 80vw;
     margin: 0 auto;
    display: flex;
    height: auto;
    min-height: 88.4vh;
}
}


#sidebar {
.c-header.active {
     flex: 0 0 200px;
     margin-left: 1em;
    background: #d4d4d4;
}
}


a:hover {
.c-content {
   cursor: pointer; }
  display: none;
   overflow: hidden;
}


img {
h2.h-static {
  max-width: 100%;
font-size: 1.3rem !important;
  height: auto; }
}
 
img {
  -ms-interpolation-mode: bicubic; }
 
/* Moving TOC */


#toc, .toc {
h3.h-static {
    padding: 1em 1em;
font-size: 1.0rem !important;
    border: none !important;
    display: block;
    margin: 1.5em 0;
    position: fixed !important;
    left: 9.5%;
    top: 7%;
    width: 200px;
}
}


h2#mw-toc-heading {
h2 {
    font-size: 0px;
font-size: 0em;
text-align:center;
}
}


h2#mw-toc-heading:before {
h2.c-header.active {
    content: "Table of Contents";
font-size: 1.3em;
    font-size: 15px;
    font-weight: bold;
}
}


#toc ul {
h2.c-header.hidden {
    font-size: 12px;
font-size: 1.3em;
}
}


li[class*="toclevel-2"] {
h3 {
    margin-left: -12px;
font-size: 0em;
}
}


li[class*="toclevel-3"] {
h3.c-header.active {
    display: none;
font-size: 1.1em;
}
}


#toc ul, .toc ul {
h3.c-header.hidden {
    list-style-type: none;
font-size: 1.1em;
    list-style-image: none;
    padding: 0;
    width: 90%;
}
}


span.tocnumber {
    display: none;
}


/* Sticky Navbar */
/* Text sizing */


div#navwrapper {
h1#firstHeading {
    position: fixed;
font-weight: bold;
    width: 100%;
    z-index: 999;
}
}


/* Footer */
/* Page Body Font Sizes */


footer.row {
div#mw-clearyourcache ul li {
     background: #252525;
     font-size: 0.8em;
    margin-top: 0 !important;
    z-index: 999;
    position: absolute;
    padding: 10px;
    color: white;
    height: 15vh;
}
}


span#footer-privacy {
pre.mw-code.mw-css {
     display: none;
     font-size: 0.9em;
}
}


a.new {
ul, ol, dl {
    color: #5388a0;
font-size: 0.9rem;
}
}


div#footer-right-icons {
p {
    display: none;
font-size: 0.9rem;
}
 
div#footer-left p {
    font-size: 13px;
}
}


div#footer {
.crowdsource-warning {
    margin-top: 5px;
font-size: 0.9rem;
}
}


/* Recent Updates */


#recentupdates {
/* Image fixes */
padding: 1em 1em;
/* Search page */
    border: none !important;
    display: block;
    margin: 1.5em 0;
    position: fixed !important;
    left: 9.5%;
    top: 7%;
    width: 200px;
}


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


input[type="checkbox"] {
.results-info {
accent-color: #5388a0;
    margin-bottom: -1em;
}
}


a#actions-button {
/* Create this page line */
padding: 10px;
background-color: #d4d4d4;
    border: none;
    color: #252525;
margin: 0;
margin-top: 1.5vh;
}


.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:checked + span {
p.mw-search-createlink {
     background-color: #5388a0;
     margin-top: -0.8em;
    border: none;
}
}


.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
/* Start of search results container */
    color: #fff;
    background-color: #5388a0;
    border: none;
}


.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
.mw-search-results-container {
     color: #fff;
     margin-top: 1.2em;
    background-color: #406e83;
    border: none;
}
}
/* Search button */


.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span {
div#mw-search-top-table button {
     border-color: #5388a0;
     height: 2.33em;
}
}


.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
.mw-search-profile-tabs {
     color: #5388a0;
     margin-top: 1em;
}
}


.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
/* Search Bar Length */
    color: #406e83;
}


.oo-ui-image-progressive.oo-ui-icon-first, .mw-ui-icon-first-progressive:before {
input#searchInput {
     background-image: url(data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E first %3C/title%3E%3Cg fill=%22%235388a0%22%3E%3Cpath d=%22M3 1h2v18H3zm13.5 1.5L15 1l-9 9 9 9 1.5-1.5L9 10z%22/%3E%3C/g%3E%3C/svg%3E);
     width: 190px;
}
}


.oo-ui-image-progressive.oo-ui-icon-previous, .mw-ui-icon-previous-progressive:before {
/* Search padding */
    background-image: url(data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E previous %3C/title%3E%3Cg fill=%22%235388a0%22%3E%3Cpath d=%22m4 10 9 9 1.4-1.5L7 10l7.4-7.5L13 1z%22/%3E%3C/g%3E%3C/svg%3E);
}


.oo-ui-image-progressive.oo-ui-icon-next, .mw-ui-icon-next-progressive:before {
#mw-content-text .mw-search-results {
     background-image: url(data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E next %3C/title%3E%3Cg fill=%22%235388a0%22%3E%3Cpath d=%22M7 1 5.6 2.5 13 10l-7.4 7.5L7 19l9-9z%22/%3E%3C/g%3E%3C/svg%3E);
     margin-top: -5px;
}
}


.oo-ui-image-progressive.oo-ui-icon-last, .mw-ui-icon-last-progressive:before {
.mw-search-result-heading {
     background-image: url(data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E last %3C/title%3E%3Cg fill=%22%235388a0%22%3E%3Cpath d=%22M15 1h2v18h-2zM3.5 2.5 11 10l-7.5 7.5L5 19l9-9-9-9z%22/%3E%3C/g%3E%3C/svg%3E);
     margin-top: -0.7em;
}
}


.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
#mw-search-top-table div.oo-ui-actionFieldLayout {
     color: #5388a0 !important;
     float: left;
    width: 55vw;
}
}


.mw-collapsible-toggle-default .mw-collapsible-text {
.mw-search-results-container {
     color: #406e83 !important;
     margin-top: 1.2em;
}
}


div#mw-indicator-mw-helplink {
div#mw-search-top-table button {
     display: none;
     height: 2.31em;
}
}


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


 
/* Wiki editor */
 
/* Wiki Editor */


.wikiEditor-ui-toolbar .tabs span.tab a {
.wikiEditor-ui-toolbar .tabs span.tab a {
Line 287: Line 212:
     padding-right: 12px;
     padding-right: 12px;
}
}


#msupload-dropzone {
#msupload-dropzone {
Line 302: 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 323: Line 284:
}
}


/* Main Content Adjustment */
/* Footer Height */
 
footer.row {
height: 6.5em;
}


/* Largest */
/* Recent updates and TOC */


@media only screen and (min-width: 59.875em) {
/* Recent updates */


#main-content {
#recentupdates {
width: 100%;  
width: 38%;
margin-top: 7vh !important;
  height: 500px;
margin-bottom: 10%;
  overflow: auto;
font-size: 13px;
  background-color: #d4d4d4;
  margin: 0.5em;
}
}


#toc, .toc {
div#updatestitle {
    top: 8vh !important;
  background: #b0b0b0;
  margin-top: -0.8em;
}
}


#recentupdates {
div#updatestitle h3 {
    top: 8vh !important;
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;
}
}


/* Midsize */
div#updatecontent {
 
    border-bottom: 1px solid #bfbbbb;
@media only screen and (min-width: 40.063em) {
    padding-bottom: 1em;
 
#main-content {
width: 100%;
margin-top: 12vh;
margin-bottom: 10%;
font-size: 13px;
}
}


#toc, .toc {
.update {
    top: 10vh;
margin: 1em;
}
}


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


/* Smallest */
/* Mobile TOC */


@media only screen and (max-width: 41.688em) {
#sidebarlogo {
position: fixed;
  top: 0.5em;
  left: 9.4vw;
width: 200px;
text-align: center;
}


#main-content {
#sidebarlogo img {
    width: 100%;
  height: 70px;
    margin-top: 6vh;
  width: auto;
    margin-bottom: 10%;
font-size: 12px;
}
}
table.mobiletoc {
    width: 90vw;
    margin: auto;
}
}


h1#firstHeading {
.mobiletoc th {
     margin-top: 2vh;
     padding: 10px;
margin-bottom: 17px;
}
}


pre.mw-code.mw-css {
table.mobiletoc button.mw-collapsible-toggle {
     overflow: scroll;
     margin-left: 20px;
    width: 67vw;
    max-width: 80vw;
}
}


/* Foreground Source Code */
.mw-collapsible-toggle-default::before {
    content: '[';
    color: #406e83;
}


body {
.mw-collapsible-toggle-default::after {
line-height: 1.6em;
    content: ']';
    color: #406e83;
}
}
p {
 
margin-bottom: 0.25em;
table.mobiletoc td.disclaimer {
    font-size: 0.7em;
    padding: 10px;
}
}
#page-content {
 
margin: 0 0 0;
table.mobiletoc tr:nth-of-type(2) td:first-of-type {
    padding-top: 10px;
}
}
.row {
 
table.mobiletoc td.mtocl1 {
    padding: 20px;
    padding-top: 0.1em;
    padding-bottom: 0.2em;
}
}
a.label:hover, a.label:focus {
color: white;
}
a.label.new {
background-color: #d0d0d0;
}
a#actions-button {
float: right;
z-index: 499;
}
/* rtl an ltr */


[dir=ltr] * {
table.mobiletoc td.mtocl2 {
direction: ltr;
    padding: 20px;
}
    padding-left: 40px;
[dir=rtl] * {
    padding-top: 0.1em;
direction: rtl;
    padding-bottom: 0.2em;
}
[dir=ltr] {
direction: ltr;
}
[dir=rtl] {
direction: rtl;
}
}


/* Reset all table CSS from Foundation styles back to MediaWiki */
table.mobiletoc tr:last-of-type td:last-of-type {
table { width: 0; }
    padding-bottom: 20px;
td.mw-label { width: 0; }
td.smwpropname, th.smwpropname, td.smwspecname { text-align: inherit; }
table tbody tr td, table tr td { line-height: inherit; }
table { background: transparent; margin-bottom: 1.25em; border: 0; }
table thead, table tfoot { background: 0; font-weight: normal; }
table thead tr th, table thead tr td, table tfoot tr th, table tfoot tr td { padding: 0; font-size: 100%; color: inherit; text-align: inherit; }
table tr th, table tr td { padding: 0; font-size: 100%; color: inherit; }
table tr.even, table tr.alt, table tr:nth-of-type(even) { background: transparent; }
table thead tr th, table tfoot tr th, table tbody tr td, table tr td, table tfoot tr td { display: table-cell; line-height: inherit; text-align: inherit; }
 
/* wikitable classes reset */
table.wikitable {
  margin: 1em 0;
}
table.wikitable > tr > th,
table.wikitable > * > tr > th {
  text-align: inherit;
}
}


/* Style MW Table of Contents */
/* TOC Testing */


.toctoggle, .toctoggle a {
table.mobiletoc {
line-height: 2em;
display: inline;
display: inline;
    left: 9.4vw;
vertical-align: top;
    width: 200px;
}
    top: 6.5em;
#toctitle h2 {
    max-height: 90vh;
display: inline;
    overflow-y: auto;
font-size: 1.8rem;
    overflow-x: hidden;
}
    position: fixed;
#toc, .toc {
background: #b0b0b0;
padding: 1em 1em;
    font-size: 0.8em;
border: none;
display: block;
}
#toc ul, .toc ul {
list-style-type: none;
list-style-image: none;
padding: 0;
width: auto;
}
}


/* Hide the page actions button for special pages (cuz there's nothing in it) */
table.mobiletoc tr {
 
background: #d4d4d4;
.mw-special-FormEdit a#actions-button, .ns-special a#actions-button {
display: none;
}
}


/* Hide some rows on form-edit (e.g. a thing's title) */
div#toc {
 
display: none;
body.action-formedit .row.hide-on-form-edit {
display: none;
}
}


/* Move the MediaWiki notification area so it isn't on top of the Action menu */
@media only screen and (max-width: 62.063rem) {


.mw-notification-area {
table.mobiletoc {
margin-top: 2em;
    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;
}
}


/* Also adjust z-index of action menu to force it on top */
#sidebarlogo {
 
    width: 200px;
#p-cactions #actions {
left: 4.5vw;
z-index: 500;
    top: 2em;
white-space: nowrap;
}
}
#p-cactions #actions a {
width: 100%;
text-align: left;
}
}


/* Make sure top bar is even more z-indx! */
@media only screen and (max-width: 40em) {
table.mobiletoc {
position: initial !important;
width: 90vw;
}


#toolbox-dropdown {
table.mobiletoc {
z-index: 601;
    background-color: #d4d4d4;
}
#personal-tools-dropdown {
z-index: 601;
}
}


/* Dropdown Icon Alignment */
.mobiletoc th {
 
background-color: #b0b0b0;
.drop-icon {
display: inline;
margin-right: 4px;
}
}
td.mw-submit a, .htmlform-tip, #mw-upload-permitted p {
font-size: 90%;
}
}
alert.label a {
 
color: pink;
@media only screen and (min-width: 40.01em) {
.mw-collapsible-toggle-default::before {
    display: none;
}
}
code {
 
font-weight: normal;
.mw-collapsible-toggle-default::after {
color: #222222;
    display: none;
}
}
small {
 
font-size: 80%;
span.mw-collapsible-text {
    display: none;
}
}
h4.namespace.label {
 
font-size: 1rem;
td.disclaimer {
display: inline-block;
display: none;
margin-bottom: 0.5rem;
}
}
.label {
 
padding-bottom: 0.39em;
table.mobiletoc tr {
    background: none;
}
}
h2 span {
 
display: inline-block;
.mobiletoc th {
    background: none;
font-size: 1.3em;
}
}
h2.title {
 
margin-bottom: 0.1em;
table.mobiletoc {
    background: none;
}
}
h3#tagline {
display: none;
}
.clear_both {
clear: both;
}
.large-2 strong, .large-2 b {
display: block;
}
.large-2 strong, .large-2 b, table th {
font-size: 0.875em;
color: #4d4d4d;
font-weight: 500;
}
}


/* LAYOUT */


.row .row {
/* Remove extra headers from edit button fix */
margin-bottom: 0.9em;
 
.mw-headline + .mw-editsection {
  display: none;
}
}
div.small-10 .row {
 
margin: 1em 0 0 0;
h2 {
font-size: 0em;
}
}
div.small-9.columns textarea {
 
margin-bottom: 0.25em;
h2.c-header.active {
font-size: 1.3em;
}
}
footer.row {
 
margin-top: 2em;
h2.c-header.hidden {
color: grey;
font-size: 1.3em;
}
div {
line-height: 1.60em;
}
}


/* NOTICES, ALERTS, WARNINGS */


div#userloginprompt, p#userloginlink {
/* Fix bolded headers being bolded in the TOC */
font-size: 80%;
 
div#toc li a span b {
    font-weight: normal !important;
}
}


/* LISTS */
/* Content removal */
 
/* Removing the Namespace Labels */


ul#actions.f-dropdown {
h4.namespace.label {
margin-left: 0;
    display: none
margin-top: .5em;
margin-bottom: .25em;
padding: .25em;
}
}


dl {
/* Spacing and broken content fixes */
    margin-bottom: 0em;
    margin-top: .75em;
}


/* Override MW legacy.module for all skins styling of ul and ol */
div#mw-content-text {
.mw-content-ltr ul,
    width: 100%;
.mw-content-rtl .mw-content-ltr ul {
/* @noflip */
margin: 0.5em 0 0 2em;
padding: 0;
}
}


.mw-content-rtl ul,
#page-container {
.mw-content-ltr .mw-content-rtl ul {
    background: white;
/* @noflip */
    margin: 0 auto;
margin: 0.5em 2em 0 0;
    display: flex;
padding: 0;
    height: auto;
    min-height: 92.4vh;
}
}


.mw-content-ltr ol,
div#mw-imagepage-section-filehistory {
.mw-content-rtl .mw-content-ltr ol {
    max-width: 55vw;
/* @noflip */
    width: auto;
margin: 0.5em 0 0 2em;
    overflow: scroll;
padding: 0;
}
}


.mw-content-rtl ol,
.mw-rcfilters-ui-changesListWrapperWidget {
.mw-content-ltr .mw-content-rtl ol {
    position: relative;
/* @noflip */
    max-width: 89vw;
margin: 0.5em 2em 0 0;
    width: auto;
padding: 0;
    overflow: scroll;
}
}


/* @noflip */
.fullImageLink img {
.mw-content-ltr dd,
    max-width: 90vw;
.mw-content-rtl .mw-content-ltr dd {
    width: 100%;
margin-left: 1.6em;
margin-right: 0;
}
}


/* @noflip */
.mw_metadata {
.mw-content-rtl dd,
    max-width: 400px;
.mw-content-ltr .mw-content-rtl dd {
    width: auto!important;
margin-right: 1.6em;
margin-left: 0;
}
}


/* Tabs */
.mw-rcfilters-ui-filterWrapperWidget {
 
    width: 95%;
 
/* make sure tabs ul element has no margins */
 
#mw-content-text ul.tabs {
margin: 0;
}
}


/* stop focus outline */
.mw-search-results-container, .mw-search-results-info {
 
    float: left;
.tabs dd.active>a, .tabs .tab-title.active>a:focus {
    width: 100% !important;
outline: none;
}
}


/* make sure orbit image slider has no margins */
/* Fixing top margin for logged-in users */


#mw-content-text .orbit-container ul {
h1#firstHeading {
margin: 0;
    margin-top: 0.2em !important;
}
    margin-bottom: 1em;
footer.row ul {
list-style-type: none;
margin: 0 0 1em 0;
}
footer.row ul.views.columns li {
margin-right: 1em;
}
#footer footer.row ul {
margin: 0;
list-style-type: none;
}
}


/* Make social follow float right */
a#actions-button {
 
margin-top: 0 !important;
.social-follow {
    text-align: center;
}
div.social-follow div[class*="addthis"] {
    text-align: left;
    display: inline-block;
}
}


/* end social footer classes */
/* Fixing breaking content */


#footer-left, #footer-left-ul {
div#uploadtext {
text-align: left;
    overflow: scroll;
}
#footer-left-ul {
font-size: 90%;
}


#footer-right-icons {
font-size: 85%;
text-align: center;
}
#footer-right-icons li {
display: inline-block;
text-align: center;
margin: 0 0 .5em .5em;
}
li#footer-privacy {
float: left;
margin-right: 2em;
}
li#footer-about {
float: left;
margin-right: 2em;
}
li#footer-disclaimer {
float: left;
margin-right: 2em;
}
}


.text-center #footer-left li, .text-center #footer-left-ul li {
div#p-cactions {
float: none;
    text-wrap: wrap;
margin: 0;
    word-break: break-word;
}
.text-center #footer-left, .text-center #footer-left-ul {
text-align: center;
}
@media only screen and (max-width: 641px) {
#footer-left {
text-align: center;
}
#footer-left-ul {
font-size: 85%;
}
#footer-right-icons {
font-size: 80%;
}
li#footer-privacy {
float: none;
margin-right: 0;
}
li#footer-about {
float: none;
margin-right: 0;
}
li#footer-disclaimer {
float: none;
margin-right: 0;
}
}
.columns ul.special li {
float: none;
width: 100%;
}
.columns div#uploadtext ul {
list-style-type: disc;
}
.columns div#uploadtext ul li {
float: none;
width: 95%;
margin-left: 2em;
}
#catlinks {
border: 1px solid #aaa;
padding: 0.25rem;
}
#catlinks .label {
font-size: .9rem;
}
#catlinks a.label.new {
background-color: #BA0F2A;
}
.catlinks li {
border-left: none;
}
.mw-specialpages-table td ul.columns li {
width: 50%;
}
}


/*#mw-content-text .columns li {float:none;width:90%;}*/
/* Flex container for tables that won't stay within bounds */


footer.row ul.columns li {
.flexcontainer {
display: inline;
    display: flex;
float: none;
    flex-direction: column;
}
    width: 40vw;
.columns #mw-normal-catlinks ul li {
    margin: auto;
float: none;
width: auto;
}
#mw-normal-catlinks a.new {
color: white;
}
ul.vcard {
padding: 0.5em 0.5em 0.55em 0.5em;
}
}


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


h1, h2, h3, h4, h5, h6 {
.flexcontainer {
margin-top: 0em;
    width: 90vw;
line-height: 1em;
    margin: auto;
}
}
.page-Special_SpecialPages h2 {
 
margin-bottom: 0.5em;
}
.editsection {
font-weight: normal;
font-size: 0.4em;
}
p.title {
padding: 0.9375em;
}
}


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


.mw-content-ltr table#toc {
span[id*='.27'] {
float: right;
    display: none;
width: auto;
}
}
.mw-content-rtl table#toc {
 
float: left;
span[id*='.3F'] {
width: auto;
    display: none;
}
}
table.formtable {
 
border: none;
span[id*='.2C'] {
}
    display: none;
table td[align="right"] {
text-align: right;
}
}


/* TURN OFF TABLE STRIPING FOR EDITFORMS */
span[id*='.2F'] {
 
    display: none;
table.formedit tr.even, table.formedit tr.alt, table.formedit tr:nth-of-type(even) {
background: transparent;
}
table {
width: 100%;
}
td.mw-label {
width: 20%;
}
td.mw-input {
width: 80%;
}
thead tr th {
cursor: pointer;
}
table.formtable th {
text-align: right !important;
}
td.smwpropname, th.smwpropname, td.smwspecname {
text-align: left;
}
table tbody tr td, table tr td {
line-height: 1.6em;
}
table.wikitable {
margin: 0em 0 1em 0;
}
table.wikitable>tr>th, table.wikitable>*>tr>th {
text-align: left;
}
table.wikitable>tr>th, table.wikitable>tr>td, table.wikitable>*>tr>th, table.wikitable>*>tr>td {
border: 3px #fff solid;
padding: 0.6em;
}
}


/* FORMS, INPUTS, FIELDSETS */


.multipleTemplateInstance {
background-color: white !important;
border: none !important;
border-bottom: 1px dashed #999999 !important;
}
.multipleTemplateInstance table {
border: none !important;
}
.multipleTemplateAdder {
font-size: 0.9em;
padding: 0.4125em 0.5em 0.55em 0.5em;
}
.novalue {
color: #999999;
font-style: italic;
font-size: small;
}
input[type="file"], input[type="checkbox"], input[type="radio"], select {
padding: 5px;
}
input[type="file"], select {
padding: 5px;
border: 1px solid #cccccc;
}
.inputSpan select.createboxInput, .dateInput select.monthInput, input.hourInput, input.minuteInput, input.secondInput, input.dayInput, input.yearInput, input[name="*[* date][hour]"], input[name="*[* date][minute]"], input[name="*[* date][second]"] {
width: auto;
margin-right: 1em;
}


/*
/* Important scaling for main content */
.inputSpan input.createboxInput {
  width: 100%;
}
*/


.inputSpan button, .inputSpan .button {
/* Desktop 1920px# through 1281px#*/
margin: -4px 0 0 0;
padding: 0.37em 0.75em 0.6em 0.70em;
}
.ms-selectable input[type="text"] {
width: 100%;
}
button.ui-button-icon-only {
height: 2.24em !important;
}
select {
width: auto;
}
input[type="checkbox"].createboxInput {
width: auto;
}
label.checkboxLabel {
margin-right: 0.5em;
}
.edit_with_form {
margin: -2em 0 0 0;
float: right;
}
input[type="radio"], input[type="checkbox"] {
display: inline;
}
input[type='file'] {
margin-top: 0.4em;
}
input:not([type]), textarea, p.meta {
margin-bottom: 4px;
}
label {
display: inline;
font-weight: normal;
}
.mw-input label {
font-weight: normal;
}
#mw-content-text ul.SFI_timepicker_hours, #mw-content-text ul.SFI_timepicker_minutes {
list-style-type: none;
}
#mw-content-text ul.SFI_timepicker_hours li {
margin: 2px 2px;
padding: 4px;
}
.sminput.sminput-googlemaps3 p button {
padding-top: 0.35em;
padding-bottom: 0.6em;
}
li label.inline {
margin-bottom: 2px;
padding: 0;
}
button, .button {
margin: 0.5em 0;
padding: 0.3em 0.75em 0.4em 0.75em;
}
.top-bar-logo {
max-width: 100%;
height: auto;
max-height: 2.8125rem;
/* Important! max-height must not be higher than line-height */
display: inline-block;
vertical-align: middle;
}
.top-bar .button.search {
top: 0px;
}
.top-bar .button, .top-bar button {
padding-top: .35rem;
padding-bottom: .35rem;
}
.top-bar .button.search {
margin-left: 10px;
}
.top-bar input {
top: 0px;
}
@media only screen and (min-width: 641px) {
 
.top-bar .button.search {
top: 0px;
}
.top-bar .button.search {
margin-left: -4px;
}
.top-bar {
height: auto;
}
}
.top-bar-section .dropdown {
z-index: 600;
}
input[type="submit"] {
    background-color: #5388a0;
    border: none;
    padding: 5px;
    color: white;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: background-color 300ms ease-out;
    -moz-transition: background-color 300ms ease-out;
    transition: background-color 300ms ease-out;
}
input#wpPreview {
background-color: #5da423;
border-color: #457a1a;
color: white;
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
-webkit-transition: background-color 300ms ease-out;
-moz-transition: background-color 300ms ease-out;
transition: background-color 300ms ease-out;
}
.editButtons input[type="submit"] {
display: inline-block;
}
legend {
font-size: 0.875em;
color: #4d4d4d;
cursor: pointer;
display: block;
font-weight: 500;
}
fieldset {
line-height: 1.6em;
padding: 0 1.25em 1em 1.25em;
margin-top: 0;
}
span.smwbuiltin, span.smwttactiveinline span.smwbuiltin {
font-style: normal;
}


/* MW still generates a label column for checkboxes, this minimizes is */
@media only screen and (max-width: 120rem) {


div.mw-htmlform-field-HTMLCheckField div.mw-label {
/* Width of main content */
height: 0;
div#page-container {
    width: 80vw;
}
}


/* UNTIL I CAN DETERMINE WHY toolboxend GENERATES AN EMPTY <li> IN THE MENU, I'M HIDING IT */
/* Margin at top of page */


#p-toolboxend {
display: none;
}
}
/* Desktop 1066px# through 993px# */


/* firstHeading Fix */
@media only screen and (max-width: 66.625rem) {


h1#firstHeading {
h1#firstHeading {
     font-size: 1.5rem;
     font-size: 1.5rem;
margin-bottom: 17px;
font-weight: bold;
}
}


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


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


@media only screen and (min-width: 40.0625em) {
h1#firstHeading {
h1#firstHeading {
font-size: 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
margin-bottom: 17px;
}
}
}
}


/* Don't like the black top bar? Copy this into your Foreground.css and change the colors
/* Desktop 712px# through 647px# */


.top-bar,
@media only screen and (max-width: 44.5em) {
.top-bar-section ul,
.top-bar-section ul li.active > a,
.top-bar-section li a:not(.button),
.top-bar-section .has-form {
    background: #333333;
}


 
h1#firstHeading {
.top-bar-section > ul > .divider,
    font-size: 1.2rem;
.top-bar-section > ul > [role="separator"] {
  border-color: black;
}
}


*/
.vertical-divider {
width: 100%;
display: block;
background: #1A1A1A;
height: 1px;
}
.top-bar-section li.active:not(.has-form) a:not(.button), .top-bar-section li.active:not(.has-form) a:hover:not(.button) {
background: inherit;
}
.top-bar input {
width: auto;
display: inline;
}
}


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


#pt-uls a.uls-trigger {
@media only screen and (max-width: 40.438rem) {
padding-left: 15px !important;
}


/* Orbit Slider Overrides for MW */
h1#firstHeading {
 
    font-size: 1.1rem;
.orbit-container .orbit-slides-container img {
width: 100%;
}
.orbit-bullets {
margin: 0 auto 30px auto !important;
}
}


/* Block-Grid UL fixes */
ul[class*="block-grid"] {
margin: 0;
}
}


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


/* lable of toolbar */
@media only screen and (max-width: 62.063rem) {


.wikiEditor-ui-toolbar .label {
/* Width of main content */
background: transparent;
div#page-container {
color: #000;
    width: 90vw;
}
}


/* selection boxes in toolbar adhere to font-size */
/* Margin at top of page */


.wikiEditor-ui-toolbar .page-characters div span {
/* TOC Positioning */
height: 1.75em;
}


.mw-indicators {
div#toc {
float: right;
    left: 4.5vw;
line-height: 1.6;
    width: 200px;
font-size: 0.875em;
    top: 8em;
position: relative;
margin: -1em .5em 0;
max-height: 30px;
width: auto;
z-index: 1;
}
.mw-indicator {
display: inline-block;
}
body {
line-height: 1.6em;
}
p {
margin-bottom: 0.25em;
}
a.label:hover, a.label:focus {
color: white;
}
a.label.new {
background-color: #d0d0d0;
}
a#actions-button {
float: right;
z-index: 499;
}
}


/* Hide the page actions button for special pages (cuz there's nothing in it) */
/* Search Bar Length */


.mw-special-FormEdit a#actions-button, .ns-special a#actions-button {
input#searchInput {
display: none;
    width: 190px;
}
}


/* Hide some rows on form-edit (e.g. a thing's title) */
/* Footer Height */


body.action-formedit .row.hide-on-form-edit {
footer.row {
display: none;
height: 7em;
}
}


/* Move the MediaWiki notification area so it isn't on top of the Action menu */
div#mw-content-text {
    width: 100%;
}


.mw-notification-area {
div#mw-imagepage-section-filehistory {
margin-top: 2em;
    max-width: 55vw;
    width: auto;
    overflow: scroll;
}
}


/* Also adjust z-index of action menu to force it on top */
.mw-rcfilters-ui-changesListWrapperWidget {
    position: relative;
    max-width: 89vw;
    width: auto;
    overflow: scroll;
    font-size: 0.8em;
}


#p-cactions #actions {
#filetoc {
z-index: 500;
max-width: 55vw;
white-space: nowrap;
}
}
#p-cactions #actions a {
 
width: 100%;
text-align: left;
}
}


/* Make sure top bar is even more z-indx! */
/* Mobile 640px# and under (navbar total collapse width) */
 
#toolbox-dropdown {
z-index: 601;
}
#personal-tools-dropdown {
z-index: 601;
}


/* Dropdown Icon Alignment */
@media only screen and (max-width: 40rem) {


.drop-icon {
#sidebarlogo {
display: inline;
display: none !important;
margin-right: 4px;
}
td.mw-submit a, .htmlform-tip, #mw-upload-permitted p {
font-size: 90%;
}
alert.label a {
color: pink;
}
code {
font-weight: normal;
color: #222222;
}
small {
font-size: 80%;
}
h4.namespace.label {
font-size: 1rem;
display: inline-block;
margin-bottom: 0.5rem;
}
.label {
padding-bottom: 0.39em;
}
h2 span {
display: inline-block;
}
span.title {
margin-bottom: 0.1em;
}
.title-name {
font-size: 1.3rem;
margin: 0 .5em;
color: #FFF;
line-height: 2em;
}
h3#tagline {
font-style: italic;
font-size: small;
margin-bottom: 0.5em;
color: #6f6f6f;
}
.clear_both {
clear: both;
}
.large-2 strong, .large-2 b {
display: block;
}
.large-2 strong, .large-2 b, table th {
font-size: 0.875em;
color: #4d4d4d;
font-weight: 500;
}
}


/* LAYOUT */
h1#firstHeading {
 
    margin-top: 1em !important;
.row .row {
margin-bottom: 0.9em;
}
}
div.small-10 .row {
margin: 1em 0 0 0;
}
div.small-9.columns textarea {
margin-bottom: 0.25em;
}
footer.row {
margin-top: 2em;
color: grey;
}
div {
line-height: 1.60em;
}
/* NOTICES, ALERTS, WARNINGS */


div#userloginprompt, p#userloginlink {
i.far.fa-comments {
font-size: 80%;
margin-top: 0 !important;
}
}


/* make sure orbit image slider has no margins */
a#actions-button {
 
    margin-top: 0.5em !important;
#mw-content-text .orbit-container ul {
margin: 0;
}
footer.row ul {
list-style-type: none;
margin: 0 0 1em 0;
}
footer.row ul.views.columns li {
margin-right: 1em;
}
#footer footer.row ul {
margin: 0;
list-style-type: none;
}
}


/* Make social footer center need overflow:hidden and other div classes */
/* Top navigation bar height */


.social-footer {
.top-bar {
margin: 0 0 1em;
    height: 4rem;
font-size: 90%;
overflow: hidden;
}
}


/* Hide all text in p elements */
/* Hide sidebar */


.social-footer p {
div#sidebar {
display: none;
    display: none;
}
}


/* Outer wrap */
/* Width of main content */
 
div#page-container {
.social-links {
    width: 100vw;
position: relative;
left: 50%;
float: left;
}
}


/* addThis container (inner wrap) */
/* Margin at top of page */


.addthis_horizontal_follow_toolbox {
/* Hide TOC */
position: relative;
left: -50%;
float: left;
z-index: 100000;
}


/* end social footer classes */
div#toc {
 
    display: none
#footer-left {
font-size: 90%;
text-align: left;
}
#footer-right-icons {
font-size: 85%;
text-align: center;
}
#footer-right-icons li {
display: inline-block;
text-align: center;
margin: 0 0 .5em .5em;
}
li#footer-privacy {
float: left;
margin-right: 2em;
}
li#footer-about {
float: left;
margin-right: 2em;
}
li#footer-disclaimer {
float: left;
margin-right: 2em;
}
.text-center #footer-left li {
float: none;
margin: 0;
}
.text-center #footer-left {
text-align: center;
}
@media only screen and (max-width: 641px) {
#footer-left {
font-size: 85%;
text-align: center;
}
#footer-right-icons {
font-size: 80%;
}
li#footer-privacy {
float: none;
margin-right: 0;
}
li#footer-about {
float: none;
margin-right: 0;
}
li#footer-disclaimer {
float: none;
margin-right: 0;
}
}
.columns ul.special li {
float: none;
width: 100%;
}
.columns div#uploadtext ul {
list-style-type: disc;
}
.columns div#uploadtext ul li {
float: none;
width: 95%;
margin-left: 2em;
}
#catlinks {
border: 1px solid #aaa;
padding: 0.25rem;
}
#catlinks .label {
font-size: .9rem;
}
#catlinks a.label.new {
background-color: #BA0F2A;
}
.catlinks li {
border-left: none;
}
.mw-specialpages-table td ul.columns li {
width: 50%;
}
}


/*#mw-content-text .columns li {float:none;width:90%;}*/
/* Search Bar Length */


footer.row ul.columns li {
input#searchInput {
display: inline;
    width: 190px;
float: none;
}
.columns #mw-normal-catlinks ul li {
float: none;
width: auto;
}
#mw-normal-catlinks a.new {
color: white;
}
ul.vcard {
padding: 0.5em 0.5em 0.55em 0.5em;
}
}


/* HEADERS */
/* Footer Height */


h1, h2, h3, h4, h5, h6 {
footer.row {
margin-top: .75em;
height: 9em;
line-height: 1em;
}
.page-Special_SpecialPages h2 {
margin-bottom: 0.5em;
}
.editsection {
font-weight: normal;
font-size: 0.4em;
}
p.title {
padding: 0.9375em;
}
}


/* TABLES */
/* Top navigation on mobile */


.mw-content-ltr table#toc {
.top-bar-section .has-dropdown {
float: right;
margin-right: 0px !important;
width: auto;
}
.mw-content-rtl table#toc {
float: left;
width: auto;
}
table.formtable {
border: none;
}
table td[align="right"] {
text-align: right;
}
}


/* TURN OFF TABLE STRIPING FOR EDITFORMS */
/* Elements that break out on mobile */


table.formedit tr.even, table.formedit tr.alt, table.formedit tr:nth-of-type(even) {
.mw-rcfilters-ui-changesListWrapperWidget {
background: transparent;
    max-width: 89vw;
}
    overflow: scroll;
table {
    font-size: 0.8em
width: 100%;
}
td.mw-label {
width: 20%;
}
td.mw-input {
width: 80%;
}
thead tr th {
cursor: pointer;
}
table.formtable th {
text-align: right !important;
}
td.smwpropname, th.smwpropname, td.smwspecname {
text-align: left;
}
table tbody tr td, table tr td {
line-height: 1.6em;
}
table.wikitable {
margin: 0em 0 1em 0;
}
table.wikitable>tr>th, table.wikitable>*>tr>th {
text-align: left;
}
table.wikitable>tr>th, table.wikitable>tr>td, table.wikitable>*>tr>th, table.wikitable>*>tr>td {
border: 3px #fff solid;
padding: 0.6em;
}
}


/* FORMS, INPUTS, FIELDSETS */
div#mw-content-text {
 
    width: 100%;
.multipleTemplateInstance {
background-color: white !important;
border: none !important;
border-bottom: 1px dashed #999999 !important;
}
.multipleTemplateInstance table {
border: none !important;
}
.multipleTemplateAdder {
font-size: 0.9em;
padding: 0.4125em 0.5em 0.55em 0.5em;
}
.novalue {
color: #999999;
font-style: italic;
font-size: small;
}
input[type="file"], input[type="checkbox"], input[type="radio"], select {
padding: 5px;
}
input[type="file"], select {
padding: 5px;
border: 1px solid #cccccc;
}
.inputSpan select.createboxInput, .dateInput select.monthInput, input.hourInput, input.minuteInput, input.secondInput, input.dayInput, input.yearInput, input[name="*[* date][hour]"], input[name="*[* date][minute]"], input[name="*[* date][second]"] {
width: auto;
margin-right: 1em;
}
}


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


.inputSpan button, .inputSpan .button {
div#mw-imagepage-section-filehistory {
margin: -4px 0 0 0;
     max-width: 90vw;
padding: 0.37em 0.75em 0.6em 0.70em;
}
.ms-selectable input[type="text"] {
width: 100%;
}
button.ui-button-icon-only {
height: 2.24em !important;
}
input[type="search"] {
     margin: 0;
}
input[type="date"] {
    margin: .5rem 0;
}
input[type="date"] {
     width: auto;
     width: auto;
    overflow: scroll;
}
}
input[type="file"] {
    margin: .5rem 0;
}
input:not([type]), textarea, p.meta {
    margin: .5rem 0;
}
input[type="text"] {
    padding: 5px 20px 5px 5px;
    margin: .5rem 0;
}
select {
    padding: 5px 20px 5px 5px;
    margin: .5rem 0;
    width: auto;
}
input[type="checkbox"].createboxInput {
width: auto;
}
label.checkboxLabel {
margin-right: 0.5em;
}
.edit_with_form {
margin: -2em 0 0 0;
float: right;
}
input[type="radio"], input[type="checkbox"] {
display: inline;
}
label {
display: inline;
font-weight: normal;
}
.mw-input label {
font-weight: normal;
}
#mw-content-text ul.SFI_timepicker_hours, #mw-content-text ul.SFI_timepicker_minutes {
list-style-type: none;
}
#mw-content-text ul.SFI_timepicker_hours li {
margin: 2px 2px;
padding: 4px;
}
.sminput.sminput-googlemaps3 p button {
padding-top: 0.35em;
padding-bottom: 0.6em;
}
li label.inline {
margin-bottom: 2px;
padding: 0;
}
button, .button {
margin: 0.5em 0;
padding: 0.3em 0.75em 0.4em 0.75em;
}
.top-bar-logo {
max-width: 100%;
height: auto;
max-height: 2.8125rem;
/* Important! max-height must not be higher than line-height */
display: inline-block;
vertical-align: middle;
}
.top-bar .button.search {
top: 0px;
}
.top-bar .button, .top-bar button {
padding-top: .35rem;
padding-bottom: .35rem;
}
.top-bar .button.search {
margin-left: 10px;
}
.top-bar input {
top: 0px;
}
@media only screen and (min-width: 641px) {
.top-bar .button.search {
top: 0px;
}
.top-bar .button.search {
margin-left: -4px;
}
.top-bar {
height: auto;
}
}
.top-bar-section .dropdown {
z-index: 600;
}
input[type="submit"] {
    background-color: #5388a0;
    border: none;
    padding: 5px;
    color: white;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: background-color 300ms ease-out;
    -moz-transition: background-color 300ms ease-out;
    transition: background-color 300ms ease-out;
}
input#wpPreview {
background-color: #e9e9e9;
border-color: #d0d0d0;
color: black;
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
-webkit-transition: background-color 300ms ease-out;
-moz-transition: background-color 300ms ease-out;
transition: background-color 300ms ease-out;
}
.editButtons input[type="submit"] {
display: inline-block;
}
legend {
font-size: 0.875em;
color: #4d4d4d;
cursor: pointer;
display: block;
font-weight: 500;
}
fieldset {
line-height: 1.6em;
padding: 0 1.25em 1em 1.25em;
margin-top: 0;
}
span.smwbuiltin, span.smwttactiveinline span.smwbuiltin {
font-style: normal;
}
/* MW still generates a label column for checkboxes, this minimizes is */


div.mw-htmlform-field-HTMLCheckField div.mw-label {
#filetoc {
height: 0;
max-width: 90vw;
}
}


.vertical-divider {
width: 100%;
display: block;
background: #1A1A1A;
height: 1px;
}
.top-bar-section li.active:not(.has-form) a:not(.button), .top-bar-section li.active:not(.has-form) a:hover:not(.button) {
background: inherit;
}
.top-bar input {
width: auto;
display: inline;
}
}


/* Add improved styling for the Echo extension */
/* Adjustments for Logged-in Users */


#echo-notifications {
/* Desktop 1280px# through 1067px# (navbar collapse width) */
float: right;
display: inline-block;
margin: -1em 1em .5em;
position: relative;
z-index: 500;
max-height: 30px;
}
#echo-notifications-notice,
#echo-notifications-alerts,
#echo-notifications-messages,
#echo-notifications {
display: inline-block;
}


#pt-notifications-notice .mw-echo-notifications-badge,
@media only screen and (max-width: 120rem) {
#pt-notifications-alert .mw-echo-notifications-badge,
#pt-notifications-message .mw-echo-notifications-badge {
background-size: 1.4em !important;
font-size: 1.1em;
color: transparent;
filter: invert(15%);
height: auto !important;
display: block !important;
}
#echo-notifications li {
list-style: none;
}
#echo-notifications-messages {
float: right;
}
#echo-notifications-alerts {
float: right;
}
#pt-notifications-alert .mw-echo-unseen-notifications, #pt-notifications-message .mw-echo-unseen-notifications {
color: #0645ad !important;
}


#echo-notifications li {
    margin: 0 0 0 1em;
}
}


/* Make Echo extension more mobile friendly on small widths */
@media only screen and (max-width: 66.625rem) {


@media only screen and (max-width: 450px) {
.oo-ui-popupWidget-popup {
width: auto !important;
position: relative !important;
margin-left: -260px !important;
font-size: 75% !important;
}
.oo-ui-clippableElement-clippable.oo-ui-popupWidget-body {
width: 100% !important;
}
}
}


/*Fix ULS CSS */
@media only screen and (max-width: 62.063rem) {


#pt-uls a.uls-trigger {
footer.row:has(> #footer > #footer-left > #footer-left-ul > #footer-credits) {
padding-left: 15px !important;
    height: 10em;
}
}


/* Orbit Slider Overrides for MW */
.orbit-container .orbit-slides-container img {
width: 100%;
}
.orbit-bullets {
margin: 0 auto 30px auto !important;
}
}


/* Block-Grid UL fixes */
@media only screen and (max-width: 44.5rem) {


ul[class*="block-grid"] {
footer.row:has(> #footer > #footer-left > #footer-left-ul > #footer-credits) {
margin: 0;
    height: 10em;
}
}


/* WikiEditor related fixes */
/* lable of toolbar */
.wikiEditor-ui-toolbar .label {
background: transparent;
color: #000;
}
}


/* selection boxes in toolbar adhere to font-size */
@media only screen and (max-width: 40.438rem) {


.wikiEditor-ui-toolbar .page-characters div span {
footer.row:has(> #footer > #footer-left > #footer-left-ul > #footer-credits) {
height: 1.75em;
    height: 10em;
}
}


/* backound of controls adhere to #p-cactions */
.wikiEditor-ui-controls {
background-color: #f6f6f6;
}
}


/* background of buttions adhere to #p-cactions*/
@media only screen and (max-width: 40rem) {


.wikiEditor-ui-buttons {
footer.row:has(> #footer > #footer-left > #footer-left-ul > #footer-credits) {
background-color: #f6f6f6;
    height: 14em;
}
}


/* Page indicators */
}


.mw-indicators {
/* Remove footer if height is small to fix keyboard bug on mobile */
float: right;
line-height: 1.6;
font-size: 0.875em;
position: relative;
margin: -1em .5em .5em 1em;
max-height: 30px;
width: auto;
z-index: 1;
}
.mw-indicator {
display: inline-block;
}


/* Preferences Fixes */
@media only screen and (max-height: 25rem) {


#preftoc li a {
footer.row {
color: white;
display: none;
padding: .25em .5em;
}
}
#preftoc li a:hover {
 
background: aqua;
color: white;
}
}
#preftoc li {
 
margin: 2px;
.sectionToggles {
display: inline-block;
    text-align: right;
float: none;
padding: 1px;
position: relative;
list-style-type: none;
list-style-image: none;
z-index: 3;
border-radius: 3px;
font-size: .85em;
background: #142849;
border: 0;
color: white;
}
}
#preftoc li a {
 
color: white;
button.collapseAll {
    margin-left: 0.8em;
}
}
#preftoc li a:hover {
 
background: #2ba6cb;
#scrollToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99900;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
}
}
ul#preftoc {
 
margin: auto;
#scrollToTop img {
text-align: center;
  width: 20px;
}
}
#preftoc>li.selected {
 
background: #2C58A1;
#ca-talk {
box-shadow: 2px 2px 5px 2px rgba(50, 138, 64, 0.54);
  display: none;
}
}
#preftoc li.selected a {
 
cursor: default;
#talkpagelink {
text-decoration: none;
  width: 30px;
}
  position: absolute;
#preferences table {
  right: 1em;
min-width: 100%;
  top: 0.3em;
}
#preftoc {
margin: 0;
padding: 0;
width: 100%;
clear: both;
}
#preftoc a:active {
display: block;
color: #000;
padding: 0 .7em;
position: relative;
text-decoration: none;
}
#preftoc li.selected a {
cursor: default;
text-decoration: none;
}
#preferences {
margin: 0;
clear: both;
background-color: #FFF;
border: none;
}
.prefsection {
border: none;
padding: 0;
margin: 0;
}
.prefsection legend {
font-weight: bold;
}
.prefsection table, .prefsection legend {
background-color: #F9F9F9;
}
#preferences legend.mainLegend {
display: none;
}
#preferences fieldset legend {
font-weight: bold;
padding: 0 .25em;
margin: 0;
margin: 0 .25em 0 1em;
background: #FFF;
}
td.htmlform-tip {
font-size: .8em;
padding: .2em 2em;
color: #666;
border: 1px solid #eeeffe;
background: #eeeffe;
}
.preferences-login {
clear: both;
margin-bottom: 1.5em;
}
.prefcache {
font-size: 90%;
margin-top: 1em;
}
}


/* Images the MediaWiki way */
@media only screen and (max-width: 69rem) {


/* Images, Thumbs and Captions */
table.mobiletoc {
.thumbinner {
     top: 10em;
     border: 1px solid #c8ccd1;
    padding: 3px;
    background-color: #f8f9fa;
    font-size: 94%;
    text-align: center;
    overflow: hidden;
    margin: auto;
    max-width: 100%;
}
}
.thumb.tright, .thumb.left {
 
    max-width: 100%;
#sidebarlogo {
}
     top: 2em;
.thumbcaption {
    border: 0;
    line-height: 1.4em;
    padding: 3px;
    font-size: 94%;
    text-align: left;
}
.magnify a {
     display: block;
    text-indent: 15px;
    white-space: nowrap;
    overflow: hidden;
    width: 15px;
    height: 11px;
}
}
.mw-content-ltr .magnify a {
    background-image: url(magnify-clip-ltr.svg);
}
}


/* Float right and left styles - Make all MW images responsive for mobile when floated  */
@media only screen and (max-width: 62.063rem) {


.floatright, .tright,
table.mobiletoc {
table.floatright {
    margin: 0 0 .5em .5em;
    border: 0;
}
}


.floatleft,.tleft
#sidebarlogo {
table.floatleft {
     top: 1em;
     margin: 0 .5em .5em 0;
left: 4vw;
    border: 0;
}
}


.tnone {
#sidebarlogo img {
     margin: .5rem 0;
     height: 100px;
    border: 0;
}
}
.floatnone img {
    margin: .5rem 0;
}
}


/* Kill the float for smaller screens and make them align center. */
@media only screen and (max-width: 42.5rem) {


@media only screen and (max-width: 640px) {
table.mobiletoc {
    .floatright,
     top: 18em;
    table.floatright,
    .floatleft,
    table.floatleft,
    .thumb.tleft,
     .thumb.tright {
        text-align: center;
        float: none !important;
        margin: .5em auto;
    }
}
}


/* Removing elements we don't need */
#sidebarlogo {
 
     top: 4em;
li#ca-talk {
left: 4vw;
     display: none;
}
}


li#pt-mytalk {
#sidebarlogo img {
     display: none;
     height: 100px;
}
}
/* Fixing text wrap */
pre {
    text-wrap: wrap;
}
}

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