aboutsummaryrefslogtreecommitdiff
path: root/ext/css/search.css
diff options
context:
space:
mode:
Diffstat (limited to 'ext/css/search.css')
-rw-r--r--ext/css/search.css5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/css/search.css b/ext/css/search.css
index 521008eb..77766885 100644
--- a/ext/css/search.css
+++ b/ext/css/search.css
@@ -18,6 +18,7 @@
/* Variables */
:root {
+ --main-content-horizontal-padding: 0.72em;
--entry-horizontal-padding: 0;
--padding: calc(10em / var(--font-size-no-units));
@@ -86,7 +87,7 @@ h1 {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
white-space: pre-wrap;
z-index: 1;
- margin: 0;
+ margin: 0 calc(-1 * var(--main-content-horizontal-padding));
}
.search-button {
flex: 0 0 auto;
@@ -131,7 +132,7 @@ h1 {
.search-options {
display: flex;
flex-flow: row wrap;
- margin: 0.5em 0;
+ margin: 0.5em calc(-1 * var(--main-content-horizontal-padding));
align-items: center;
}
.search-option {