mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2025-07-16 11:41:27 +00:00
feat: change heading style
This commit is contained in:
parent
0ee0802947
commit
e5696f0c9f
@ -1,4 +1,38 @@
|
|||||||
/* You can add custom styles here. */
|
/* You can add custom styles here. */
|
||||||
|
h1 {
|
||||||
|
font-size: 48px;
|
||||||
|
font-weight: 600;
|
||||||
|
line-height: 56.02px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 32px;
|
||||||
|
font-weight: 500;
|
||||||
|
line-height: 39.52px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: 500;
|
||||||
|
line-height: 32.02px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 500;
|
||||||
|
line-height: 32px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
h5 {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 28px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
// @import "plugins/numbered";
|
// @import "plugins/numbered";
|
||||||
details.faq-details {
|
details.faq-details {
|
||||||
|
@ -17,10 +17,6 @@
|
|||||||
margin-top: $padding-16 * 3;
|
margin-top: $padding-16 * 3;
|
||||||
margin-bottom: $padding-4;
|
margin-bottom: $padding-4;
|
||||||
|
|
||||||
font-weight: 500;
|
|
||||||
font-size: 21px;
|
|
||||||
line-height: 30px;
|
|
||||||
|
|
||||||
a.anchor {
|
a.anchor {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
font-size: 0.75em;
|
font-size: 0.75em;
|
||||||
@ -35,26 +31,35 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-style: normal;
|
font-size: 48px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 28px;
|
line-height: 56.02px;
|
||||||
line-height: 34px;
|
font-style: normal;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4,
|
h2 {
|
||||||
h5,
|
font-size: 32px;
|
||||||
h6 {
|
font-weight: 500;
|
||||||
font-weight: bolder;
|
line-height: 39.52px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: 500;
|
||||||
|
line-height: 32.02px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 500;
|
||||||
|
line-height: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
h5 {
|
h5 {
|
||||||
font-size: 0.875em;
|
font-size: 16px;
|
||||||
}
|
font-weight: 400;
|
||||||
|
line-height: 28px;
|
||||||
h6 {
|
|
||||||
margin-top: 28px;
|
|
||||||
font-size: 1.15em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.goat {
|
.goat {
|
||||||
|
Loading…
Reference in New Issue
Block a user