From dfc9a60d9e9cfddba9e4ee288dd1b86fd953abff Mon Sep 17 00:00:00 2001 From: stephenmk Date: Mon, 10 Jul 2023 12:35:46 -0500 Subject: [PATCH] Remove vertical margin from mdict entry styles --- data/mdict/css/daijirin2.css | 2 +- data/mdict/css/jitenon-kokugo.css | 2 +- data/mdict/css/jitenon-kotowaza.css | 2 +- data/mdict/css/jitenon-yoji.css | 2 +- data/mdict/css/smk8.css | 10 +++------- 5 files changed, 7 insertions(+), 11 deletions(-) diff --git a/data/mdict/css/daijirin2.css b/data/mdict/css/daijirin2.css index f67d517..5783c4c 100644 --- a/data/mdict/css/daijirin2.css +++ b/data/mdict/css/daijirin2.css @@ -10,7 +10,7 @@ } body { - margin: 1em 44px 1em 1em; + margin: 0em 1em; line-height: 1.5em; font-family: jpmincho; font-size: 1.2em; diff --git a/data/mdict/css/jitenon-kokugo.css b/data/mdict/css/jitenon-kokugo.css index 2200c5c..a10e384 100644 --- a/data/mdict/css/jitenon-kokugo.css +++ b/data/mdict/css/jitenon-kokugo.css @@ -11,7 +11,7 @@ body { font-family: jpmincho; - margin: 1em 44px 1em 1.5em; + margin: 0em 1em; line-height: 1.5em; font-size: 1.2em; color: black; diff --git a/data/mdict/css/jitenon-kotowaza.css b/data/mdict/css/jitenon-kotowaza.css index bd9c29b..8590b44 100644 --- a/data/mdict/css/jitenon-kotowaza.css +++ b/data/mdict/css/jitenon-kotowaza.css @@ -11,7 +11,7 @@ body { font-family: jpmincho; - margin: 1em 44px 1em 1.5em; + margin: 0em 1em; line-height: 1.5em; font-size: 1.2em; color: black; diff --git a/data/mdict/css/jitenon-yoji.css b/data/mdict/css/jitenon-yoji.css index bd9c29b..8590b44 100644 --- a/data/mdict/css/jitenon-yoji.css +++ b/data/mdict/css/jitenon-yoji.css @@ -11,7 +11,7 @@ body { font-family: jpmincho; - margin: 1em 44px 1em 1.5em; + margin: 0em 1em; line-height: 1.5em; font-size: 1.2em; color: black; diff --git a/data/mdict/css/smk8.css b/data/mdict/css/smk8.css index c51bc93..c108aac 100644 --- a/data/mdict/css/smk8.css +++ b/data/mdict/css/smk8.css @@ -10,7 +10,7 @@ } body { - margin: 1em 44px 1em 1em; + margin: 0em 1em; line-height: 1.5em; font-family: jpmincho; font-size: 1.2em; @@ -205,16 +205,12 @@ span[data-name="EM"] { font-weight: bold; } -span[data-name="アクセント"] { +span[data-name="アクセント"], +span[data-name="アクセント組M"] { font-size: 0.7em; vertical-align: super; } -span[data-name="アクセント組M"] { - vertical-align: 0.1em; -} - - span[data-name="反意語M"], span[data-name="同意語M"] { vertical-align: 0.15em;