Skip to content
Snippets Groups Projects
Commit 6d742857 authored by Greg Fodor's avatar Greg Fodor
Browse files

Header and hero styling seems good

parent 164307fc
No related branches found
No related tags found
No related merge requests found
File deleted
File deleted
/* latin-ext */
@font-face {
font-family: 'Zilla Slab';
font-style: normal;
font-weight: 400;
src: url('../fonts/zilla-slab_latin-ext.woff2') format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Zilla Slab';
font-style: normal;
font-weight: 400;
src: url('../fonts/zilla-slab_latin.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@import 'fonts';
@import 'shared'; @import 'shared';
@import 'loader'; @import 'loader';
......
@import 'fonts';
@import 'shared'; @import 'shared';
* { * {
...@@ -26,8 +25,6 @@ body { ...@@ -26,8 +25,6 @@ body {
display: flex; display: flex;
width: 100%; width: 100%;
height: 100%; height: 100%;
padding: 1.5em;
text-shadow: 0px 0px 2px rgba(32, 32, 32, 1.0);
} }
.main-content { .main-content {
...@@ -49,9 +46,11 @@ body { ...@@ -49,9 +46,11 @@ body {
} }
.header-content { .header-content {
// background-color: red; padding: 1.5em;
background-color: black;
min-height: 75px; min-height: 75px;
display: flex; display: flex;
border-bottom: 1px solid #242424;
} }
.header-content__title { .header-content__title {
...@@ -59,6 +58,12 @@ body { ...@@ -59,6 +58,12 @@ body {
display: flex; display: flex;
} }
@media (max-width: 768px) {
.header-content__title {
justify-content: center;
}
}
.header-content__title__name { .header-content__title__name {
font-size: 2.0em; font-size: 2.0em;
} }
...@@ -76,17 +81,24 @@ body { ...@@ -76,17 +81,24 @@ body {
font-weight: lighter; font-weight: lighter;
} }
@media (max-width: 768px) {
.header-content__experiment {
display: none;
}
}
.header-content__experiment__info { .header-content__experiment__info {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.header-content__experiment__info__header a { .header-content__experiment__info__header a {
color: $light-text; color: $grey-text;
} }
.header-content__experiment__info__link { .header-content__experiment__info__link {
color: $grey-text; color: $dark-grey;
font-size: 0.8em; font-size: 0.8em;
padding-top: 4px; padding-top: 4px;
} }
...@@ -94,6 +106,8 @@ body { ...@@ -94,6 +106,8 @@ body {
.hero-content { .hero-content {
// background-color: blue; // background-color: blue;
flex: 10; flex: 10;
text-shadow: 0px 0px 2px rgba(32, 32, 32, 1.0);
padding: 2.0em 2.5em 2.0em 2.5em;
} }
.hero-content__container { .hero-content__container {
...@@ -102,15 +116,31 @@ body { ...@@ -102,15 +116,31 @@ body {
} }
.hero-content__container__title { .hero-content__container__title {
font-size: 3em; font-size: 4vw;
font-weight: 900; font-weight: bold;
}
@media (max-width: 768px) {
.hero-content__container__title {
font-size: 1.9em;
text-align: center;
}
} }
.hero-content__container__subtitle { .hero-content__container__subtitle {
font-size: 1.5em; font-size: 2vw;
font-weight: lighter; font-weight: lighter;
font-style: italic;
color: $light-text; color: $light-text;
margin-top: 4px; margin-top: 0.2em;
}
@media (max-width: 768px) {
.hero-content__container__subtitle {
font-size: 1.2em;
text-align: center;
margin-top: 0.5em;
}
} }
.footer-content { .footer-content {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment