diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-03-13 13:08:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-13 13:08:50 -0500 |
commit | 06b02c3cf2ce725383f9a0bae87d3ef084ed8809 (patch) | |
tree | 65a970b97a8019c714670d1ebc7b98dcb4537c00 /ext/css/search.css | |
parent | f6b591fd1a6d833cfa45e314ac7b2dbb76009877 (diff) |
Add css width var (#1523)
* Rename --main-content-size to --content-width
* Add --content-width-search variable
Diffstat (limited to 'ext/css/search.css')
-rw-r--r-- | ext/css/search.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/css/search.css b/ext/css/search.css index b5643ebb..47a1c4c8 100644 --- a/ext/css/search.css +++ b/ext/css/search.css @@ -21,7 +21,8 @@ --entry-horizontal-padding: 0; --padding: calc(10em / var(--font-size-no-units)); - --main-content-size: calc(700em / var(--font-size-no-units)); + --content-width-search: 700; + --content-width: calc(1em * var(--content-width-search) / var(--font-size-no-units)); --background-color: #ffffff; --separator-color1: #cccccc; |