diff options
| author | BigCoke233 <hi@guhub.cn> | 2026-01-22 11:54:31 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2026-01-22 11:54:31 +0800 |
| commit | 270e84bd4951beb7015fd3d1f0f91bc27f32d453 (patch) | |
| tree | 5e444a5ab6568ed2148c136b9c78ec398af75a8f /assets/css/utils/_variables.scss | |
| parent | 3362a6a7188197f84726d27bffe105ff898df39b (diff) | |
feat: better header on small screens
Diffstat (limited to 'assets/css/utils/_variables.scss')
| -rw-r--r-- | assets/css/utils/_variables.scss | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/assets/css/utils/_variables.scss b/assets/css/utils/_variables.scss index 0261d453..83159980 100644 --- a/assets/css/utils/_variables.scss +++ b/assets/css/utils/_variables.scss @@ -24,7 +24,10 @@ serif; --page-width: 650px; - --page-margin-y: 5rem; + --page-margin-y: 3rem; + @media screen and (min-width: 768) { + --page-margin-y: 5rem; + } /* pagefind custom css */ --pagefind-ui-primary: var(--text-color); |
