-
{{@site.title}}
-
{{@site.description}}
-
+
+
+
+
{{@site.title}}
+
{{@site.description}}
+
+
diff --git a/src/scss/layout/_container.scss b/src/scss/layout/_container.scss
index 46559504..62c7e7b8 100644
--- a/src/scss/layout/_container.scss
+++ b/src/scss/layout/_container.scss
@@ -31,6 +31,13 @@
max-width: variables.$laptop;
margin: 0 auto 1rem;
+ &--hero {
+ @extend .inner-container;
+ position: relative;
+ height: 100%;
+ margin-bottom: 0;
+ }
+
&--footer {
@extend .inner-container;
}
diff --git a/src/scss/pages/_hero.scss b/src/scss/pages/_hero.scss
index 92e6f351..51679a0d 100644
--- a/src/scss/pages/_hero.scss
+++ b/src/scss/pages/_hero.scss
@@ -26,20 +26,9 @@
&__text-container {
position: absolute;
top: 50%;
- left: 50%;
width: 100%;
- max-width: variables.$laptop;
- padding: 1rem;
- @include mixins.respond-between(variables.$tablet, variables.$laptop) {
- padding: 1rem 3rem 2rem;
- }
-
- @include mixins.respond-above(variables.$laptop) {
- padding: 0;
- }
-
- transform: translate(-50%, -50%);
+ transform: translateY(-50%);
}
&__site-title {