Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Commit

Permalink
Merge fbfc62f into 1525343
Browse files Browse the repository at this point in the history
  • Loading branch information
philli-m committed Jul 31, 2019
2 parents 1525343 + fbfc62f commit 81d357d
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 22 deletions.
25 changes: 14 additions & 11 deletions liqd_product/assets/scss/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,48 +44,51 @@ h6 {
}

h1 {
font-size: $font-size-xxl;
font-size: $font-size-xxxl;
}

h2 {
font-size: $font-size-xl;
font-size: $font-size-xxl;
}

h3 {
font-size: $font-size-lg;
font-size: $font-size-xl;
}

h4 {
font-size: inherit;
font-size: $font-size-lg;
}

h5 {
font-size: $font-size-sm;
font-size: $font-size-md;
}

h6 {
font-size: $font-size-xs;
font-size: $font-size-sm;
}

@media screen and (max-width: $breakpoint-xs-down) {
h1 {
font-size: $mobile-headline-size*$font-size-xxl;
font-size: $mobile-headline-size*$font-size-xxxl;
}

h2 {
font-size: $mobile-headline-size*$font-size-xl;
font-size: $mobile-headline-size*$font-size-xxl;
}

h3 {
font-size: $font-size-base; //it's smaller than base if multiplied same as above
font-weight: bold; //it's a headline so need to have some differentiation from base
font-size: $mobile-headline-size*$font-size-xl;
}

h4 {
font-size: $mobile-headline-size*$font-size-lg;
}
}

a {
color: $link-color;
text-decoration: underline;
font-weight: bold;
font-family: $font-family-serif;

&:hover,
&:focus {
Expand Down
7 changes: 0 additions & 7 deletions liqd_product/assets/scss/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@
font-weight: normal;
}

@font-face {
font-family: 'SourceSerifPro';
src: url('../fonts/SourceSerifPro-Bold.otf');
font-style: bold;
font-weight: 600;
}

@font-face {
font-family: 'SourceSansPro';
src: url('../fonts/SourceSansPro-Regular.otf');
Expand Down
9 changes: 6 additions & 3 deletions liqd_product/assets/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,12 @@ $feedback-color-consideration: #ffae00 !default;
$font-family-base: "SourceSansPro", sans-serif !default;
$font-family-serif: "SourceSerifPro", serif !default;

$font-size-xxl: 2.25rem !default;
$font-size-xl: 1.5rem !default;
$font-size-lg: 1.125rem !default;
$font-size-xxxl: 3rem !default;
$font-size-xxl: 2.5rem !default;
$font-size-xl: 2rem !default;
$font-size-lg: 1.5rem !default;
$font-size-md: 1.25rem !default;
$font-size-base: 1rem !default;
$font-size-sm: 0.8rem !default;
$font-size-xs: 0.64rem !default;

Expand Down
4 changes: 4 additions & 0 deletions liqd_product/assets/scss/components/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
// margin-bottom: $spacer / 2; for bootstrap
}

.dropdown-item {
font-family: $font-family-base;
}

.dropdown--right {
text-align: right;
}
Expand Down
2 changes: 1 addition & 1 deletion liqd_product/assets/scss/components/_tile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

.tile__text {
flex: 1 0 auto;
font-size: $font-size-lg;
font-size: $font-size-md;
}

.tile__title {
Expand Down

0 comments on commit 81d357d

Please sign in to comment.