diff --git a/site/assets/scss/components/_hero.scss b/site/assets/scss/components/_hero.scss index 5bee8a4..1f12909 100644 --- a/site/assets/scss/components/_hero.scss +++ b/site/assets/scss/components/_hero.scss @@ -1,9 +1,62 @@ .hero { + display: flex; position: relative; - margin: 0; + align-content: center; + align-items: center; + justify-content: center; + margin: 0 0 ($gutter * 2); background-repeat: no-repeat; background-position: center center; background-size: cover; padding: 0; height: 250px; + + h1 { + flex: 1 1 auto; + background-color: rgba($blue, 0.75); + padding: $gutter; + width: auto; + text-align: center; + color: $copy-light; + } + + .blue { + background-color: rgba($blue, 0.75); + } + + .dark-blue { + background-color: rgba($dark-blue, 0.75); + } + + .yellow { + background-color: rgba($yellow, 0.75); + color: $copy-dark; + } + + .orange { + background-color: rgba($orange, 0.75); + } + + .red { + background-color: rgba($red, 0.75); + } +} + +@media screen and (min-width: 426px) { + .hero { + h1 { + flex: 0 0 auto; + width: 425px; + } + } +} + +@media screen and (min-width: 768px) { + .hero { + h1 { + width: calc(100% * 0.809); + max-width: 860px; + text-align: inherit; + } + } } diff --git a/site/assets/scss/elements/_layout.scss b/site/assets/scss/elements/_layout.scss index 29d8bc3..64d01d7 100644 --- a/site/assets/scss/elements/_layout.scss +++ b/site/assets/scss/elements/_layout.scss @@ -1,5 +1,30 @@ +body { + min-width: 300px; +} + header, -main, footer { + margin: 0; padding: 0; } + +main { + margin: 0 $gutter; + padding: 0; +} + +@media screen and (min-width: 426px) { + footer, + main { + margin: 0 auto; + width: 425px; + } +} + +@media screen and (min-width: 768px) { + footer, + main { + width: calc(100% * 0.809); + max-width: 860px; + } +} diff --git a/site/assets/scss/elements/_typography.scss b/site/assets/scss/elements/_typography.scss index e441d1d..54dc332 100644 --- a/site/assets/scss/elements/_typography.scss +++ b/site/assets/scss/elements/_typography.scss @@ -2,14 +2,13 @@ html, body { @include font-default; background-color: $light; - color: $black; + color: $copy-dark; } .h1, h1 { @include font-roboto; margin: 0 0 ($gutter / 2); - background-color: $light-grey; padding: 8px 0; width: 100%; font-size: 40px; @@ -71,7 +70,8 @@ a { &:hover, &:active { - text-decoration: underline; + background-color: $white; + text-decoration: none; color: $dark-blue; } } diff --git a/site/assets/scss/settings/_colors.scss b/site/assets/scss/settings/_colors.scss index 5c440a9..87a7890 100644 --- a/site/assets/scss/settings/_colors.scss +++ b/site/assets/scss/settings/_colors.scss @@ -9,3 +9,6 @@ $orange: rgba(233, 114, 76, 1); $red: rgba(197, 40, 61, 1); $blue: rgba(37, 95, 133, 1); $dark-blue: rgba(24, 48, 89, 1); + +$copy-light: $white; +$copy-dark: $black; diff --git a/site/pages/index.hbs b/site/pages/index.hbs index ad69ddb..67367a0 100644 --- a/site/pages/index.hbs +++ b/site/pages/index.hbs @@ -1,40 +1,62 @@ --- - hero: stock/lake.png + heading: + img: stock/lake.png + copy: I build web things + theme: blue --- -
- A well-seasoned web developer with an affinity for clean code, - workflow optimization, and ruby. I have experiences ranging from - HTML prototyping through designing and executing API architectures. -
++ A well-seasoned web developer with an affinity for clean code, workflow + optimization, and ruby. I have experiences ranging from HTML prototyping + through designing and executing complex API architectures. +
-- I highly value quality craftsmanship and want to do great work, - with people who also do great work. I love to explore and learn - about my world. I enjoy being challenged. I take pleasure in - providing creative solutions to specific needs, always keeping - the bigger picture in mind. -
++ I highly value quality craftsmanship and want to do great work, + with people who also do great work. I love to explore and learn + about my world. I enjoy being challenged. I take pleasure in + providing creative solutions to specific needs, always keeping + the bigger picture in mind. +
+- Well versed in many web development tool chains, my strengths - include Ruby, JavaScript, SCSS, SQL, and PHP. -
++ Well versed in many web development tool chains, my strengths + include Ruby, JavaScript, SCSS, SQL, and PHP. +
-