This commit is contained in:
90
frontend/static/themes/terrazzo.css
Normal file
90
frontend/static/themes/terrazzo.css
Normal file
@@ -0,0 +1,90 @@
|
||||
/* hide buttons while typing */
|
||||
header[data-focused] [data-nav-item] {
|
||||
background: none;
|
||||
}
|
||||
|
||||
[data-nav-item="test"] {
|
||||
background: var(--sub-color);
|
||||
color: var(--bg-color);
|
||||
border-radius: calc(var(--roundness) * 2) calc(var(--roundness) * 1.3)
|
||||
calc(var(--roundness) * 1.7) calc(var(--roundness) * 1);
|
||||
}
|
||||
[data-nav-item="leaderboards"] {
|
||||
background: #9a7a61;
|
||||
color: var(--bg-color);
|
||||
border-radius: calc(var(--roundness) * 1.2) calc(var(--roundness) * 1.7)
|
||||
calc(var(--roundness) * 2.1) calc(var(--roundness) * 1);
|
||||
transform: rotateY(9deg);
|
||||
}
|
||||
[data-nav-item="about"] {
|
||||
background: var(--main-color);
|
||||
color: var(--bg-color);
|
||||
border-radius: calc(var(--roundness) * 2.8) calc(var(--roundness) * 0.6)
|
||||
calc(var(--roundness) * 2) calc(var(--roundness) * 1.6);
|
||||
transform: rotateY(-3deg);
|
||||
}
|
||||
[data-nav-item="settings"] {
|
||||
background: var(--text-color);
|
||||
color: var(--bg-color);
|
||||
border-radius: calc(var(--roundness) * 0.8) calc(var(--roundness) * 2.4)
|
||||
calc(var(--roundness) * 0.8) calc(var(--roundness) * 2.8);
|
||||
}
|
||||
|
||||
[data-nav-item="test"]:hover,
|
||||
[data-nav-item="leaderboards"]:hover,
|
||||
[data-nav-item="about"]:hover,
|
||||
[data-nav-item="settings"]:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
body.crtmode {
|
||||
& [data-nav-item="test"] {
|
||||
box-shadow:
|
||||
3px 0 1px color-mix(in srgb, var(--sub-color) 20%, transparent),
|
||||
-3px 0 color-mix(in srgb, var(--sub-color) 30%, transparent),
|
||||
0 0 3px;
|
||||
}
|
||||
& [data-nav-item="leaderboards"] {
|
||||
box-shadow:
|
||||
3px 0 1px color-mix(in srgb, #9a7a61 20%, transparent),
|
||||
-3px 0 color-mix(in srgb, #9a7a61 30%, transparent),
|
||||
0 0 3px;
|
||||
}
|
||||
& [data-nav-item="about"] {
|
||||
box-shadow:
|
||||
3px 0 1px color-mix(in srgb, var(--main-color) 20%, transparent),
|
||||
-3px 0 color-mix(in srgb, var(--main-color) 30%, transparent),
|
||||
0 0 3px;
|
||||
}
|
||||
& [data-nav-item="settings"] {
|
||||
box-shadow:
|
||||
3px 0 1px color-mix(in srgb, var(--text-color) 20%, transparent),
|
||||
-3px 0 color-mix(in srgb, var(--text-color) 30%, transparent),
|
||||
0 0 3px;
|
||||
}
|
||||
& header[data-focused] [data-nav-item] {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
/* color individual parts of the mt logo */
|
||||
|
||||
[data-ui-element="logo"] svg path {
|
||||
&:nth-child(2),
|
||||
&:nth-child(8) {
|
||||
fill: var(--text-color);
|
||||
}
|
||||
&:nth-child(1),
|
||||
&:nth-child(6),
|
||||
&:nth-child(7) {
|
||||
fill: var(--sub-color);
|
||||
}
|
||||
&:nth-child(3),
|
||||
&:nth-child(4),
|
||||
&:nth-child(5) {
|
||||
fill: var(--main-color);
|
||||
}
|
||||
|
||||
&:nth-child(9) {
|
||||
fill: #9a7a61;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user