From 42273f98bc7c794c60185fcadfe6f11db0043ef3 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Mon, 7 Dec 2020 17:52:17 +0300 Subject: tweak layout on smaller devices maybe it's over-flex-ing, but i started to like that thing :p --- _sass/main.scss | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to '_sass') diff --git a/_sass/main.scss b/_sass/main.scss index f6fca46..2da1bac 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -22,7 +22,7 @@ html { body { max-width: 835px; - min-width: 364px; + min-width: 462px; margin: 20px auto 0 auto; padding: 8px; color: $color-dark-bg; @@ -178,6 +178,9 @@ footer { } @media only screen and (max-width: 760px) { + body p { + padding-top: 1em; + } nav { margin-bottom: 5vh; ul { @@ -193,9 +196,27 @@ footer { } } .about { + flex-direction: column-reverse; + .about-sidebar { + display: flex; + } .about-info { padding: 0 2%; } + .about-links { + margin-top: 0; + p:first-child { + margin: 0; + } + ul { + display: flex; + flex-wrap: wrap; + justify-content: flex-start; + li { + margin-right: auto; + } + } + } } } -- cgit v1.2.3