選択した文字の背景色を追加(2)
parent
832bb89e9c
commit
993191962e
|
@ -1,15 +1,19 @@
|
||||||
// 基本設定
|
// 基本設定
|
||||||
body {
|
body {
|
||||||
background: $background;
|
background: $background;
|
||||||
color: $text-color;
|
color: $font-color;
|
||||||
font-family: $font-family;
|
font-family: $font-family;
|
||||||
font-size: $font-size;
|
font-size: $font-size;
|
||||||
letter-spacing: 0.075em;
|
letter-spacing: $letter-spacing;
|
||||||
line-height: 1.4em;
|
line-height: $line-height;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
||||||
// モバイルの場合は文字を大きく
|
|
||||||
@include media-mobile {
|
@include media-mobile {
|
||||||
font-size: $font-size-mobile;
|
font-size: $font-size-mobile;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::selection {
|
||||||
|
background-color: $selection-background;
|
||||||
|
color: $font-color-selection;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue