From 4ef2a77c251732fb5099151977d2349ce99bd08e Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 18 Oct 2022 22:20:28 +0400 Subject: [PATCH] Style for an input text field. Added class .hidden to hide table rows. --- web/assets/css/main.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/web/assets/css/main.css b/web/assets/css/main.css index 973b537..367e25f 100644 --- a/web/assets/css/main.css +++ b/web/assets/css/main.css @@ -28,6 +28,8 @@ background-color: var(--secondary-color); color: var(--background-color); } +::placeholder { color: var(--primary-color); } + a { color: var(--primary-color); text-decoration: none; } @@ -56,6 +58,8 @@ h2 { font-size: 1.4rem; margin: 1rem 0; } +.hidden { display: none; } + html { margin-left: calc(100vw - 100%); } body { @@ -148,6 +152,14 @@ section { margin-top: 1rem; } background-color: var(--background-color); color: var(--primary-color); } +input[name="filter"] { + background-color: var(--background-color); + border: none; + border-bottom: 1px solid var(--primary-color); + color: var(--text-color); + font: inherit; + width: 100%; } + table { overflow-y: scroll; width: 100%; } tr { vertical-align: top; }