From 81312824e4ef5b064d5868559fb2bcdddf8062c3 Mon Sep 17 00:00:00 2001 From: Marco Kaiser Date: Sun, 17 Nov 2024 08:14:06 +0100 Subject: [PATCH] feat: Inherit font size for buttons and input --- css/style.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index 88f5b82..1723f3f 100644 --- a/css/style.css +++ b/css/style.css @@ -105,7 +105,9 @@ main { input[type="text"] { font-family: 'Departure Mono'; - width: calc(100% - 20px); + font-size: inherit; + line-height: 1.35; + width: 100%; padding: 10px; border: 2px solid var(--cyber-primary-color); border-radius: 5px; @@ -157,11 +159,12 @@ input[type="text"]:focus { /* Buttons */ button { font-family: 'Departure Mono'; + font-size: inherit; + line-height: 1.35; padding: 10px 20px; border-radius: 5px; background-color: var(--cyber-bg-color); color: var(--cyber-font-color); - font-size: 1rem; cursor: pointer; border: 2px solid transparent; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);