From 9a1f70133dbec3683a3aff7e74623fd2cf355e53 Mon Sep 17 00:00:00 2001 From: stephenmk Date: Sat, 8 Jul 2023 20:53:09 -0500 Subject: [PATCH] Use space indents instead of tabs in CSS files --- data/mdict/css/daijirin2.css | 288 ++++++++++++++-------------- data/mdict/css/jitenon-kokugo.css | 24 +-- data/mdict/css/jitenon-kotowaza.css | 10 +- data/mdict/css/jitenon-yoji.css | 10 +- data/mdict/css/smk8.css | 276 +++++++++++++------------- 5 files changed, 304 insertions(+), 304 deletions(-) diff --git a/data/mdict/css/daijirin2.css b/data/mdict/css/daijirin2.css index 703cb35..30da03e 100644 --- a/data/mdict/css/daijirin2.css +++ b/data/mdict/css/daijirin2.css @@ -1,22 +1,22 @@ body { - margin: 1em 44px 1em 1em; - line-height: 1.5em; - font-family: serif; - font-size: 1.2em; - color: black; + margin: 1em 44px 1em 1em; + line-height: 1.5em; + font-family: serif; + font-size: 1.2em; + color: black; } body.ABC { - margin: 0.5em 0.5em 2em 0.5em; + margin: 0.5em 0.5em 2em 0.5em; } a { - text-decoration: none; + text-decoration: none; } img.gaiji { - height: 1em; + height: 1em; } img.cut { @@ -25,51 +25,51 @@ img.cut { } p { - margin: 0.5em 0 + margin: 0.5em 0 } span[data-name="i"] { - font-style: italic; + font-style: italic; } span[data-name="h1"] { - font-family: sans-serif; - font-size: 1em; - font-weight: bold; + font-family: sans-serif; + font-size: 1em; + font-weight: bold; } span[data-name="image"] { - display: block; + display: block; } span[data-name="ref"] a { - text-decoration: none; + text-decoration: none; } span[data-name="sl"] { - text-decoration: accent; + text-decoration: accent; } span[data-name="sm"] { - font-size: 0.7em; + font-size: 0.7em; } span[data-name="small"] { - font-size: 0.7em; - vertical-align: 0.35em; + font-size: 0.7em; + vertical-align: 0.35em; } span[data-name="sub"] { - font-size: 0.7em; - vertical-align: -0.35em; + font-size: 0.7em; + vertical-align: -0.35em; } span[data-name="ty2"] span[data-name="sub"] { - vertical-align: 0em; + vertical-align: 0em; } span[data-name="ty2"] span[data-name="sup"] { - vertical-align: 0.5em; + vertical-align: 0.5em; } span[data-name="文語形"] { @@ -99,271 +99,271 @@ span[data-name="補説G"] + span[data-name="語釈"] { span[data-name="アクセントG"] { font-size: 0.7em; vertical-align: super; - margin-left: 0.25em; - margin-right: 0.25em; + margin-left: 0.25em; + margin-right: 0.25em; } span[data-name="カット"] { - display: block; + display: block; } span[data-name="カットG"] { - display: block; - margin-top: 0.5em; - margin-bottom: 0.5em; - margin-left: 1em; + display: block; + margin-top: 0.5em; + margin-bottom: 0.5em; + margin-left: 1em; } span[data-name="キャプション"] { - display: block; + display: block; } span[data-name="ルビG"] { - font-family: sans-serif; - font-size: 0.7em; - font-weight: normal; - vertical-align: 0.35em; + font-family: sans-serif; + font-size: 0.7em; + font-weight: normal; + vertical-align: 0.35em; } .warichu span[data-name="ルビG"] { - font-family: serif; - font-size: 0.5em; - font-weight: normal; - vertical-align: 0em; + font-family: serif; + font-size: 0.5em; + font-weight: normal; + vertical-align: 0em; } span[data-name="中語義"] { - display: block; + display: block; } span[data-name="付記"] { - font-size: 0.7em; - vertical-align: 0.35em; + font-size: 0.7em; + vertical-align: 0.35em; } span[data-name="副義"] { - display: block; + display: block; margin-left: 1em; } span[data-name="単位名"] { - font-size: 0.5em; + font-size: 0.5em; } span[data-name="原籍"] { - font-size: 0.7em; - vertical-align: 0.35em; + font-size: 0.7em; + vertical-align: 0.35em; } span[data-name="句仮名"] { - font-size: 0.7em; - vertical-align: 0.35em; + font-size: 0.7em; + vertical-align: 0.35em; } span[data-name="句項目"] { - margin-top: 0.5em; - margin-left: 1em; - display: block; + margin-top: 0.5em; + margin-left: 1em; + display: block; } span[data-name="和字"] { - font-family: sans-serif; + font-family: sans-serif; } span[data-name="品詞行"] { - font-size: 0.7em; - vertical-align: 0.35em; + font-size: 0.7em; + vertical-align: 0.35em; } span[data-name="品詞用法"] { - font-size: 0.7em; - vertical-align: 0.35em; + font-size: 0.7em; + vertical-align: 0.35em; } span[data-name="大語義"] { - display: block; + display: block; } span[data-name="大語義num"] { - margin: 0.025em; - padding: 0.1em; - font-family: sans-serif; - font-size: 0.8em; - color: white; - background-color: black; + margin: 0.025em; + padding: 0.1em; + font-family: sans-serif; + font-size: 0.8em; + color: white; + background-color: black; } span[data-name="子項目"] { - display: block; - margin-top: 0.5em; - margin-left: 1em; + display: block; + margin-top: 0.5em; + margin-left: 1em; } span[data-name="慣用G"] { - display: block; - margin-top: 0.5em; + display: block; + margin-top: 0.5em; } span[data-name="欧字"] { - font-family: sans-serif; + font-family: sans-serif; } span[data-name="歴史仮名"] { - font-size: 0.7em; - vertical-align: 0.35em; + font-size: 0.7em; + vertical-align: 0.35em; } span[data-name="派生G"] { - display: block; - margin-top: 0.5em; + display: block; + margin-top: 0.5em; } span[data-name="準大語義"] { - display: block; + display: block; } span[data-name="準大語義num"] { - margin: 0.025em; - padding: 0.1em; - font-family: sans-serif; - font-size: 0.8em; - border: solid 1px black; + margin: 0.025em; + padding: 0.1em; + font-family: sans-serif; + font-size: 0.8em; + border: solid 1px black; } span[data-name="漢字音logo"] { - margin: 0.025em; - padding: 0.1em; - font-family: sans-serif; - font-size: 0.8em; - border: solid 0.5px black; - border-radius: 1em; + margin: 0.025em; + padding: 0.1em; + font-family: sans-serif; + font-size: 0.8em; + border: solid 0.5px black; + border-radius: 1em; } span[data-name="漢字音G"] { - font-size: 0.7em; - font-weight: normal; - vertical-align: 0.35em; + font-size: 0.7em; + font-weight: normal; + vertical-align: 0.35em; } span[data-name="生没年"] { - margin-left: 0.25em; - margin-right: 0.25em; - font-size: 0.7em; - vertical-align: 0.35em; + margin-left: 0.25em; + margin-right: 0.25em; + font-size: 0.7em; + vertical-align: 0.35em; } span[data-name="生没年"]:first-child { - margin-left: 0; + margin-left: 0; } span[data-name="用法"] { - font-size: 0.7em; - vertical-align: 0.35em; + font-size: 0.7em; + vertical-align: 0.35em; } span[data-name="異字同訓"] { - display: block; - margin-top: 0.5em; + display: block; + margin-top: 0.5em; } span[data-name="異字同訓仮名"] { - font-family: sans-serif; - font-weight: bold; + font-family: sans-serif; + font-weight: bold; } span[data-name="異字同訓漢字"] { - font-family: serif; - font-weight: normal; + font-family: serif; + font-weight: normal; } span[data-name="異字同訓表記"] { - font-family: sans-serif; - font-weight: bold; + font-family: sans-serif; + font-weight: bold; } span[data-name="異字同訓解説"] { - display: block; + display: block; } span[data-name="異字同訓語義G"] { - display: block; + display: block; } span[data-name="細義"] { - display: block; + display: block; } span[data-name="表外字マーク"] { - font-size: 0.5em; - vertical-align: 0.5em; + font-size: 0.5em; + vertical-align: 0.5em; } span[data-name="見出仮名"] { - font-family: sans-serif; - font-weight: bold; + font-family: sans-serif; + font-weight: bold; } span[data-name="見出相当部"] { - font-family: sans-serif; - font-weight: bold; + font-family: sans-serif; + font-weight: bold; } span[data-name="見出部"] { - display: block; + display: block; } span[data-name="解説部"] { - display: block; - margin-left: 1em; + display: block; + margin-left: 1em; } span[data-name="語義G"] { - display: block; + display: block; } span[data-name="語義区切"] { - font-size: 0.7em; - vertical-align: 0.35em; + font-size: 0.7em; + vertical-align: 0.35em; } span[data-name="返り点"] { - font-size: 0.5em; - font-weight: normal; - vertical-align: 1em; + font-size: 0.5em; + font-weight: normal; + vertical-align: 1em; } span[data-name="返り点"].熟語記号 { - vertical-align: 0em; + vertical-align: 0em; } span[data-name="項目"] { - display: block; + display: block; } span[data-name="logo"] { - margin: 0.025em 0.25em; - padding: 0.1em; - font-size: 0.8em; - border: solid 1px black; - border-radius: 0.2em; + margin: 0.025em 0.25em; + padding: 0.1em; + font-size: 0.8em; + border: solid 1px black; + border-radius: 0.2em; } .gothic { - font-family: sans-serif; - font-weight: bold; + font-family: sans-serif; + font-weight: bold; } .warichu { - font-size: 1em; + font-size: 1em; } .refnum { - font-size: 0.7em; - vertical-align: 0.35em; + font-size: 0.7em; + vertical-align: 0.35em; } #index { - display: none; + display: none; } span[data-name="歴史仮名"]:before, @@ -395,20 +395,20 @@ div[data-child-links] ul { div[data-child-links] span { padding: 0.1em; - font-family: sans-serif; - font-size: 0.8em; - color: white; - border-width: 0.05em; - border-style: none; - border-color: black; - word-break: keep-all; - -webkit-border-radius: 0.2em; + font-family: sans-serif; + font-size: 0.8em; + color: white; + border-width: 0.05em; + border-style: none; + border-color: black; + word-break: keep-all; + -webkit-border-radius: 0.2em; } div[data-child-links="子項目"] span { - background-color: rgb(153, 42, 103); + background-color: rgb(153, 42, 103); } div[data-child-links="句項目"] span { - background-color: rgb(176, 127, 57); + background-color: rgb(176, 127, 57); } diff --git a/data/mdict/css/jitenon-kokugo.css b/data/mdict/css/jitenon-kokugo.css index 687ae14..70197ff 100644 --- a/data/mdict/css/jitenon-kokugo.css +++ b/data/mdict/css/jitenon-kokugo.css @@ -1,10 +1,10 @@ body { font-family: serif; - margin: 1em 44px 1em 1.5em; - line-height: 1.5em; - font-size: 1.2em; - color: black; + margin: 1em 44px 1em 1.5em; + line-height: 1.5em; + font-size: 1.2em; + color: black; } table, th, td { @@ -22,7 +22,7 @@ th { } a { - text-decoration: none; + text-decoration: none; } td ul { @@ -44,13 +44,13 @@ td ul { .num_icon { font-family: sans-serif; - padding-left: 0.25em; - margin-right: 0.5em; - font-size: 0.8em; - word-break: keep-all; + padding-left: 0.25em; + margin-right: 0.5em; + font-size: 0.8em; + word-break: keep-all; color: white; - background-color: gray; - border-style: none; - -webkit-border-radius: 0.1em; + background-color: gray; + border-style: none; + -webkit-border-radius: 0.1em; } diff --git a/data/mdict/css/jitenon-kotowaza.css b/data/mdict/css/jitenon-kotowaza.css index 2dfb1be..05bd394 100644 --- a/data/mdict/css/jitenon-kotowaza.css +++ b/data/mdict/css/jitenon-kotowaza.css @@ -1,10 +1,10 @@ body { font-family: serif; - margin: 1em 44px 1em 1.5em; - line-height: 1.5em; - font-size: 1.2em; - color: black; + margin: 1em 44px 1em 1.5em; + line-height: 1.5em; + font-size: 1.2em; + color: black; } table, th, td { @@ -22,7 +22,7 @@ th { } a { - text-decoration: none; + text-decoration: none; } .見出し { diff --git a/data/mdict/css/jitenon-yoji.css b/data/mdict/css/jitenon-yoji.css index 2dfb1be..05bd394 100644 --- a/data/mdict/css/jitenon-yoji.css +++ b/data/mdict/css/jitenon-yoji.css @@ -1,10 +1,10 @@ body { font-family: serif; - margin: 1em 44px 1em 1.5em; - line-height: 1.5em; - font-size: 1.2em; - color: black; + margin: 1em 44px 1em 1.5em; + line-height: 1.5em; + font-size: 1.2em; + color: black; } table, th, td { @@ -22,7 +22,7 @@ th { } a { - text-decoration: none; + text-decoration: none; } .見出し { diff --git a/data/mdict/css/smk8.css b/data/mdict/css/smk8.css index e88da1c..24710ca 100644 --- a/data/mdict/css/smk8.css +++ b/data/mdict/css/smk8.css @@ -1,31 +1,31 @@ body { - margin: 1em 44px 1em 1.5em; - line-height: 1.5em; - font-family: serif; - font-size: 1.2em; - color: black; + margin: 1em 44px 1em 1.5em; + line-height: 1.5em; + font-family: serif; + font-size: 1.2em; + color: black; } span[data-name="項目"] { - display: block; + display: block; } span[data-name="見出部"] { - display: block; + display: block; } span[data-name="見出部"].pri { - margin-left: -0.4em; + margin-left: -0.4em; } span[data-name="見出仮名"] { - font-family: sans-serif; - font-weight: bold; + font-family: sans-serif; + font-weight: bold; } rt[data-name="表音表記"] { - font-size: 0.65em; + font-size: 0.65em; } rt[data-name="表外音訓マーク"] { @@ -37,157 +37,157 @@ rt[data-name="表外字マーク"] { } span[data-name="解説部"] { - display: block; - margin-left: 1em; + display: block; + margin-left: 1em; } span[data-name="大語義"] { - display: block; + display: block; } span[data-name="語義"] { - display: block; + display: block; } span[data-name="副義"] { - display: block; + display: block; } span[data-name="用例G"] { - display: block; + display: block; } span[data-name="注記"] span[data-name="用例G"] { - display: inline; + display: inline; } span[data-name="用例"] { - display: block; + display: block; } span[data-name="注記"] span[data-name="用例"] { - display: inline; + display: inline; } span[data-name="見出語省略"] { - margin-left: 0.125em; - margin-right: 0.125em; + margin-left: 0.125em; + margin-right: 0.125em; } span[data-name="教育漢字"] { - color: green; + color: green; } span[data-name="ルビ"] { - font-size: 0.7em; - vertical-align: 0.5em; + font-size: 0.7em; + vertical-align: 0.5em; } span[data-name="ルビ区切"] { - font-size: 0.7em; - vertical-align: 0.65em; + font-size: 0.7em; + vertical-align: 0.65em; } span[data-name="名詞形G"] { - display: block; + display: block; } span[data-name="可能形G"] { - display: block; + display: block; } span[data-name="参照G"] { - display: block; + display: block; } span[data-name="参照"] { - color: blue; + color: blue; } span[data-name="子項目"], span[data-name="句項目"] { - display: block; - margin-bottom: 0.5em; + display: block; + margin-bottom: 0.5em; } span[data-name="子項目F"], span[data-name="句項目F"] { - display: block; - margin-bottom: 0.5em; - margin-top: 0.5em; + display: block; + margin-bottom: 0.5em; + margin-top: 0.5em; } span[data-name="子見出部"] { - display: block; + display: block; } span[data-name="子解説部"] { - display: block; - margin-left: 1em; + display: block; + margin-left: 1em; } span[data-name="句見出部"] { - display: block; + display: block; } span[data-name="句解説部"] { - display: block; - margin-left: 1em; + display: block; + margin-left: 1em; } span[data-name="運用解説"] { - display: block; + display: block; } span[data-name="表記解説"] { - display: block; + display: block; } span[data-name="文法解説"] { - display: block; + display: block; } span[data-name="かぞえ方解説"] { - display: block; + display: block; } span[data-name="派生"] { - display: block; - margin-left: 1.25em; + display: block; + margin-left: 1.25em; } span[data-name="派生SubGF"] { - display: block; - text-indent: -1.25em; + display: block; + text-indent: -1.25em; } span[data-name="派生SubG"] { - display: block; + display: block; } span[data-name="派生SubGF"] span[data-name="用例G"] { - text-indent: 0; + text-indent: 0; } span[data-name="派生見出"] { - font-weight: bold; + font-weight: bold; } span[data-name="派生見出"].normal { - font-weight: normal + font-weight: normal } span[data-name="造語成分項目"] { - display: block; - margin-top: 1em; + display: block; + margin-top: 1em; } span[data-name="造語成分見出"] { - font-size:1.4em; + font-size:1.4em; } span[data-name="EM"] { - font-weight: bold; + font-weight: bold; } span[data-name="アクセント"] { @@ -196,128 +196,128 @@ span[data-name="アクセント"] { } span[data-name="アクセント組M"] { - vertical-align: 0.1em; + vertical-align: 0.1em; } span[data-name="反意語M"], span[data-name="同意語M"] { - vertical-align: 0.15em; + vertical-align: 0.15em; } span[data-name="B"] { - font-weight: bold; + font-weight: bold; } span[data-name="IT"] { - font-family: "Times New Roman"; - font-style: italic; + font-family: "Times New Roman"; + font-style: italic; } span[data-name="EXCLAMATION"] { - font-family: "Times New Roman"; - font-style: italic; - font-size: 1.2em; + font-family: "Times New Roman"; + font-style: italic; + font-size: 1.2em; } span[data-name="歴史仮名"] { - font-family: serif; - font-size: 0.7em; - font-weight: normal; - vertical-align: 0.35em; - -webkit-user-select: nocopy; + font-family: serif; + font-size: 0.7em; + font-weight: normal; + vertical-align: 0.35em; + -webkit-user-select: nocopy; } span[data-name="出現形"] { - font-weight: bold; + font-weight: bold; } span[data-name="品詞用法"] { - font-size: 0.7em; + font-size: 0.7em; } span[data-name="品詞用法"] span[data-name="品詞G"] { - font-size: 1.2em; + font-size: 1.2em; } span[data-name="基本構文型"] { - font-size: 0.8em; + font-size: 0.8em; } span[data-name="基本構文em"] { - font-weight: bold; + font-weight: bold; } span[data-name="ウ濁音参照"] { - font-family: sans-serif; - font-weight: bold; + font-family: sans-serif; + font-weight: bold; } span[data-name="rect"] { - padding: 0.1em; - font-family: sans-serif; - font-size: 0.8em; - border-width: 0.05em; - border-style: solid; - border-color: black; - word-break: keep-all; - -webkit-border-radius: 0.1em; + padding: 0.1em; + font-family: sans-serif; + font-size: 0.8em; + border-width: 0.05em; + border-style: solid; + border-color: black; + word-break: keep-all; + -webkit-border-radius: 0.1em; } span[data-name="rect"].fill { - color: white; - border-style: none; - background-color: gray; + color: white; + border-style: none; + background-color: gray; } span[data-name="rect"].red { - color: red; - border-color: red; + color: red; + border-color: red; } span[data-name="rect"].redfill { - color: white; - border-style: none; - background-color: red; + color: white; + border-style: none; + background-color: red; } span[data-name="red"] { - color: red; + color: red; } span[data-name="大語義番号"], span[data-name="語義番号"], span[data-name="副義番号"] { - margin-right: 0.25em; - font-family: sans-serif; + margin-right: 0.25em; + font-family: sans-serif; } span[data-name="ref"] span[data-name="大語義番号"], span[data-name="ref"] span[data-name="語義番号"], span[data-name="ref"] span[data-name="副義番号"] { - font-size: 0.8em; - margin-right: 0; + font-size: 0.8em; + margin-right: 0; } span[data-name="表外字マーク"] { - vertical-align: 0.5em; + vertical-align: 0.5em; } span[data-name="表外音訓マーク"] { - font-size: 0.5em; - vertical-align: 0.5em; + font-size: 0.5em; + vertical-align: 0.5em; } span[data-name="言換M"] { - font-size: 0.5em; + font-size: 0.5em; } span[data-name="字音語参照項目"] { - display: block; + display: block; } span[data-name="本文項目M"] { - font-size: 0.7em; + font-size: 0.7em; } span[data-name="運用解説M"], @@ -325,69 +325,69 @@ span[data-name="表記解説M"], span[data-name="文法解説M"], span[data-name="かぞえ方解説M"], span[data-name="派生M"] { - margin-right: 0.25em; - font-family: sans-serif; + margin-right: 0.25em; + font-family: sans-serif; } span[data-name="派生ロゴ"] { - margin-left: 0.1em; - margin-right: 0.1em; + margin-left: 0.1em; + margin-right: 0.1em; } span[data-name="文字"] { - margin: 0 0.2em; + margin: 0 0.2em; } span[data-name="二分"] { - font-size: 0.5em; + font-size: 0.5em; } span[data-name="四分"] { - font-size: 0.25em; + font-size: 0.25em; } span[data-name="ref"] { - margin-left: 0.1em; - margin-right: 0.1em; + margin-left: 0.1em; + margin-right: 0.1em; } span[data-name="ref-small"] { - font-size: 0.7em; + font-size: 0.7em; } span[data-name="sup"] { - font-size: 0.6em; + font-size: 0.6em; } span[data-name="外字"] img { - height: 1em; + height: 1em; } img.audio { - height: 1em; - margin: 0 0.25em; + height: 1em; + margin: 0 0.25em; } img.外字 { - height: 1em; + height: 1em; } img.外字欧 { - height: 1em; + height: 1em; } span[data-name="レ点M"] { - font-size: 0.6em; - vertical-align: -0.7em; + font-size: 0.6em; + vertical-align: -0.7em; } a { - text-decoration: none; + text-decoration: none; } span[data-name="audio"] a { - padding-bottom: 0; - border-bottom: none; + padding-bottom: 0; + border-bottom: none; } span[data-name="アクセント"] a, @@ -396,8 +396,8 @@ span[data-name="雅語M"] a, span[data-name="派生M"] a, span[data-name="原籍M"] a, span[data-name="品詞M"] a { - color: black; - border-bottom-style: none; + color: black; + border-bottom-style: none; } @@ -422,22 +422,22 @@ div[data-child-links] ul { div[data-child-links] span { padding: 0.1em; - font-family: sans-serif; - font-size: 0.8em; - color: white; - border-width: 0.05em; - border-style: none; - border-color: black; - word-break: keep-all; - -webkit-border-radius: 0.2em; + font-family: sans-serif; + font-size: 0.8em; + color: white; + border-width: 0.05em; + border-style: none; + border-color: black; + word-break: keep-all; + -webkit-border-radius: 0.2em; } div[data-child-links="子項目"] span { - background-color: rgb(153, 42, 103); + background-color: rgb(153, 42, 103); } div[data-child-links="句項目"] span { - background-color: rgb(176, 127, 57); + background-color: rgb(176, 127, 57); } span.pri > span.外字 {