MediaWiki

MediaWiki:Group-Grouse.css

From Grouse House Wiki

Revision as of 00:23, 19 February 2024 by Mel (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
.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;
}

h3 {
font-size: 0em;
}

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

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

/* TOC Testing */

table.mobiletoc {
    display: block;
    left: 9.4vw;
    width: 200px;
    top: 5em;
max-height: 80vh;
    height: auto;
    overflow-y: scroll;
    overflow-x: hidden;
    position: fixed;
background: #b0b0b0;
}

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;
    top: 8em;
    height: auto;
    overflow-y: scroll;
    font-size: 0.8em;
max-height: 80vh;
    position: fixed;
display: block;
}
}

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