diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-06-25 17:24:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-25 17:24:29 -0400 |
commit | 5756885fa9340f087a168d40c8d0d10a3a8fe4d5 (patch) | |
tree | e960821662a12b70430590c9ea4f43b1abc4d54c /ext/css/display.css | |
parent | cf70b3de6411cfd540f2c3c7f6e1c27afb10ef84 (diff) |
Structured content updates (#1753)
* Update schema
* Update content generation
* Update styles
* Update test data
* Update style names
Diffstat (limited to 'ext/css/display.css')
-rw-r--r-- | ext/css/display.css | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ext/css/display.css b/ext/css/display.css index 45658f19..e1efb223 100644 --- a/ext/css/display.css +++ b/ext/css/display.css @@ -1726,6 +1726,32 @@ button.definition-item-expansion-button:focus:focus-visible+.definition-item-con } +/* Structured content glossary styles */ +.gloss-sc-table-container { + display: block; +} +.gloss-sc-table { + table-layout: auto; + border-collapse: collapse; + border-spacing: 0; +} +.gloss-sc-tbody { + background-color: transparent; +} +.gloss-sc-thead, +.gloss-sc-tfoot, +.gloss-sc-th { + font-weight: bold; + background-color: var(--background-color-dark1); +} +.gloss-sc-th, +.gloss-sc-td { + border: calc(1em / var(--font-size-no-units)) solid var(--text-color-light2); + padding: 0.25em; + vertical-align: top; +} + + /* Kanji */ .kanji-glyph-container { display: block; |