aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNerdyPepper <[email protected]>2019-07-30 14:15:18 +0100
committerNerdyPepper <[email protected]>2019-07-30 14:15:18 +0100
commit903d503dcaea7e753a30b8bffd6a57513defac58 (patch)
treef0e26d3d106028261647c96c7690a3b3ab110165
parent906b9b3b6c73b5b24938a252c05a8943c7266b90 (diff)
friendly fonts
-rw-r--r--docs/index.html1
-rw-r--r--docs/style.css9
-rwxr-xr-xgenerate.sh1
3 files changed, 8 insertions, 3 deletions
diff --git a/docs/index.html b/docs/index.html
index 03d7d8d..5a000e8 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -3,6 +3,7 @@
3<html lang="en"> 3<html lang="en">
4<head> 4<head>
5<link rel="stylesheet" href="./style.css"> 5<link rel="stylesheet" href="./style.css">
6<link rel="stylesheet" href="https://files.nerdypepper.me/rW.woff">
6<meta charset="UTF-8"> 7<meta charset="UTF-8">
7<title>n</title> 8<title>n</title>
8 9
diff --git a/docs/style.css b/docs/style.css
index a545dc9..8160fea 100644
--- a/docs/style.css
+++ b/docs/style.css
@@ -1,3 +1,5 @@
1@import url('https://rsms.me/inter/inter.css');
2
1:root { 3:root {
2 --cyan: #59d8a6; 4 --cyan: #59d8a6;
3 --pink: #e61d91; 5 --pink: #e61d91;
@@ -8,7 +10,7 @@
8} 10}
9 11
10body { 12body {
11 font-family: sans; 13 font-family: 'Inter', sans-serif;
12 background-color: var(--white); 14 background-color: var(--white);
13 color: var(--black); 15 color: var(--black);
14 padding: 0; 16 padding: 0;
@@ -74,7 +76,7 @@ hr {
74 color: var(--white); 76 color: var(--white);
75 text-align: center; 77 text-align: center;
76 font-size: 6rem; 78 font-size: 6rem;
77 font-family: 'Iosevka Term', sans-serif; 79 font-family: 'Iosevka Term', mono;
78 text-shadow: 0.25rem 0rem var(--cyan), -0.25rem 0rem var(--pink); 80 text-shadow: 0.25rem 0rem var(--cyan), -0.25rem 0rem var(--pink);
79 line-height: 8.5rem; 81 line-height: 8.5rem;
80 font-style: italic; 82 font-style: italic;
@@ -91,7 +93,7 @@ a:hover, a:active {
91 93
92.post-link { 94.post-link {
93 color: var(--black); 95 color: var(--black);
94 font-family: sans-serif; 96 font-family: 'Inter', sans-serif;
95 font-weight: 600; 97 font-weight: 600;
96 font-size: 1rem; 98 font-size: 1rem;
97 text-decoration: none; 99 text-decoration: none;
@@ -112,6 +114,7 @@ a:hover, a:active {
112pre, code { 114pre, code {
113 background-color: var(--dark-white); 115 background-color: var(--dark-white);
114 color: var(--black); 116 color: var(--black);
117 font-family: 'Iosevka Term', mono;
115} 118}
116 119
117pre { 120pre {
diff --git a/generate.sh b/generate.sh
index 6f05917..d74a052 100755
--- a/generate.sh
+++ b/generate.sh
@@ -29,6 +29,7 @@ echo "
29<html lang=\"en\"> 29<html lang=\"en\">
30<head> 30<head>
31<link rel=\"stylesheet\" href=\"./style.css\"> 31<link rel=\"stylesheet\" href=\"./style.css\">
32<link rel=\"stylesheet\" href=\"https://files.nerdypepper.me/rW.woff\">
32<meta charset=\"UTF-8\"> 33<meta charset=\"UTF-8\">
33<title>n</title> 34<title>n</title>
34" > ./docs/index.html 35" > ./docs/index.html