aboutsummaryrefslogtreecommitdiff
path: root/assets/css/partials/header.scss
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/partials/header.scss')
-rw-r--r--assets/css/partials/header.scss18
1 files changed, 17 insertions, 1 deletions
diff --git a/assets/css/partials/header.scss b/assets/css/partials/header.scss
index 65f71b4..16fb314 100644
--- a/assets/css/partials/header.scss
+++ b/assets/css/partials/header.scss
@@ -3,7 +3,7 @@ header {
color: black;
display: flex;
- flex-direction: horizontal;
+ flex-direction: row;
align-items: center;
justify-content: space-between;
@@ -39,4 +39,20 @@ header {
color: var(--accent-dark);
}
}
+}
+
+@media (max-width: 768px) {
+ header {
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+
+ h1 {
+ margin-bottom: 0.5rem;
+ }
+
+ p {
+ margin-bottom: 0;
+ }
+ }
} \ No newline at end of file