summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorj-james2021-02-21 01:06:02 +0000
committerj-james2021-02-21 01:06:02 +0000
commitaf849ba437879587dd102609bb426f8d059e8c84 (patch)
tree2c163ec099a4879a37081e91191445726c31807c /css
parentd26bd3e82443ebffd83d77d5e2666a0f3d9c410e (diff)
Media queries for mobile devices
Diffstat (limited to 'css')
-rw-r--r--css/style.css21
1 files changed, 20 insertions, 1 deletions
diff --git a/css/style.css b/css/style.css
index 825cd04..5b8aeff 100644
--- a/css/style.css
+++ b/css/style.css
@@ -35,7 +35,6 @@ header {
}
header h1 {
- font-weight: normal;
font-size: inherit;
margin: 0;
}
@@ -90,6 +89,26 @@ footer {
text-align: right;
}
+@media screen and (max-width: 700px) {
+ header {
+ flex-direction: column;
+ padding: 1em 0 0 0;
+ }
+ #intro {
+ flex-direction: column;
+ align-items: center;
+ }
+ #face {
+ margin: 1em;
+ }
+}
+
+@media screen and (max-width: 320px) {
+ body {
+ font-size: 16px;
+ }
+}
+
@font-face {
font-family: Alegreya;
src: url(../fonts/Alegreya/Alegreya-Regular.ttf);