Css button tweak (#93)

* css styling tweaks

* bundle

* apply styling to textarea as well

* bundle, whitespace

* generalize .button class styling

* bundle

* give .button a pointer cursor too

* bundle
This commit is contained in:
f0x52 2021-07-09 10:44:10 +02:00 committed by GitHub
parent 1dac7eb9e0
commit 606ee5c615
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 14 deletions

View file

@ -51,7 +51,7 @@ a {
color: #de8957; color: #de8957;
} }
a.button, button { .button, button {
border-radius: 0.2rem; border-radius: 0.2rem;
background: #de8957; background: #de8957;
color: #fafaff; color: #fafaff;
@ -59,17 +59,14 @@ a.button, button {
font-size: 1.2rem; font-size: 1.2rem;
font-weight: bold; font-weight: bold;
padding: 0.5rem; padding: 0.5rem;
}
a.button:hover, button:hover {
background: #c76d33;
}
button {
border: none; border: none;
cursor: pointer; cursor: pointer;
} }
.button:hover, button:hover {
background: #c76d33;
}
.count { .count {
background: rgb(70, 79, 88); background: rgb(70, 79, 88);
border-radius: 0.3rem; border-radius: 0.3rem;

View file

@ -59,7 +59,7 @@ a {
color: $acc1; color: $acc1;
} }
a.button, button { .button, button {
border-radius: 0.2rem; border-radius: 0.2rem;
background: $acc1; background: $acc1;
color: $fg; color: $fg;
@ -67,17 +67,14 @@ a.button, button {
font-size: 1.2rem; font-size: 1.2rem;
font-weight: bold; font-weight: bold;
padding: 0.5rem; padding: 0.5rem;
border: none;
cursor: pointer;
&:hover { &:hover {
background: $acc2; background: $acc2;
} }
} }
button {
border: none;
cursor: pointer;
}
.count { .count {
background: $bg_accent; background: $bg_accent;
border-radius: 0.3rem; border-radius: 0.3rem;