fix: Add missing fallback
- Change font family for input and button to inherit to reduce duplication and make code more maintainable
This commit is contained in:
parent
a26bcacde8
commit
cb7f54ce0b
1 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,7 @@
|
|||
}
|
||||
|
||||
body {
|
||||
font-family: 'Departure Mono';
|
||||
font-family: 'Departure Mono', monospace;
|
||||
font-size: 18px;
|
||||
line-height: 1.75;
|
||||
background-color: var(--cyber-bg-color);
|
||||
|
@ -98,7 +98,7 @@ main {
|
|||
}
|
||||
|
||||
input[type="text"] {
|
||||
font-family: 'Departure Mono';
|
||||
font-family: inherit;
|
||||
width: calc(100% - 20px);
|
||||
padding: 10px;
|
||||
border: 2px solid var(--cyber-primary-color);
|
||||
|
@ -150,7 +150,7 @@ input[type="text"]:focus {
|
|||
|
||||
/* Buttons */
|
||||
button {
|
||||
font-family: 'Departure Mono';
|
||||
font-family: inherit;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
background-color: var(--cyber-bg-color);
|
||||
|
|
Loading…
Reference in a new issue