1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-13 02:01:51 +00:00
tobspr_shapez.io/src/css/states/mods.scss
Даниїл Григор'єв ec8a6dec18
Rewrite mods state
Most existing mods aren't going to work in CE and the system will be
reworked some time later, so this will work for now.
2024-07-21 03:56:50 +03:00

35 lines
713 B
SCSS

#state_ModsState {
.modsGrid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0.5em;
.noMods {
grid-template-columns: unset;
place-items: center;
}
}
.mod {
display: flex;
flex-direction: column;
padding: 0.6em;
gap: 0.3em;
background-color: $mainBgColor;
@include S(border-radius, 0.75 * $globalBorderRadius);
@include PlainText;
.title b {
@include Text;
}
.advanced {
@include SuperSmallText;
}
@include DarkThemeOverride {
background-color: $darkModeGameBackground;
}
}
}