From 2e0e13dbf4f093360cd0ffe6121bef1b747515b6 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Thu, 30 May 2024 09:49:22 +0200 Subject: more yomichan css tweaks --- yomichan-user/conf.d/custom.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/yomichan-user/conf.d/custom.css b/yomichan-user/conf.d/custom.css index 1e34039..509fc07 100644 --- a/yomichan-user/conf.d/custom.css +++ b/yomichan-user/conf.d/custom.css @@ -10,11 +10,11 @@ .tag .tag-label { background-color: unset; } .tag { border: 1px solid var(--tag-color); - border-radius: 4px; + border-radius: 5px; } .frequency-group-tag .tag { border: none !important; } .tag .tag-body::before { display: none; } -.tag-label, .tag-body { padding: 1px 5px; } +.tag-label, .tag-body { padding: 0px 5px; } /* rounded search box */ .search-textbox-container { @@ -48,6 +48,7 @@ .entry-body-section[data-section-type="pronunciations"] .pronunciation-group-list, .entry-body-section[data-section-type="pronunciations"] .pronunciation-group-list .pronunciation-group { display: inline; } +.inflection-list .inflection { margin-right: 0.375em; } /* ensure vertical alignment of tags */ .tag-label, @@ -57,7 +58,6 @@ font-weight: 500; } -.entry-body-section[data-section-type="pronunciations"] { - font-size: calc(0.75 * var(--headword-font-size)); -} +/* put some space between entry header and definitions */ +.entry-body-section[data-section-type="definitions"] { margin-top: 1ex; } -- cgit v1.2.3