From cb7f54ce0bd08b52b94c793fbadbb215e9dd8877 Mon Sep 17 00:00:00 2001 From: Marco Kaiser Date: Sun, 17 Nov 2024 06:44:30 +0100 Subject: [PATCH] fix: Add missing fallback - Change font family for input and button to inherit to reduce duplication and make code more maintainable --- css/style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/css/style.css b/css/style.css index 57c7405..e671a70 100644 --- a/css/style.css +++ b/css/style.css @@ -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);