mirror of
https://github.com/danbee/danbarber.me
synced 2025-03-04 08:59:10 +00:00
Switch to Hoefler & Co fonts
This commit is contained in:
parent
0d2c93ce92
commit
91b1339311
@ -15,7 +15,7 @@ body > header {
|
|||||||
h1 a {
|
h1 a {
|
||||||
//display: inline-block
|
//display: inline-block
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
font-weight: 700;
|
font-weight: 600;
|
||||||
//line-height: 0
|
//line-height: 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -60,7 +60,7 @@ article > header {
|
|||||||
}
|
}
|
||||||
|
|
||||||
article > header h1, #content .blog-index article h1 {
|
article > header h1, #content .blog-index article h1 {
|
||||||
font-size: 1.5em;
|
font-size: 1.35em;
|
||||||
}
|
}
|
||||||
|
|
||||||
body > nav {
|
body > nav {
|
||||||
|
|||||||
@ -1,8 +1,7 @@
|
|||||||
// $blockquote: $type-border !default
|
// $blockquote: $type-border !default
|
||||||
$sans: "adelle", sans-serif !default;
|
$heading-font-family: "Sentinel SSm A", "Sentinel SSm B", Georgia, Times, "Times New Roman", serif;
|
||||||
$serif: "rooney-web", Georgia, Times, "Times New Roman", serif !default;
|
$body-font-family: "Sentinel SSm A", "Sentinel SSm B", Georgia, Times, "Times New Roman", serif;
|
||||||
$mono: "source-code-pro", monospace !default;
|
$mono: "source-code-pro", monospace !default;
|
||||||
$heading-font-family: "adelle", sans-serif !default;
|
|
||||||
$header-title-font-family: $heading-font-family !default;
|
$header-title-font-family: $heading-font-family !default;
|
||||||
$header-subtitle-font-family: $heading-font-family !default;
|
$header-subtitle-font-family: $heading-font-family !default;
|
||||||
|
|
||||||
@ -16,7 +15,7 @@ $header-subtitle-font-family: $heading-font-family !default;
|
|||||||
|
|
||||||
/*Pick Your Fonts */
|
/*Pick Your Fonts */
|
||||||
body, h5, h6, .run-in, dt {
|
body, h5, h6, .run-in, dt {
|
||||||
font-family: $serif;
|
font-family: $body-font-family;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, .pullquote, .sidenote h1, aside h1, .pullquote, .drop-cap, cite {
|
h1, h2, h3, h4, .pullquote, .sidenote h1, aside h1, .pullquote, .drop-cap, cite {
|
||||||
@ -25,13 +24,13 @@ h1, h2, h3, h4, .pullquote, .sidenote h1, aside h1, .pullquote, .drop-cap, cite
|
|||||||
|
|
||||||
/*Nav Fonts */
|
/*Nav Fonts */
|
||||||
nav[role=navigation] {
|
nav[role=navigation] {
|
||||||
font-family: $sans;
|
font-family: $heading-font-family;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*Size & Vertical Rhythm */
|
/*Size & Vertical Rhythm */
|
||||||
body {
|
body {
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
font-size: 16px;
|
font-size: 14px;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -48,7 +47,7 @@ h1 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 1.75em;
|
font-size: 1.5em;
|
||||||
line-height: 1.1em;
|
line-height: 1.1em;
|
||||||
margin: 2em 0 0.5em;
|
margin: 2em 0 0.5em;
|
||||||
}
|
}
|
||||||
@ -66,12 +65,12 @@ h4 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3 {
|
h1, h2, h3 {
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
text-rendering: optimizelegibility;
|
text-rendering: optimizelegibility;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4, h5, h6 {
|
h4, h5, h6 {
|
||||||
font-weight: 700;
|
font-weight: 600;
|
||||||
text-rendering: optimizelegibility;
|
text-rendering: optimizelegibility;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -80,7 +79,7 @@ article h1 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
strong {
|
strong {
|
||||||
font-weight: 700;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
small {
|
small {
|
||||||
|
|||||||
@ -34,7 +34,7 @@ body > footer {
|
|||||||
color: #999 #bbb #bbb #999;
|
color: #999 #bbb #bbb #999;
|
||||||
};
|
};
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
font-family: $serif;
|
font-family: $body-font-family;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
padding: 0.15em 0.75em;
|
padding: 0.15em 0.75em;
|
||||||
&:focus {
|
&:focus {
|
||||||
|
|||||||
@ -11,7 +11,7 @@ article {
|
|||||||
text-rendering: optimizelegibility;
|
text-rendering: optimizelegibility;
|
||||||
}
|
}
|
||||||
h1 + .meta {
|
h1 + .meta {
|
||||||
margin-top: -2.5rem;
|
margin-top: -2.25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
header a {
|
header a {
|
||||||
@ -41,6 +41,7 @@ article {
|
|||||||
> footer {
|
> footer {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
|
margin-top: 2em;
|
||||||
p.meta {
|
p.meta {
|
||||||
margin-bottom: 0.8em;
|
margin-bottom: 0.8em;
|
||||||
font-size: 0.85em;
|
font-size: 0.85em;
|
||||||
|
|||||||
@ -37,8 +37,7 @@
|
|||||||
<!-- Safari pinned tab -->
|
<!-- Safari pinned tab -->
|
||||||
<link rel="mask-icon" href="{{ 'favicon.svg' | asset_path }}" color="#4B8400">
|
<link rel="mask-icon" href="{{ 'favicon.svg' | asset_path }}" color="#4B8400">
|
||||||
|
|
||||||
<script type="text/javascript" src="//use.typekit.com/ori1zzm.js"></script>
|
<link rel="stylesheet" type="text/css" href="https://cloud.typography.com/7434852/6285372/css/fonts.css" />
|
||||||
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
|
|
||||||
|
|
||||||
<meta property="og:title" content="{{ page.title }}">
|
<meta property="og:title" content="{{ page.title }}">
|
||||||
<meta property="og:url" content="{{ site.url }}{{ page.url }}">
|
<meta property="og:url" content="{{ site.url }}{{ page.url }}">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user