aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2020-02-10 05:56:19 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2020-02-10 05:56:19 +0100
commitcd33117ff10600019e41f1c127b7dfab92b939f0 (patch)
treee9681d0b025b9724f8331b400de80d2ef3cd66cd
parentd0d367594092bdad21bd892fd991a23ec150ee07 (diff)
downloadmitjafelicijan.com-cd33117ff10600019e41f1c127b7dfab92b939f0.tar.gz
Changed default font
-rw-r--r--src/static/style.css31
1 files changed, 23 insertions, 8 deletions
diff --git a/src/static/style.css b/src/static/style.css
index 8f4e05c..be15fe7 100644
--- a/src/static/style.css
+++ b/src/static/style.css
@@ -1,3 +1,5 @@
1@import url('https://fonts.googleapis.com/css?family=Source+Serif+Pro&display=swap');
2
1* { 3* {
2 box-sizing: border-box; 4 box-sizing: border-box;
3} 5}
@@ -5,11 +7,12 @@
5body { 7body {
6 line-height: 150%; 8 line-height: 150%;
7 margin-bottom: 100px; 9 margin-bottom: 100px;
8 font-family: serif; 10 font-family: 'Source Serif Pro', serif;
11 font-size: 16px;
9} 12}
10 13
11main { 14main {
12 max-width: 740px; 15 max-width: 760px;
13 padding: 20px 30px; 16 padding: 20px 30px;
14} 17}
15 18
@@ -53,7 +56,7 @@ ul.article-list li div {
53 56
54ul.article-list time { 57ul.article-list time {
55 display: inline-block; 58 display: inline-block;
56 min-width: 130px; 59 min-width: 160px;
57} 60}
58 61
59 62
@@ -78,6 +81,20 @@ th, td {
78 padding: 5px 10px; 81 padding: 5px 10px;
79} 82}
80 83
84code, pre {
85 font-size: 14px;
86}
87
88code {
89 background: rgb(255, 241, 177);
90 padding: 2px 5px;
91}
92
93pre > code {
94 background: unset;
95 padding: unset;
96}
97
81p.modified { 98p.modified {
82 font-style: oblique; 99 font-style: oblique;
83 font-size: 90%; 100 font-size: 90%;
@@ -94,7 +111,6 @@ p.modified {
94 color: #000; 111 color: #000;
95} 112}
96 113
97
98.comments { 114.comments {
99 margin-top: 50px; 115 margin-top: 50px;
100} 116}
@@ -191,8 +207,8 @@ p.modified {
191 * Inspired by Github syntax coloring 207 * Inspired by Github syntax coloring
192 */ 208 */
193 209
194 code[class*="language-"], 210code[class*="language-"],
195 pre[class*="language-"] { 211pre[class*="language-"] {
196 color: #393A34; 212 color: #393A34;
197 font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; 213 font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
198 direction: ltr; 214 direction: ltr;
@@ -200,7 +216,6 @@ p.modified {
200 white-space: pre; 216 white-space: pre;
201 word-spacing: normal; 217 word-spacing: normal;
202 word-break: normal; 218 word-break: normal;
203 font-size: .75em;
204 line-height: 1.2em; 219 line-height: 1.2em;
205 220
206 -moz-tab-size: 4; 221 -moz-tab-size: 4;
@@ -214,7 +229,7 @@ p.modified {
214 } 229 }
215 230
216 pre > code[class*="language-"] { 231 pre > code[class*="language-"] {
217 font-size: 1em; 232
218 } 233 }
219 234
220 pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, 235 pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,