diff --git a/src/components/Nav.svelte b/src/components/Nav.svelte index 47b37a6..fc933e7 100644 --- a/src/components/Nav.svelte +++ b/src/components/Nav.svelte @@ -179,7 +179,7 @@ margin: 0 auto; } - @media (max-width: 768px) { + @media (max-width:768px) { .nav-links { display: none; } diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 060fbd8..ee7eb05 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -110,26 +110,29 @@ @media (max-width: 768px) { + + .section-header{ + height: 87vh; + position: relative; + } + .logo-container { display: inline-block; max-width: 300px; width: 100%; height: 160px; left: 50%; - transform: translateX(-50%); + top: 17%; + transform: translate(-50%, -50%); } .logo-front > p{ font-size: 1.1rem; } - .section-about{ - display: none; - } - - #social { - margin-top: 120px; + position: absolute; + bottom: 25%; display: grid; grid-template-columns: auto auto; } @@ -137,6 +140,27 @@ #social > a{ font-size: 1.1rem; } + + .section-about{ + height: 100vh; + } + + .about-us{ + width: 100%; + font-size: 1rem; + display: inline-block; + margin-top: 15vh; + } + + .about-us > p{ + line-height: 1.5; + word-spacing: 2px; + } + + .divider{ + width: 130px; + } + }