1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-11-18 00:10:49 -05:00

switch to Roboto web font (#22)

for now, at least. tired of waiting on Chromium to fix system fonts on Catalina.... https://bugs.chromium.org/p/chromium/issues/detail?id=1005969

Roboto seems closest to San Francisco.
This commit is contained in:
2019-12-16 10:59:52 -05:00
committed by GitHub
parent 599400c51c
commit 87ea2db92f
24 changed files with 79 additions and 20 deletions

View File

@@ -2,15 +2,14 @@
// Home Styles
main#home {
font-size: 1.4em;
font-weight: 300;
font-size: 1.3em;
max-width: 980px;
padding: 1.5em 1.75em 0.5em 1.75em;
margin: 0 auto;
h2 {
margin: 0 0 0.6em 0;
font-size: 1.4em;
font-size: 1.6em;
font-weight: 500;
line-height: 1.2;
@@ -25,7 +24,7 @@ main#home {
h3 {
margin: 0.6em 0;
font-size: 1.2em;
font-size: 1.3em;
font-weight: 400;
line-height: 1.4;
}
@@ -98,6 +97,16 @@ main#home {
line-height: 1.6;
padding: 1.2em 1.2em 0.2em 1.2em;
h2 {
font-size: 1.3em;
line-height: 1.4;
}
h3 {
font-size: 1.1em;
line-height: 1.4;
}
img#me {
width: 85px;
height: 85px;

View File

@@ -152,12 +152,17 @@ main#single {
color: $color-medium;
font-size: 0.85em;
line-height: 1.5;
letter-spacing: 0.08em;
letter-spacing: 0.075em;
a {
color: inherit;
}
span.dot {
margin: 0 0.1em;
font-weight: 700;
}
ul#tags {
margin-top: 0.5em;
padding: 0;
@@ -165,7 +170,7 @@ main#single {
li {
display: inline;
margin: 0 0.7em;
margin: 0 0.8em;
text-transform: uppercase;
letter-spacing: 0.15em;
}
@@ -182,8 +187,22 @@ main#single {
padding: 0.8em 1.5em;
article {
div#meta h1 {
font-size: 1.7em;
div#meta{
h1 {
font-size: 1.8em;
}
div#byline {
// hide "Improve Post" link on mobile
span#edit {
display: none;
}
// less space between tags
ul#tags li {
margin: 0 0.5em;
}
}
}
}
}