refactor: simplify index.css
This commit is contained in:
parent
e316008995
commit
e26903c101
1 changed files with 2 additions and 14 deletions
|
|
@ -83,7 +83,8 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
font-weight: var(--font-weight-bold);
|
font-family: var(--font-family-titles);
|
||||||
|
font-weight: var(--font-weight-titles);
|
||||||
margin: calc(var(--line-height) * 2) 0 var(--line-height);
|
margin: calc(var(--line-height) * 2) 0 var(--line-height);
|
||||||
line-height: 1.2em;
|
line-height: 1.2em;
|
||||||
color: var(--text-color-accent);
|
color: var(--text-color-accent);
|
||||||
|
|
@ -93,27 +94,15 @@ h1 {
|
||||||
font-size: 6rem;
|
font-size: 6rem;
|
||||||
line-height: calc(2 * var(--line-height));
|
line-height: calc(2 * var(--line-height));
|
||||||
margin-bottom: calc(var(--line-height) * 2);
|
margin-bottom: calc(var(--line-height) * 2);
|
||||||
text-transform: var(--transform);
|
|
||||||
font-family: var(--font-family-titles);
|
|
||||||
font-weight: var(--font-weight-titles);
|
|
||||||
}
|
}
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
font-family: var(--font-family-titles);
|
|
||||||
font-weight: var(--font-weight-titles);
|
|
||||||
text-transform: var(--transform);
|
|
||||||
}
|
}
|
||||||
h3 {
|
h3 {
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
font-family: var(--font-family-titles);
|
|
||||||
font-weight: var(--font-weight-titles);
|
|
||||||
text-transform: var(--transform);
|
|
||||||
}
|
}
|
||||||
h4 {
|
h4 {
|
||||||
font-size: 1.6rem;
|
font-size: 1.6rem;
|
||||||
font-family: var(--font-family-titles);
|
|
||||||
font-weight: var(--font-weight-titles);
|
|
||||||
text-transform: var(--transform);
|
|
||||||
}
|
}
|
||||||
hr {
|
hr {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
@ -380,7 +369,6 @@ button::-moz-focus-inner {
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
text-transform: var(--transform);
|
|
||||||
font-weight: var(--font-weight-medium);
|
font-weight: var(--font-weight-medium);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue