summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2018-09-15 16:07:46 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2018-09-15 16:07:46 -0700
commitf78ea4fbe6aefe35afb1df66348f613c7e207c46 (patch)
treea9ad44cfe42e7767943c1e35b227e782ebbcf686
parent85bfd7e2e5cfc5cc00a10abc66eaf8bf4a741254 (diff)
downloadjournal-f78ea4fbe6aefe35afb1df66348f613c7e207c46.tar.gz
journal-f78ea4fbe6aefe35afb1df66348f613c7e207c46.tar.xz
move font import to CSS
-rw-r--r--journal.c1
-rw-r--r--style.css4
2 files changed, 3 insertions, 2 deletions
diff --git a/journal.c b/journal.c
index 851cf23..39354fd 100644
--- a/journal.c
+++ b/journal.c
@@ -79,7 +79,6 @@ int main()
"<head>\n"
"<meta charset='utf-8'>\n"
"<meta name='viewport' content='width=device-width, initial-scale=1'>\n"
- "<link href='https://fonts.googleapis.com/css?family=Source+Serif+Pro:400,700' rel='stylesheet'>\n"
"<link href='style.css' rel='stylesheet'>\n"
"<title>"TITLE"</title>\n"
"</head>\n"
diff --git a/style.css b/style.css
index 60132b1..e2797ce 100644
--- a/style.css
+++ b/style.css
@@ -1,3 +1,5 @@
+@import url('https://fonts.googleapis.com/css?family=Source+Serif+Pro:400,700');
+
body {
color: #eee;
background-color: #111;
@@ -9,7 +11,7 @@ body {
}
h1 {
- color: #999;
+ color: #888;
font-size: 2em;
font-weight: bold;
margin: 0.5em 0;