line-heightを大きくする
parent
9403e46abc
commit
bf1af970bd
|
@ -1,20 +1,15 @@
|
||||||
// 基本設定
|
// 基本設定
|
||||||
body {
|
body {
|
||||||
$line-height: ($font-size * 20 / 14);
|
|
||||||
|
|
||||||
background: $background;
|
background: $background;
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
font-family: $font-family;
|
font-family: $font-family;
|
||||||
font-size: $font-size;
|
font-size: $font-size;
|
||||||
letter-spacing: 0.075em;
|
letter-spacing: 0.075em;
|
||||||
line-height: $line-height;
|
line-height: 1.4em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
||||||
// モバイルの場合は文字を大きく
|
// モバイルの場合は文字を大きく
|
||||||
@include media-mobile {
|
@include media-mobile {
|
||||||
$line-height-mobile: ($line-height * 1.1);
|
|
||||||
|
|
||||||
font-size: $font-size-mobile;
|
font-size: $font-size-mobile;
|
||||||
line-height: $line-height-mobile;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue