From The Mana World
m (Added default padding to fancy border) |
(small test) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
/* Add the word Legacy in the sidebar on Legacy namespace pages */ | /* Add the word Legacy in the sidebar on Legacy namespace pages */ | ||
.ns-108 #p-Game-label::after { content: ' Legacy'; } | .ns-108 #p-Game-label::after { content: ' Legacy'; } | ||
/* Fix weird issues with framed images inside a spoiler tag, and other spoiler issues */ | |||
.mw-collapsible { clear: both; } | |||
.tleft { background: none; } | |||
.mw-collapsible-content { display: none; } | |||
.mw-collapsible-content::after { | |||
content: ""; | |||
clear: both; | |||
display: table; | |||
} | |||
/* Add margin to spoiler toggle button */ | |||
.mw-collapsible-toggle { margin-left: 1em; } | |||
/* Media queries can't be inline, so they must go here too */ | /* Media queries can't be inline, so they must go here too */ |
Latest revision as of 18:05, 10 July 2020
/* Fix styling issue */
h1, h2, h3, h4, h5, h6 { color: #332100; }
/* use of url() is forbidden inline, so they must go here */
.fancy-border { border-image-slice: 20; border-image-width: 20px; border-image-repeat: round; border-image-outset: 15px; border-image-source: url('/images/4/46/Border.png'); padding: 1rem; }
/* Add the word Legacy in the sidebar on Legacy namespace pages */
.ns-108 #p-Game-label::after { content: ' Legacy'; }
/* Fix weird issues with framed images inside a spoiler tag, and other spoiler issues */
.mw-collapsible { clear: both; }
.tleft { background: none; }
.mw-collapsible-content { display: none; }
.mw-collapsible-content::after {
content: "";
clear: both;
display: table;
}
/* Add margin to spoiler toggle button */
.mw-collapsible-toggle { margin-left: 1em; }
/* Media queries can't be inline, so they must go here too */
.grid-2-columns {
display: grid;
grid-template-columns: 1fr;
}
@media only screen and (min-width: 900px) {
.grid-2-columns {
grid-template-columns: 1fr 1fr;
}
}