diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-12-13 12:32:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-13 12:32:43 -0500 |
commit | 14b9e0621b34d34411c1e3eec8ff1d89b6717756 (patch) | |
tree | ba61a325b45f1ced24b63a3e614ba41f5b032bcb /ext/bg/css | |
parent | 5d2edda7534360def79921eb9d38ef72b4f6da04 (diff) |
Updated welcome page (#1107)
* Make storage controller optional
* Make more elements optional
* Update styles
* Create new welcome page
* Update URL for welcome guide
* Remove old guide
* Fix unused global
Diffstat (limited to 'ext/bg/css')
-rw-r--r-- | ext/bg/css/settings2.css | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/ext/bg/css/settings2.css b/ext/bg/css/settings2.css index 9b5bea81..e15fa080 100644 --- a/ext/bg/css/settings2.css +++ b/ext/bg/css/settings2.css @@ -46,9 +46,10 @@ --settings-group-wrap: nowrap; --show-preview-label-height: 40px; - --font-size-default: 14px; + --font-size-default-no-units: 14; + --font-size-default: calc(1px * var(--font-size-default-no-units)); --font-size-small: 12px; - --line-height-default: calc(20 / 14); + --line-height-default: calc(20 / var(--font-size-default-no-units)); --outline-item-height: 40px; --outline-item-icon-size: 32px; --input-width: 100px; @@ -586,9 +587,16 @@ h3 { .settings-group.settings-group-top-margin { margin-top: 1.0125em; } +.settings-item:not([hidden]) { + display: block; +} .settings-item-button { cursor: pointer; } +a.settings-item-button { + color: var(--text-color-default); + text-decoration: none; +} .settings-item-outer { display: block; width: 100%; @@ -2335,7 +2343,7 @@ code.anki-field-marker { margin: 0; padding: 0; width: 100%; - height: calc(0.425em * 4 + 1em * (20 / 14) * 3); + height: calc(0.425em * 4 + 1em * var(--line-height-default) * 3); } |