diff options
author | Volpeon <git@volpeon.ink> | 2021-12-25 09:42:15 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-12-25 09:42:15 +0100 |
commit | f9a93abc98474fd50cebd7de81e992dcad85c318 (patch) | |
tree | eeb989072538f9c035c36c607d8f2ebc05c78d22 /assets/css | |
parent | Reduced snowfall on smaller viewports (diff) | |
download | volpeon.ink-f9a93abc98474fd50cebd7de81e992dcad85c318.tar.gz volpeon.ink-f9a93abc98474fd50cebd7de81e992dcad85c318.tar.bz2 volpeon.ink-f9a93abc98474fd50cebd7de81e992dcad85c318.zip |
Snow improvements
Diffstat (limited to 'assets/css')
-rw-r--r-- | assets/css/objects/_icon.scss | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/assets/css/objects/_icon.scss b/assets/css/objects/_icon.scss index d074f55..f80f422 100644 --- a/assets/css/objects/_icon.scss +++ b/assets/css/objects/_icon.scss | |||
@@ -7,8 +7,8 @@ | |||
7 | 7 | ||
8 | @include object(namespace()) { | 8 | @include object(namespace()) { |
9 | display: block; | 9 | display: block; |
10 | width: 16px; | 10 | width: iro-px-to-rem(16px); |
11 | height: 16px; | 11 | height: iro-px-to-rem(16px); |
12 | stroke-width: 1.5px; | 12 | stroke-width: 1.5px; |
13 | stroke-linecap: round; | 13 | stroke-linecap: round; |
14 | stroke-linejoin: round; | 14 | stroke-linejoin: round; |
@@ -21,7 +21,9 @@ | |||
21 | @include modifier('snow') { | 21 | @include modifier('snow') { |
22 | position: fixed; | 22 | position: fixed; |
23 | z-index: 9999; | 23 | z-index: 9999; |
24 | top: -20px; | 24 | top: -1.2em; |
25 | width: 1em; | ||
26 | height: 1em; | ||
25 | animation: fall linear forwards; | 27 | animation: fall linear forwards; |
26 | stroke-width: 2px; | 28 | stroke-width: 2px; |
27 | color: #fff; | 29 | color: #fff; |