diff --git a/.idea/valier.iml b/.idea/valier.iml index 8d18b36..e9008c5 100644 --- a/.idea/valier.iml +++ b/.idea/valier.iml @@ -2,6 +2,8 @@ + + diff --git a/tailwind/custom/base.css b/tailwind/custom/base.css index 49d74b0..71d1b18 100644 --- a/tailwind/custom/base.css +++ b/tailwind/custom/base.css @@ -13,5 +13,23 @@ */ body { @apply bg-background text-tertiary font-sans; - font-size: 18px; + font-size: 14px; + @media screen(lg) { + font-size: 18px; + } +} + +#menu-toggle:checked + #menu { + display: flex; + justify-content: center; +} + +@media (max-width: 768px) { + footer { + .legal, .wp-block-group { + flex-direction: column; + margin-left: 1rem; + margin-right: 1rem; + } + } } diff --git a/tailwind/custom/components/components.css b/tailwind/custom/components/components.css index b59a584..4dec8ec 100644 --- a/tailwind/custom/components/components.css +++ b/tailwind/custom/components/components.css @@ -62,10 +62,10 @@ header { background-size: cover; background-position: center; - #site-navigation { - img.linkedin { - height: 1rem; - } + img.linkedin { + height: 1rem; + margin-left: 1rem; + margin-top: -0.5rem; } .header-cointainer { @@ -84,6 +84,8 @@ header { video { width: 100%; + height: 100%; + object-fit: cover; } } @@ -116,7 +118,13 @@ footer { top: 15%; z-index: 1000; width: 40vw; + min-width: 500px; margin-left: 15vw; + @media (max-width: 500px) { + width: 90vw; + min-width: 0; + margin: 5vw; + } } } @@ -128,13 +136,16 @@ footer { @apply absolute; left: -10vw; top: 10vw; + @media (max-width: 500px) { + left: 10vw; + } } } .overlay-icons { - @apply absolute drop-shadow-xl p-5; + @apply p-5; width: 40vw; - + min-width: 645px; img { width: 100px; } @@ -142,4 +153,8 @@ footer { p { width: 250px; } + + @media (min-width: 782px) { + @apply drop-shadow-xl absolute; + } } diff --git a/theme/footer.php b/theme/footer.php index b6d4ca3..fc131cb 100644 --- a/theme/footer.php +++ b/theme/footer.php @@ -18,6 +18,6 @@ - + diff --git a/theme/template-parts/layout/footer-content.php b/theme/template-parts/layout/footer-content.php index 4eb1626..fe64437 100644 --- a/theme/template-parts/layout/footer-content.php +++ b/theme/template-parts/layout/footer-content.php @@ -24,7 +24,7 @@
-
+ diff --git a/theme/template-parts/layout/header-page.php b/theme/template-parts/layout/header-page.php index bc1835b..e5d6f82 100644 --- a/theme/template-parts/layout/header-page.php +++ b/theme/template-parts/layout/header-page.php @@ -1,24 +1,43 @@
-
- - -
+