diff options
author | Volpeon <git@volpeon.ink> | 2021-04-18 16:03:51 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-04-18 16:03:51 +0200 |
commit | a9a679dc736c9df2657a8e92f651f66cb4032aae (patch) | |
tree | 24b96b580e58285de4029c3482e57dbca437a118 | |
parent | Update (diff) | |
download | volpeon.ink-a9a679dc736c9df2657a8e92f651f66cb4032aae.tar.gz volpeon.ink-a9a679dc736c9df2657a8e92f651f66cb4032aae.tar.bz2 volpeon.ink-a9a679dc736c9df2657a8e92f651f66cb4032aae.zip |
Update
-rw-r--r-- | assets/css/_utils.scss | 12 | ||||
-rw-r--r-- | templates/base.html | 4 | ||||
-rw-r--r-- | templates/symbols.svg | 3 |
3 files changed, 11 insertions, 8 deletions
diff --git a/assets/css/_utils.scss b/assets/css/_utils.scss index e8e98d2..2284cf5 100644 --- a/assets/css/_utils.scss +++ b/assets/css/_utils.scss | |||
@@ -52,15 +52,17 @@ | |||
52 | } | 52 | } |
53 | } | 53 | } |
54 | 54 | ||
55 | @include utility('my-auto') { | ||
56 | margin-top: auto; | ||
57 | margin-bottom: auto; | ||
58 | } | ||
59 | |||
60 | @include utility('db') { | 55 | @include utility('db') { |
61 | display: block; | 56 | display: block; |
62 | } | 57 | } |
63 | 58 | ||
59 | @include utility('vh') { | ||
60 | position: absolute; | ||
61 | width: 0; | ||
62 | height: 0; | ||
63 | overflow: hidden; | ||
64 | } | ||
65 | |||
64 | @include utility('ar') { | 66 | @include utility('ar') { |
65 | text-align: right; | 67 | text-align: right; |
66 | } | 68 | } |
diff --git a/templates/base.html b/templates/base.html index 625b025..794f83f 100644 --- a/templates/base.html +++ b/templates/base.html | |||
@@ -78,7 +78,9 @@ ${layouts/page()} | |||
78 | </footer> | 78 | </footer> |
79 | </main> | 79 | </main> |
80 | 80 | ||
81 | ${symbols.svg()} | 81 | <div class="u-vh" aria-hidden="true"> |
82 | ${symbols.svg()} | ||
83 | </div> | ||
82 | </body> | 84 | </body> |
83 | 85 | ||
84 | </html> | 86 | </html> |
diff --git a/templates/symbols.svg b/templates/symbols.svg index 958e271..e96fd50 100644 --- a/templates/symbols.svg +++ b/templates/symbols.svg | |||
@@ -1,5 +1,4 @@ | |||
1 | <svg style="position: absolute; width: 0; height: 0; overflow: hidden;" aria-hidden="true" version="1.1" | 1 | <svg version="1.1" xmlns="http://www.w3.org/2000/svg"> |
2 | xmlns="http://www.w3.org/2000/svg"> | ||
3 | <defs> | 2 | <defs> |
4 | <symbol id="logo" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid"> | 3 | <symbol id="logo" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid"> |
5 | <path fill="currentColor" stroke="none" d="M 3.879982,13 H 6.0160181 L 2.6160361,3 H 0.48 Z" /> | 4 | <path fill="currentColor" stroke="none" d="M 3.879982,13 H 6.0160181 L 2.6160361,3 H 0.48 Z" /> |