diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-05-30 09:49:22 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-05-30 09:49:22 +0200 |
commit | 2e0e13dbf4f093360cd0ffe6121bef1b747515b6 (patch) | |
tree | ca0e25249b878b6e42506434d116806f95276fb3 | |
parent | 1d205674bfd62ed9ea62196cf10d98913f31aa80 (diff) |
more yomichan css tweaks
-rw-r--r-- | yomichan-user/conf.d/custom.css | 10 |
1 files 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; } |