aboutsummaryrefslogtreecommitdiff
path: root/ext/css/search.css
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-03-13 13:08:50 -0500
committerGitHub <noreply@github.com>2021-03-13 13:08:50 -0500
commit06b02c3cf2ce725383f9a0bae87d3ef084ed8809 (patch)
tree65a970b97a8019c714670d1ebc7b98dcb4537c00 /ext/css/search.css
parentf6b591fd1a6d833cfa45e314ac7b2dbb76009877 (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.css3
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;