MediaWiki

Group-Grouse.css: Difference between revisions

From Grouse House Wiki

No edit summary
No edit summary
Line 29: Line 29:
/* TOC Testing */
/* TOC Testing */


@media only screen and (min-width: 40.01em) {
table.mobiletoc {
    display: block;
    left: 9.4vw;
    width: 200px;
    top: 5em;
max-height: 80vh;
    height: auto;
    overflow-y: scroll;
    overflow-x: hidden;
    position: fixed;
}
 
@media only screen and (max-width: 62.063rem) {


table.mobiletoc {
table.mobiletoc {
Line 35: Line 47:
     background-color: #d4d4d4;
     background-color: #d4d4d4;
     margin: auto;
     margin: auto;
    position: fixed;
left: 4.5vw;
left: 4.5vw;
     top: 8em;
     top: 8em;
Line 47: Line 58:
}
}


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

Revision as of 23:55, 18 February 2024

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

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

table.mobiletoc {
    width: 200px;
    background-color: #d4d4d4;
    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;
}
}