diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-09-19 09:23:39 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-12-20 09:38:43 +0300 |
commit | 45ecbbf62ce9f04a7867f43cf4018fa0b7de448d (patch) | |
tree | c8bd324c0e19e41f18a1db8a5bf7bd0fcc965bad /css | |
parent | 5e589bacfe5074e46424c99596632f3cf4e2ad85 (diff) |
Design fixes and preview check
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'css')
-rw-r--r-- | css/admin.scss | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/css/admin.scss b/css/admin.scss index 17414dc9..c832ee5d 100644 --- a/css/admin.scss +++ b/css/admin.scss @@ -46,8 +46,10 @@ } ul { display: flex; + flex-wrap: wrap; li { $size: 150px; + $sizeY: $size / 210 * 297; $space: 10px; border-radius: var(--border-radius); border: 1px solid var(--color-border); @@ -60,7 +62,7 @@ margin: $space; img { width: $size; - height: $size; + height: $sizeY; background-color: var(--color-background-dark); } figcaption { @@ -70,7 +72,7 @@ .delete-cover, .delete-template { width: $size; - height: $size; + height: $sizeY; top: 0; left: 0; position: absolute; @@ -78,7 +80,7 @@ opacity: 0; transition: opacity 250ms ease-in-out; z-index: 3; - line-height: $size; + line-height: $sizeY; text-align: center; font-size: 20px; background-size: 24px; |