Adjust font styling

This commit is contained in:
Franck Nijhof 2024-06-28 12:02:33 +02:00
parent 6c42ffaba5
commit c7e81260bc
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
3 changed files with 19 additions and 33 deletions

View File

@ -1,7 +1,7 @@
#getting_started {
.intro {
padding-bottom: 16px;
font-size: 24px;
font-size: 1.1rem;
}
.installations {

View File

@ -2,6 +2,18 @@
$primary-color: #1abcf2;
body, html {
font-family: "Instrument Sans", system, -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
font-size: 1rem;
letter-spacing: 0.01rem;
line-height: 1.5;
}
h1, h2, h3, h4 {
font-family: Figtree, system, -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
font-weight: 600;
}
.site-header {
position: relative;
@ -475,8 +487,6 @@ dt:hover a.title-link {
article.post,
article.page,
article.listing {
font-size: 1.125em;
line-height: 1.6;
img,
table {
@ -534,36 +544,8 @@ article.listing {
}
}
h1 {}
h2 {
font-size: 1.5em;
margin-top: 2em;
// Future re-design
// margin: 1.5em 0 1rem;
//
// border: 0;
// border-top: 1px solid $primary-color;
// padding-top: 1.4rem;
}
h3 {
text-transform: uppercase;
letter-spacing: 0.125rem;
font-size: 1.2rem;
margin-top: 2em;
// Future re-design
// margin: 2em 0 1rem;
}
h4 {
font-size: 1.1rem;
margin-top: 2em;
// Future re-design
// margin: 1.5em 0 1rem;
h2, h3, h4 {
margin-top: 1.2em;
}
details {

View File

@ -35,4 +35,8 @@
<link href="{{ site.subscribe_rss }}" rel="alternate" title="{{ site.title }}" type="application/atom+xml">
<link rel='shortcut icon' href='/images/favicon.ico' />
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
<link href="https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&amp;family=Instrument+Sans:ital,wght@0,400..700;1,400..700&amp;family=Instrument+Serif:ital,wght@0,400..700;1,400..700&amp;" rel="stylesheet">
</head>