Improve fonts. Like a lot

This commit is contained in:
Ariejan de Vroom 2017-04-21 16:39:26 +02:00
parent 948e33abc5
commit 36ac91e681

View File

@ -1,5 +1,7 @@
@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Noto+Sans:4e00,700|Noto+Serif:400,400i,700,700i&subset=latin-ext');
/*** HTML Reset ***/
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}
@ -38,22 +40,32 @@ h1 a, h2 a, h3 a {
/*** Layout ***/
html, body {
font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, Times New Roman, serif;
/* font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, “Times New Roman”, serif; */
font-family: 'Noto Serif', serif;
font-size: 17px;
line-height: 27px;
}
h1, h2, h3, h4, h5 {
font-family: 'Noto Sans', sans-serif;
line-height: 1.6;
}
pre, code {
font-family: monaco,Consolas,Lucida Console,monospace;
padding-left: 0;
padding: 8px;
margin-left: 0;
margin-right: 0;
font-size: 14px;
background-color: #f7f7f7;
overflow: scroll;
}
/*** Sidebar **/
.sidebar {
padding: 2rem 1rem;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-family: "Noto Sans", sans-serif;
}
.sidebar h1 {
@ -148,34 +160,29 @@ small {
font-size: 12px;
}
h1, h2, h3, h4, h5 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
line-height: 1.5;
}
h1 {
font-size: 36px;
font-weight: 400;
font-weight: 700;
}
h2 {
font-size: 24px;
font-weight: 400;
font-weight: 700;
}
h3 {
font-size: 20px;
font-weight: 400;
font-weight: 700;
}
h4 {
font-size: 18px;
font-weight: 400;
font-weight: 700;
}
h5 {
font-size: 17px;
font-weight: 400;
font-weight: 700;
}
a {
@ -214,23 +221,6 @@ nav li span.recommended {
background-color: rgba(255, 153, 0, 0.62);
}
/*
#posts h2 time {
color: #BCBCBC;
font-size: 0.6em;
}
#posts time:before {
content: "";
margin-right: 0.2em;
}
#posts li h3 {
font-size: 1em;
}
*/
kbd {
padding: 2px 4px;
font-size: 90%;
@ -301,7 +291,7 @@ img.img-right {
background-color: #ffc;
padding: 13px;
margin-bottom: 27px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-family: "Nota Sans", sans-serif;
box-shadow: 0px 0px 2px 0px rgba(171,171,171,0.55);
}
@ -312,10 +302,10 @@ img.img-right {
#mc_embed_signup form {text-align:center; padding:10px 0 10px 0;}
.mc-field-group { display: inline-block; } /* positions input field horizontally */
#mc_embed_signup input.email {font-family:"Open Sans","Helvetica Neue",Arial,Helvetica,Verdana,sans-serif; font-size: 15px; border: 1px solid #ABB0B2; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; color: #343434; background-color: #fff; box-sizing:border-box; height:32px; padding: 0px 0.4em; display: inline-block; margin: 0; width:350px; vertical-align:top;}
#mc_embed_signup input.email {font-family:"Nota Sans",sans-serif; font-size: 15px; border: 1px solid #ABB0B2; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; color: #343434; background-color: #fff; box-sizing:border-box; height:32px; padding: 0px 0.4em; display: inline-block; margin: 0; width:350px; vertical-align:top;}
#mc_embed_signup label {display:block; font-size:16px; padding-bottom:10px; font-weight:bold;}
#mc_embed_signup .clear {display: inline-block;} /* positions button horizontally in line with input */
#mc_embed_signup .button {font-family:"Open Sans","Helvetica Neue",Arial,Helvetica,Verdana,sans-serif; font-size: 13px; border: none; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; letter-spacing: .03em; color: #fff; background-color: #aaa; box-sizing:border-box; height:32px; line-height:32px; padding:0 18px; display: inline-block; margin: 0; transition: all 0.23s ease-in-out 0s;}
#mc_embed_signup .button {font-family:"Nota Sans",sans-serif; font-size: 13px; border: none; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; letter-spacing: .03em; color: #fff; background-color: #aaa; box-sizing:border-box; height:32px; line-height:32px; padding:0 18px; display: inline-block; margin: 0; transition: all 0.23s ease-in-out 0s;}
#mc_embed_signup .button:hover {background-color:#777; cursor:pointer;}
#mc_embed_signup div#mce-responses {float:left; top:-1.4em; padding:0em .5em 0em .5em; overflow:hidden; width:90%;margin: 0 5%; clear: both;}
#mc_embed_signup div.response {margin:1em 0; padding:1em .5em .5em 0; font-weight:bold; float:left; top:-1.5em; z-index:1; width:80%;}