mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-29 12:17:01 +00:00
Adjust font styling
This commit is contained in:
parent
6c42ffaba5
commit
c7e81260bc
@ -1,7 +1,7 @@
|
||||
#getting_started {
|
||||
.intro {
|
||||
padding-bottom: 16px;
|
||||
font-size: 24px;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.installations {
|
||||
|
@ -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 {
|
||||
|
@ -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&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Instrument+Serif:ital,wght@0,400..700;1,400..700&" rel="stylesheet">
|
||||
</head>
|
||||
|
Loading…
x
Reference in New Issue
Block a user