From 93ce51e1893d02cdbc33a431f864cd7d5b1a6d39 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 8 Jan 2024 21:33:16 +0000 Subject: [PATCH] [styles] have input font-size be equal to text font-size, see #999 --- ext/static_files/style.css | 5 ++++- themes/danbooru2/style.css | 4 +++- themes/default/style.css | 2 -- themes/rule34v2/style.css | 1 + 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ext/static_files/style.css b/ext/static_files/style.css index ef44fc20..2d744303 100644 --- a/ext/static_files/style.css +++ b/ext/static_files/style.css @@ -1,4 +1,7 @@ -INPUT, TEXTAREA {box-sizing: border-box;} +INPUT, TEXTAREA, SELECT, BUTTON { + box-sizing: border-box; + font-size: 1em; +} TABLE.form {width: 300px;} TABLE.form.zebra {width: 100%;} diff --git a/themes/danbooru2/style.css b/themes/danbooru2/style.css index 367d7fc9..a6c56b94 100644 --- a/themes/danbooru2/style.css +++ b/themes/danbooru2/style.css @@ -275,11 +275,13 @@ width:600px; .setupblock, .tagcategoryblock { margin:0.6rem 1rem 0.6rem 0; padding:0.5rem 0.6rem 0.7rem; -width:18rem; border:1px solid var(--block-border); border-radius:0.25rem; display:inline-block; } +.tagcategoryblock { + width:18rem; +} .tagcategoryblock table { width:100%; border-spacing:0; diff --git a/themes/default/style.css b/themes/default/style.css index 9869573c..33fce907 100644 --- a/themes/default/style.css +++ b/themes/default/style.css @@ -144,11 +144,9 @@ NAV TABLE { } NAV INPUT { width: 100%; - padding: 0; } NAV SELECT { width: 100%; - padding: 0; } TABLE.tag_list { diff --git a/themes/rule34v2/style.css b/themes/rule34v2/style.css index b685fb49..3376c912 100644 --- a/themes/rule34v2/style.css +++ b/themes/rule34v2/style.css @@ -332,6 +332,7 @@ SECTION>H3 { #Loginhead {display: block;} .headcol {width: 250px; font-size: 0.85rem;} .headbox {width: 80%; margin: auto;} +.headbox INPUT {width: 100%;} #big-logo {display: table-cell;} #mini-logo {display: none;} @media (max-width: 1024px) {