Compare commits
8 Commits
master
...
typography
Author | SHA1 | Date | |
---|---|---|---|
|
905e2e9808 | ||
|
9e4c3122f6 | ||
|
bdecaf8c0b | ||
|
29cb8010c3 | ||
|
3f00ab309f | ||
|
321fbb46d5 | ||
|
07b480b4bd | ||
|
988b078fe2 |
@ -1,4 +1,4 @@
|
|||||||
@import url("https://fonts.googleapis.com/css2?family=Bitter:wght@300;400;600;700;800;900&display=swap");
|
@import url("https://fonts.googleapis.com/css2?family=Bitter:wght@300;400;600;700;800;900&family=Domine:wght@400..700&&display=swap");
|
||||||
|
|
||||||
@mixin headings {
|
@mixin headings {
|
||||||
h1,
|
h1,
|
||||||
@ -42,11 +42,13 @@ main {
|
|||||||
font-family: Bitter, ui-sans-serif, system-ui, -apple-system,
|
font-family: Bitter, ui-sans-serif, system-ui, -apple-system,
|
||||||
BlinkMacSystemFont, "Segoe UI", Roboto, "Open Sans", "Helvetica Neue",
|
BlinkMacSystemFont, "Segoe UI", Roboto, "Open Sans", "Helvetica Neue",
|
||||||
sans-serif;
|
sans-serif;
|
||||||
|
font-optical-sizing: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-article {
|
.text-article {
|
||||||
font-family: "Source Serif Pro", serif;
|
font-family: "Domine", serif;
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
color: #111;
|
font-size: 1.1rem;
|
||||||
font-size: 1.25rem;
|
font-weight: 500;
|
||||||
|
color: var(--text-color);
|
||||||
}
|
}
|
||||||
|
@ -19,4 +19,8 @@
|
|||||||
a:hover {
|
a:hover {
|
||||||
@apply hover:text-blue-700 dark:hover:text-blue-400;
|
@apply hover:text-blue-700 dark:hover:text-blue-400;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
@apply text-article;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -86,7 +86,7 @@ html.dark::before {
|
|||||||
|
|
||||||
main {
|
main {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
max-width: 60rem;
|
max-width: 90ch;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
padding-top: 2rem;
|
padding-top: 2rem;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user