Skip to content

Commit caa50f0

Browse files
committed
見出しのline-heightを改善
すべての見出し(h1-h6)にline-height: 1.7emを追加し、 より読みやすい行間隔に調整
1 parent 17b574b commit caa50f0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/assets/stylesheets/custom.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,10 @@ a>img {
259259
h2 {
260260
font-weight: 500;
261261
}
262-
h1,h2,h3,h4,h5,h6 { scroll-margin-top: 100px; }
262+
h1,h2,h3,h4,h5,h6 {
263+
scroll-margin-top: 100px;
264+
line-height: 1.7em;
265+
}
263266

264267
.fontsize-bigger {
265268
font-size: 20px;

0 commit comments

Comments
 (0)