aboutsummaryrefslogtreecommitdiffstats
path: root/_sass
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2020-12-07 17:52:17 +0300
committerla-ninpre <leobrekalini@gmail.com>2020-12-07 17:52:17 +0300
commit42273f98bc7c794c60185fcadfe6f11db0043ef3 (patch)
tree239016880be740fa472f902a2775c91fb25f11fc /_sass
parentfec80dcc6e250ceeaa78f1444dd8c021df2e487c (diff)
downloadaaoth.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.scss23
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;
+ }
+ }
+ }
}
}