MediaWiki
Foreground.css: Difference between revisions
From Grouse House Wiki
(Replaced content with "→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...") Tag: Replaced |
No edit summary |
||
| Line 45: | Line 45: | ||
display: none; | display: none; | ||
overflow: hidden; | overflow: hidden; | ||
} | |||
/* Search page specifics */ | |||
/* 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; | |||
} | } | ||
Revision as of 05:46, 31 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;
}
/* Search page specifics */
/* 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;
}
