MediaWiki

Group-Grouse.css: Difference between revisions

From Grouse House Wiki

No edit summary
No edit summary
 
(90 intermediate revisions by 2 users not shown)
Line 27: Line 27:
}
}


/* Testing */
#talkpagelink {
  width: 30px;
  position: absolute;
  right: 7.5em;
  top: 0.3em;
}
 
@media only screen and (max-width: 73.75rem) {
 
table.mobiletoc {
    top: 10em;
}
 
#sidebarlogo {
    top: 2em;
}
}


.controls {
@media only screen and (max-width: 51.063rem) {
text-align: right;
 
margin-bottom: 1em;
table.mobiletoc {
top: 14em;
}
}


.controls li {
#sidebarlogo {
  display: inline;
    top: 1em;
left: 4vw;
}
}


button {
#sidebarlogo img {
  background: #000;
    height: 100px;
  color: #fff;
}
  border: 0;
  font-size: 0.85rem;
  border-radius: 0.25rem;
}
}


/*
@media only screen and (max-width: 47rem) {
Custom elements are inline by default
 
*/
table.mobiletoc {
toggle-section {
    top: 18em;
  display: block;
}
}


/*
#sidebarlogo {
Only applies if script runs and
    top: 4em;
`role="region"` is added
left: 4vw;
*/
toggle-section[role="region"] {
  border-width: 2px 0;
  border-style: solid;
}
}


toggle-section[role="region"] + toggle-section {
#sidebarlogo img {
  border-top: 0;
    height: 100px;
}
}
 
@media only screen and (max-width: 42.5rem) {
 
table.mobiletoc {
    top: 18em;
}
 
#sidebarlogo {
    top: 4em;
left: 4vw;
}
 
#sidebarlogo img {
    height: 100px;
}
}
}

Latest revision as of 20:31, 30 March 2025

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

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

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

table.mobiletoc {
    top: 10em;
}

#sidebarlogo {
    top: 2em;
}
}

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

table.mobiletoc {
top: 14em;
}

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

#sidebarlogo img {
    height: 100px;
}
}

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

table.mobiletoc {
    top: 18em;
}

#sidebarlogo {
    top: 4em;
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;
}
}