aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-01-25 18:41:53 +0000
committerAkshay <[email protected]>2020-01-25 18:41:53 +0000
commitec568a35d7bade3e746d7207b4be52fc40f7a391 (patch)
treef668a24d15c18af028ef49f41431aad8257e4774 /docs
parent34766e3d54af6c9f44babb03feb84bd228e5127d (diff)
enable cool font features
Diffstat (limited to 'docs')
-rw-r--r--docs/style.css17
1 files changed, 12 insertions, 5 deletions
diff --git a/docs/style.css b/docs/style.css
index 9cd22c9..1311413 100644
--- a/docs/style.css
+++ b/docs/style.css
@@ -15,8 +15,15 @@
15 --dark-white: #eeeeee; 15 --dark-white: #eeeeee;
16} 16}
17 17
18body { font-family: 'Inter', sans-serif; }
19@supports (font-variation-settings: normal) {
20 body {
21 font-family: 'Inter var', sans-serif;
22 font-feature-settings: 'ss01' 1, 'ss02' 1, 'kern' 1, 'liga' 1;
23 }
24}
25
18body { 26body {
19 font-family: 'Inter', sans-serif;
20 background-color: var(--white); 27 background-color: var(--white);
21 color: var(--black); 28 color: var(--black);
22 padding: 0; 29 padding: 0;
@@ -75,6 +82,7 @@ hr {
75} 82}
76 83
77.date { 84.date {
85 font-feature-settings: 'ss01' 1, 'zero' 1;
78 font-weight: 400; 86 font-weight: 400;
79 font-size: 0.8rem; 87 font-size: 0.8rem;
80 color: var(--light-black); 88 color: var(--light-black);
@@ -112,9 +120,8 @@ a, a:hover, a:visited, a:active {
112} 120}
113 121
114.post-link, .post-link:hover, .post-link:visited, .post-link:active { 122.post-link, .post-link:hover, .post-link:visited, .post-link:active {
115 color: var(--black); !important 123 color: var(--black);
116 font-family: 'Inter', sans-serif; 124 font-weight: 650;
117 font-weight: 700;
118 font-size: 1.1rem; 125 font-size: 1.1rem;
119 text-decoration: none; 126 text-decoration: none;
120} 127}
@@ -122,7 +129,7 @@ a, a:hover, a:visited, a:active {
122.post-end-link, .post-end-link:hover, .post-end-link:visited, .post-end-link:active 129.post-end-link, .post-end-link:hover, .post-end-link:visited, .post-end-link:active
123{ 130{
124 text-decoration: none; 131 text-decoration: none;
125 color: var(--light-black); 132 color: var(--black);
126 text-shadow: none; 133 text-shadow: none;
127 font-size: 0.8rem; 134 font-size: 0.8rem;
128} 135}