b65cd309d469

Remove the web font garbage
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 17 Dec 2016 13:54:40 -0500
parents 653f385c1bee
children e448a6cc762a
branches/tags (none)
files Makefile static/media/css/sjl.css static/media/css/sjl.less themes/stevelosh/layouts/partials/header.html

Changes

--- a/Makefile	Mon Oct 10 14:51:28 2016 +0000
+++ b/Makefile	Sat Dec 17 13:54:40 2016 -0500
@@ -1,4 +1,4 @@
-.PHONY: clean generate serve deploy
+.PHONY: clean generate serve deploy css
 
 files := $(shell hg files)
 less := $(shell ffind --literal '.less')
@@ -7,6 +7,8 @@
 static/media/css/%.css: static/media/css/%.less
 	lessc $< > $@
 
+css: $(style)
+
 public/index.html: $(files) $(style)
 	hugo -t stevelosh
 
--- a/static/media/css/sjl.css	Mon Oct 10 14:51:28 2016 +0000
+++ b/static/media/css/sjl.css	Sat Dec 17 13:54:40 2016 -0500
@@ -19,7 +19,7 @@
 body h4,
 body h5,
 body h6 {
-  font-family: 'OFL Sorts Mill Goudy', 'OFL Sorts Mill Goudy TT', serif;
+  font-family: 'Hoefler Text', 'Goudy Old Style', 'Palatino', 'Palatino Linotype', serif;
   font-weight: normal;
 }
 body h1 a,
@@ -134,7 +134,7 @@
 }
 body .wrap .top header {
   float: left;
-  font-family: 'OFL Sorts Mill Goudy', 'OFL Sorts Mill Goudy TT', serif;
+  font-family: 'Hoefler Text', 'Goudy Old Style', 'Palatino', 'Palatino Linotype', serif;
   font-size: 23px;
   line-height: 50px;
   text-transform: lowercase;
@@ -151,7 +151,7 @@
   color: #e50053;
 }
 body .wrap .top nav {
-  font: normal 18px/50px 'OFL Sorts Mill Goudy', 'OFL Sorts Mill Goudy TT', serif;
+  font: normal 18px/50px 'Hoefler Text', 'Goudy Old Style', 'Palatino', 'Palatino Linotype', serif;
   text-align: right;
   text-transform: lowercase;
   padding-right: 2px;
@@ -195,7 +195,7 @@
 .splash {
   color: #454545;
   text-align: center;
-  font: normal 27px/32px 'OFL Sorts Mill Goudy', 'OFL Sorts Mill Goudy TT', serif;
+  font: normal 27px/32px 'Hoefler Text', 'Goudy Old Style', 'Palatino', 'Palatino Linotype', serif;
   margin-bottom: -1px;
   padding-top: 0;
 }
@@ -226,7 +226,7 @@
   margin: 0 0 25px 0;
 }
 .section-listing ol li a {
-  font: normal 23px/32px 'OFL Sorts Mill Goudy', 'OFL Sorts Mill Goudy TT', serif;
+  font: normal 23px/32px 'Hoefler Text', 'Goudy Old Style', 'Palatino', 'Palatino Linotype', serif;
   color: #222222;
   display: block;
 }
@@ -237,7 +237,6 @@
 .section-listing ol li span.snip {
   font-size: 18px;
   color: #333;
-  font-family: 'OFL Sorts Mill Goudy', 'OFL Sorts Mill Goudy TT', serif;
   line-height: 25px;
   font-style: italic;
 }
@@ -349,7 +348,7 @@
   color: #999;
   font-size: 23px;
   font-style: italic;
-  font: italic 23px 'OFL Sorts Mill Goudy', 'OFL Sorts Mill Goudy TT', serif;
+  font: italic 23px 'Hoefler Text', 'Goudy Old Style', 'Palatino', 'Palatino Linotype', serif;
   line-height: 30px;
   position: fixed;
   top: 75px;
--- a/static/media/css/sjl.less	Mon Oct 10 14:51:28 2016 +0000
+++ b/static/media/css/sjl.less	Sat Dec 17 13:54:40 2016 -0500
@@ -1,7 +1,7 @@
 @c-link: #e50053;
 @c-body: #222;
 @w-body: 612px;
-@font-fancy: 'OFL Sorts Mill Goudy', 'OFL Sorts Mill Goudy TT', serif;
+@font-fancy: 'Hoefler Text','Goudy Old Style','Palatino','Palatino Linotype',serif;
 
 html {
     overflow-y: scroll;
@@ -229,7 +229,6 @@
             span.snip {
                 font-size: 18px;     // 1
                 color: #333;
-                font-family: @font-fancy;
                 line-height: 25px;
                 font-style: italic;
             }
--- a/themes/stevelosh/layouts/partials/header.html	Mon Oct 10 14:51:28 2016 +0000
+++ b/themes/stevelosh/layouts/partials/header.html	Sat Dec 17 13:54:40 2016 -0500
@@ -1,7 +1,6 @@
 <!DOCTYPE html>
 <html>
     <head>
-        <link href='http://fonts.googleapis.com/css?family=OFL+Sorts+Mill+Goudy+TT:regular,italic' rel='stylesheet' type='text/css' />
         <link rel="profile" href="http://microformats.org/profile/hcard" />
         <meta charset="utf-8">