style buttons and fix up number formatting

This commit is contained in:
2023-04-09 15:35:56 +02:00
parent a185bc2153
commit 61ff80b69f
7 changed files with 57 additions and 17 deletions
+26 -6
View File
@@ -1,8 +1,3 @@
:root {
}
body {
margin: 0;
padding: 0 0 10rem;
@@ -61,4 +56,29 @@ body {
filter: drop-shadow(-0.15rem 0.2rem 0.1rem rgba(0, 0, 0, 0.25));
border-image: url("/img/borders/metal_corner.png") 30 round;
}
}
}
.button {
padding: 0.5rem 1rem;
font-size: 1.2rem;
font-family: 'EB Garamond', serif;
font-weight: bold;
cursor: pointer;
border: 2px solid rgb(0, 0, 0);
transition: filter 0.05s linear;
white-space: nowrap;
&.metal {
background-image: url("/img/borders/metal_strip.png");
background-size: contain;
background-blend-mode: darken;
background-repeat: repeat;
color: #dcdcdc;
}
&:disabled {
opacity: 0.55;
cursor: not-allowed;
}
&:hover:not(:disabled) {
filter: brightness(1.2);
}
}