mirror of
https://github.com/YouHaveTrouble/GuildMaster.git
synced 2026-05-12 14:36:58 +00:00
style buttons and fix up number formatting
This commit is contained in:
+26
-6
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user