MediaWiki

Foreground.css: Difference between revisions

From Grouse House Wiki

No edit summary
No edit summary
Line 23: Line 23:


h2 span.mw-headline:before {
h2 span.mw-headline:before {
     background-image: url(http://grousehouse.wiki/images/6/62/Downarrow.png);
     background-image: url( http://grousehouse.wiki/images/6/62/Downarrow.png );
     background-position: 50% 50%;
     background-position: 50% 50%;
     background-repeat: no-repeat;
     background-repeat: no-repeat;

Revision as of 21:43, 29 January 2024

/* 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 */

/* Large image grid */

.imagegrid {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.gridimage {
    padding: 10px;
}

.gridimage img {
    height: 150px;
    width: auto;
    border-radius: 10px;
    border: 1px solid black;
}

/* Collapsible headers */

h2 span.mw-headline:before {
    background-image: url( http://grousehouse.wiki/images/6/62/Downarrow.png );
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 100% auto;
    content: '';
    display: block;
    height: 12px;
    left: 0;
    margin: 0 0.8em;
    min-height: 1.1em;
    position: absolute;
    right: 0;
    width: 12px;
}

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

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