Browse Source

Update hero styles

master
Brett Langdon 8 years ago
parent
commit
92892ccdf3
No known key found for this signature in database GPG Key ID: B664881177781B04
3 changed files with 15 additions and 10 deletions
  1. +1
    -1
      index.html
  2. +1
    -1
      styles.css
  3. +13
    -8
      styles.scss

+ 1
- 1
index.html View File

@ -52,7 +52,7 @@
</div> </div>
<div class="hero-body"> <div class="hero-body">
<div class="container"> <div class="container">
<h1 class="headline title has-text-white">Kate<br>& Brett</h1>
<h1 class="headline title has-text-white">Kate<br><sup>&</sup> Brett</h1>
<h2 class="subtitle has-text-white">are getting married!</h2> <h2 class="subtitle has-text-white">are getting married!</h2>
</div> </div>
</div> </div>


+ 1
- 1
styles.css
File diff suppressed because it is too large
View File


+ 13
- 8
styles.scss View File

@ -34,6 +34,10 @@ a {
&.headline { &.headline {
font-family: $family-cursive; font-family: $family-cursive;
} }
sup {
font-size: 0.5em;
}
} }
.subtitle { .subtitle {
@ -42,6 +46,7 @@ a {
.tabs { .tabs {
font-size: 1.1rem; font-size: 1.1rem;
letter-spacing: 1px;
&.is-primary { &.is-primary {
background-color: $primary; background-color: $primary;
@ -208,31 +213,31 @@ a {
.headline { .headline {
@include from($desktop) { @include from($desktop) {
font-size: 7rem;
font-size: 9rem;
line-height: 7rem; line-height: 7rem;
} }
@include until($desktop) { @include until($desktop) {
font-size: 5rem;
line-height: 5rem;
font-size: 7.5rem;
line-height: 6rem;
} }
@include until($tablet) { @include until($tablet) {
font-size: 3rem;
line-height: 3rem;
font-size: 5rem;
line-height: 4rem;
} }
&+.subtitle { &+.subtitle {
@include from($desktop) { @include from($desktop) {
font-size: 2rem;
font-size: 2.5rem;
} }
@include until($desktop){ @include until($desktop){
font-size: 1.5rem;
font-size: 2rem;
} }
@include until($tablet) { @include until($tablet) {
font-size: 1rem;
font-size: 1.5rem;
} }
} }
} }


Loading…
Cancel
Save