Skip to content

Commit 58c3251

Browse files
committed
Noto Sans, spacing, font-size
1 parent 19a8868 commit 58c3251

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

static/css/site.css

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44
}
55

66
body {
7-
font-family: "Gentium Basic", serif;
7+
font-family: "Noto Sans", sans-serif;
88
font-size: 1.25em;
9+
font-weight: 350;
910
}
1011

1112
h1,h2,h3,h4,h5,h6 {
12-
font-weight: normal;
13-
font-family: "Dosis", sans-serif;
13+
font-weight: 300;
14+
font-family: "Noto Sans", sans-serif;
1415
color: #222;
1516
margin-top: 1.25em;
1617
}
@@ -109,9 +110,13 @@ iframe {
109110
font-size: 0.7em;
110111
}
111112

113+
.mainColumn .pageContent {
114+
line-height: 1.8em;
115+
}
116+
112117
.mainColumn p {
113-
margin-top: 1em;
114-
margin-bottom: 1em;
118+
margin-top: 1.25em;
119+
margin-bottom: 1.25em;
115120
}
116121

117122
.mainColumn ul, .mainColumn ol {
@@ -225,7 +230,7 @@ body .gist {
225230
.commentary {
226231
font-size: 0.8em;
227232
color: #999;
228-
line-height: 1.1em;
233+
line-height: 1.5em;
229234
margin-bottom: 30px;
230235
}
231236

templates/page.mako

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
% if 'author_comment' in page:
1818
<p class="commentary"><i class="fa fa-comment-o"></i> ${page['author_comment']}</p>
1919
% endif
20-
${page['html']}
20+
<div class="pageContent">
21+
${page['html']}
22+
</div>
2123
</%block>
2224

2325
<%block name="pageMeta">

templates/shell.mako

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="${site_root}/feed/index.xml" />
1313
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="${site_root}/feed/atom/index.xml" />
1414
<link rel="stylesheet" type="text/css" href="${site_root}/static/css/pygments.css" />
15-
<link rel="stylesheet" href='https://fonts.googleapis.com/css?family=Dosis:300,600' type='text/css'>
16-
<link rel="stylesheet" href='https://fonts.googleapis.com/css?family=Gentium+Basic' type='text/css'>
15+
<link rel="preconnect" href="https://fonts.googleapis.com">
16+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
17+
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
1718
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
1819
<link rel="stylesheet" href="${site_root}/static/css/site.css" type="text/css" />
1920
<script src="https://kit.fontawesome.com/0affbb0817.js" crossorigin="anonymous"></script>

0 commit comments

Comments
 (0)