aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2020-08-14 19:20:13 +0300
committerla-ninpre <leobrekalini@gmail.com>2020-08-14 19:20:13 +0300
commitdf5eaabe38a62168e7167781d5f862953e97af1e (patch)
treef9af75d5b014e36e866e46392e1ad892bc49f154
parentab2853d5e8fdb049684b62c164cea271d44d7066 (diff)
downloadaaoth.xyz-df5eaabe38a62168e7167781d5f862953e97af1e.tar.gz
aaoth.xyz-df5eaabe38a62168e7167781d5f862953e97af1e.zip
add rules for mobile screen in stylesheet
this is a subject to change, but for now it's fine.
-rw-r--r--_sass/main.scss20
1 files changed, 19 insertions, 1 deletions
diff --git a/_sass/main.scss b/_sass/main.scss
index f73cc5b..a12cc99 100644
--- a/_sass/main.scss
+++ b/_sass/main.scss
@@ -10,10 +10,11 @@ html {
body {
max-width: fit-content;
+ min-width: 364px;
margin: 20px auto 0 auto;
+ padding: 8px;
font: 100% $body-font;
}
-
a {
color: #707070;
text-decoration: none;
@@ -54,3 +55,20 @@ footer {
margin: 0;
}
}
+
+@media only screen and (max-width: 700px) {
+ nav {
+ margin-bottom: 5vh;
+ ul {
+ width: 100%;
+ padding: 0;
+ padding-top: 30px;
+ position: relative;
+ top: 5vh;
+ }
+ img {
+ position: absolute;
+ top: 0;
+ }
+ }
+}