diff options
| author | Volpeon <git@volpeon.ink> | 2021-11-14 16:32:43 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-11-14 16:32:43 +0100 |
| commit | 789a593987be88bc3e16b8ceb7357c24ef9e5aa2 (patch) | |
| tree | 27f8852f8d80723d3297c9f2eb0473bddd2ffc2a /assets/css | |
| parent | Update npm dependencies (diff) | |
| download | volpeon.ink-789a593987be88bc3e16b8ceb7357c24ef9e5aa2.tar.gz volpeon.ink-789a593987be88bc3e16b8ceb7357c24ef9e5aa2.tar.bz2 volpeon.ink-789a593987be88bc3e16b8ceb7357c24ef9e5aa2.zip | |
Optimized layout structure
Diffstat (limited to 'assets/css')
| -rw-r--r-- | assets/css/_basics.scss | 2 | ||||
| -rw-r--r-- | assets/css/components/_header.scss | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/assets/css/_basics.scss b/assets/css/_basics.scss index b9096e9..4d4ecc6 100644 --- a/assets/css/_basics.scss +++ b/assets/css/_basics.scss | |||
| @@ -37,6 +37,8 @@ body { | |||
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | main { | 39 | main { |
| 40 | width: 100%; | ||
| 41 | |||
| 40 | @include iro-responsive-env(('sm', 'md')) { | 42 | @include iro-responsive-env(('sm', 'md')) { |
| 41 | font-size: iro-responsive-set((1rem, 1 / 16 * 18rem)); | 43 | font-size: iro-responsive-set((1rem, 1 / 16 * 18rem)); |
| 42 | } | 44 | } |
diff --git a/assets/css/components/_header.scss b/assets/css/components/_header.scss index 341be75..a59c039 100644 --- a/assets/css/components/_header.scss +++ b/assets/css/components/_header.scss | |||
| @@ -64,5 +64,9 @@ | |||
| 64 | width: prop(--dims --icon); | 64 | width: prop(--dims --icon); |
| 65 | height: prop(--dims --icon); | 65 | height: prop(--dims --icon); |
| 66 | } | 66 | } |
| 67 | |||
| 68 | @include media('>=lg') { | ||
| 69 | position: absolute; | ||
| 70 | } | ||
| 67 | } | 71 | } |
| 68 | } | 72 | } |
