From 2bf64385eaf025357e9051c0a4b94353f3bd5b55 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Tue, 16 Feb 2021 21:25:21 -0500 Subject: Remove section headings (#1413) --- ext/mixed/css/display.css | 18 ------------------ ext/mixed/display-templates.html | 3 --- 2 files changed, 21 deletions(-) diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css index 5bac2575..a96ca666 100644 --- a/ext/mixed/css/display.css +++ b/ext/mixed/css/display.css @@ -1025,20 +1025,11 @@ button.action-button[data-icon=source-term]::before { opacity: 0; white-space: pre-wrap; } -.entry-body { - margin-top: -0.5em; -} -.entry-body-section { - margin-top: 0.5em; -} .entry[data-definition-count='0'] .entry-body-section[data-section-type=definitions], .entry[data-frequency-count='0'] .entry-body-section[data-section-type=frequencies], .entry[data-pitch-accent-count='0'] .entry-body-section[data-section-type=pitch-accents] { display: none; } -.entry[data-pitch-accent-count='0'][data-frequency-count='0'] .entry-body-section[data-section-type=definitions]>h5 { - display: none; -} /* Frequencies */ @@ -1723,15 +1714,6 @@ button.footer-notification-close-button:active { color: var(--text-color-light3); } -:root[data-glossary-layout-mode=compact] .entry-body-section>h5 { - display: none; -} -:root[data-glossary-layout-mode=compact] .entry-body { - margin-top: 0; -} -:root[data-glossary-layout-mode=compact] .entry-body-section { - margin-top: 0; -} :root[data-show-pitch-accent-downstep-notation=true] .term-pitch-accent-disambiguation-list[data-expression-count='0'], :root[data-show-pitch-accent-downstep-notation=true] .term-pitch-accent-disambiguation[data-type=reading] { display: none; diff --git a/ext/mixed/display-templates.html b/ext/mixed/display-templates.html index a470defa..6fa9ea73 100644 --- a/ext/mixed/display-templates.html +++ b/ext/mixed/display-templates.html @@ -23,15 +23,12 @@
-
Frequencies
    -
    Pitch Accents
      -
      Definitions
        -- cgit v1.2.3