diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2020-12-07 17:52:17 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2020-12-07 17:52:17 +0300 |
| commit | 42273f98bc7c794c60185fcadfe6f11db0043ef3 (patch) | |
| tree | 239016880be740fa472f902a2775c91fb25f11fc /_sass | |
| parent | fec80dcc6e250ceeaa78f1444dd8c021df2e487c (diff) | |
| download | aaoth.xyz-42273f98bc7c794c60185fcadfe6f11db0043ef3.tar.gz aaoth.xyz-42273f98bc7c794c60185fcadfe6f11db0043ef3.zip | |
tweak layout on smaller devices
maybe it's over-flex-ing, but i started to like that thing :p
Diffstat (limited to '_sass')
| -rw-r--r-- | _sass/main.scss | 23 |
1 files changed, 22 insertions, 1 deletions
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; + } + } + } } } |
