Skip to content

Commit

Permalink
Sass: Extend line-height variables
Browse files Browse the repository at this point in the history
  • Loading branch information
themeblvd committed Jan 4, 2017
1 parent 1d9c267 commit be5252c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion assets/scss/base/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ blockquote {
color: $color-text-secondary;
font-size: 1.25em;
font-style: italic;
line-height: $font-lh-header;
line-height: $font-lh-quote;
margin: 0 .5em 24px .5em; /* @TODO paragraph spacing */
padding: .5em 0 .5em 1em;
}
Expand Down
6 changes: 3 additions & 3 deletions assets/scss/layout/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@
.header-menu > ul > li > a {
font-size: em($font-size-header-menu-mobile);
display: block;
letter-spacing: .0625em;
line-height: 1.25em;
letter-spacing: $letter-spacing;
line-height: $font-lh-header-menu;
padding: .5em 0;
text-decoration: none;
text-transform: uppercase;
Expand Down Expand Up @@ -264,7 +264,7 @@
.header-menu ul ul a {
display: block;
font-size: em($font-size-header-menu-dropdown);
line-height: 1.4;
line-height: $font-lh-header-menu-dropdown;
padding: 8px 22px;
text-decoration: none;
}
Expand Down
1 change: 0 additions & 1 deletion assets/scss/modules/_accessibility.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
font-weight: bold;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
Expand Down
3 changes: 3 additions & 0 deletions assets/scss/utilities/_config.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ $font-size-btn-xxxl : $font-size-base;
$font-lh-base : 1.6;
$font-lh-header : 1.4;
$font-lh-header-lg : 1.2;
$font-lh-quote : 1.4;
$font-lh-header-menu : 1.25;
$font-lh-header-menu-dropdown : 1.4;
$font-lh-btn : 1.42857143;

// Font Weights
Expand Down
5 changes: 2 additions & 3 deletions style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion style.css.map

Large diffs are not rendered by default.

0 comments on commit be5252c

Please sign in to comment.