Template:Emotes.css: Difference between revisions
Appearance
No edit summary |
m Protected "Template:Emotes.css" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
.emotes { | .emotes { | ||
font-size: 1.5em; | font-size: 1.5em; | ||
columns: 3; | columns: 3; | ||
list-style: none; | list-style: none; | ||
| Line 9: | Line 8: | ||
grid-template-columns: repeat(auto-fill, 9em); | grid-template-columns: repeat(auto-fill, 9em); | ||
justify-content: center; | justify-content: center; | ||
gap: 0.2em; | |||
} | |||
.emotes > li { | |||
background-color: #ccc1; | |||
padding: 0.2em; | |||
} | } | ||
Latest revision as of 20:53, 14 February 2025
.emotes {
font-size: 1.5em;
columns: 3;
list-style: none;
padding: 0;
margin: 0;
display: grid;
grid-template-columns: repeat(auto-fill, 9em);
justify-content: center;
gap: 0.2em;
}
.emotes > li {
background-color: #ccc1;
padding: 0.2em;
}
@media (max-width: 30em) {
.emotes {
font-size: 1em;
}
}
@media (min-width: 60em) {
.emotes {
font-size: 1.75em;
}
}