From edae7fa33e230c9a8b0e374f2f921b6292952221 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 2 Mar 2015 21:54:42 -0700 Subject: Fix basic typography in PAUL --- css/_common.css | 4 ++-- css/fonts/courier-prime.css | 8 ++++---- css/paul.css | 29 +++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 6 deletions(-) (limited to 'css') diff --git a/css/_common.css b/css/_common.css index 19fdf9d..d7abae2 100644 --- a/css/_common.css +++ b/css/_common.css @@ -6,8 +6,8 @@ * vim: fdm=marker */ /* Import rules {{{ */ -@import url("./fonts/playfair.css"); -@import url("./fonts/fira.css"); +@import url("fonts/playfair.css"); +@import url("fonts/fira.css"); /* @import url("fonts/courier-prime.css"); * ^^^^^^ for typewriter pages in Paul */ /* }}} */ diff --git a/css/fonts/courier-prime.css b/css/fonts/courier-prime.css index 0550e90..0a38383 100644 --- a/css/fonts/courier-prime.css +++ b/css/fonts/courier-prime.css @@ -4,26 +4,26 @@ /* Normal = normal */ @font-face { - font-family: CourierPrime; + font-family: "Courier Prime"; font-weight: normal; font-style: normal; src: url("Courier_Prime.ttf"); } @font-face { - font-family: CourierPrime; + font-family: "Courier Prime"; font-weight: normal; font-style: italic; src: url("Courier_Prime_Italic.ttf"); } /* Bold = bold */ @font-face { - font-family: CourierPrime; + font-family: "Courier Prime"; font-weight: bold; font-style: normal; src: url("Courier_Prime_Bold.ttf"); } @font-face { - font-family: CourierPrime; + font-family: "Courier Prime"; font-weight: bold; font-style: italic; src: url("Courier_Prime_Bold_Italic.ttf"); diff --git a/css/paul.css b/css/paul.css index e69de29..495ecf6 100644 --- a/css/paul.css +++ b/css/paul.css @@ -0,0 +1,29 @@ +/* BUILDINGS OUT OF AIR: PAUL IN THE WOODS + * project stylesheet + */ + +@import url("fonts/courier-prime.css"); +@import url("fonts/playfair.css"); + +/* Blockquote = typewriter */ +blockquote { + font-family: "Courier Prime", Courier, monospace; + font-size: 10pt; + border: 1px solid black; + max-width: 30em; + margin: auto; + padding: 0 1em; + text-align: left; +} +blockquote ul { + list-style-type: none; +} +blockquote ul li:before { + content: '- '; +} + +/* Emphasis = handwritten */ +em { + font-family: Playfair, sans-serif; + font-style: italic; +} -- cgit 1.4.1-21-gabe81