diff options
author | Case Duckworth | 2015-03-03 00:48:32 -0700 |
---|---|---|
committer | Case Duckworth | 2015-03-03 00:48:32 -0700 |
commit | 97ffc0ec4fbdcda7c0f9090a2d71acd44e4c4f84 (patch) | |
tree | 908ff5e39a84b78d941ee6ee3a6bd905e4197cc4 | |
parent | Add externalizing links process to compile.sh (diff) | |
download | autocento-97ffc0ec4fbdcda7c0f9090a2d71acd44e4c4f84.tar.gz autocento-97ffc0ec4fbdcda7c0f9090a2d71acd44e4c4f84.zip |
Make fonts real web fonts
33 files changed, 8 insertions, 225 deletions
diff --git a/css/common.css b/css/common.css index 411086c..190aea6 100644 --- a/css/common.css +++ b/css/common.css | |||
@@ -7,14 +7,16 @@ | |||
7 | * vim: fdm=marker | 7 | * vim: fdm=marker |
8 | */ | 8 | */ |
9 | /* Import rules {{{ */ | 9 | /* Import rules {{{ */ |
10 | @import url("fonts/playfair.css"); | 10 | /* Playfair Display (headings) */ |
11 | @import url("fonts/fira.css"); | 11 | @import url(http://fonts.googleapis.com/css?family=Playfair+Display:400,700,400italic,700italic&subset=latin,latin-ext); |
12 | /* Fira Sans (body) */ | ||
13 | @import url(http://code.cdn.mozilla.net/fonts/fira.css); | ||
12 | /* @import url("fonts/courier-prime.css"); | 14 | /* @import url("fonts/courier-prime.css"); |
13 | * ^^^^^^ for typewriter pages in Paul */ | 15 | * ^^^^^^ for typewriter pages in Paul */ |
14 | /* }}} */ | 16 | /* }}} */ |
15 | /* Body & Links {{{ */ | 17 | /* Body & Links {{{ */ |
16 | html, body { | 18 | html, body { |
17 | font-family: Fira, sans-serif; | 19 | font-family: "Fira Sans", sans-serif; |
18 | font-size: 12pt; | 20 | font-size: 12pt; |
19 | margin: 0; | 21 | margin: 0; |
20 | padding: 0; | 22 | padding: 0; |
@@ -75,7 +77,7 @@ header { | |||
75 | } | 77 | } |
76 | /* headings */ | 78 | /* headings */ |
77 | h1.title { | 79 | h1.title { |
78 | font-family: Playfair, serif; | 80 | font-family: "Playfair Display", serif; |
79 | font-size: 16pt; | 81 | font-size: 16pt; |
80 | /* font-weight: bold; */ | 82 | /* font-weight: bold; */ |
81 | font-weight: 400; | 83 | font-weight: 400; |
@@ -83,7 +85,7 @@ h1.title { | |||
83 | text-transform: uppercase; | 85 | text-transform: uppercase; |
84 | } | 86 | } |
85 | h1.subtitle { | 87 | h1.subtitle { |
86 | font-family: Playfair, serif; | 88 | font-family: "Playfair Display", serif; |
87 | font-size: 15pt; | 89 | font-size: 15pt; |
88 | font-style: italic; | 90 | font-style: italic; |
89 | font-weight: 400; | 91 | font-weight: 400; |
@@ -91,7 +93,7 @@ h1.subtitle { | |||
91 | top: -0.5em; | 93 | top: -0.5em; |
92 | } | 94 | } |
93 | h2 { | 95 | h2 { |
94 | font-family: Fira, sans-serif; | 96 | font-family: "Fira Sans", sans-serif; |
95 | font-size: 14pt; | 97 | font-size: 14pt; |
96 | font-weight: 600; | 98 | font-weight: 600; |
97 | } | 99 | } |
diff --git a/css/fonts/FiraSans-Bold.otf b/css/fonts/FiraSans-Bold.otf deleted file mode 100644 index 5fdf4e3..0000000 --- a/css/fonts/FiraSans-Bold.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/FiraSans-BoldItalic.otf b/css/fonts/FiraSans-BoldItalic.otf deleted file mode 100644 index afeb8aa..0000000 --- a/css/fonts/FiraSans-BoldItalic.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/FiraSans-ExtraBold.otf b/css/fonts/FiraSans-ExtraBold.otf deleted file mode 100644 index 341ae41..0000000 --- a/css/fonts/FiraSans-ExtraBold.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/FiraSans-ExtraBoldItalic.otf b/css/fonts/FiraSans-ExtraBoldItalic.otf deleted file mode 100644 index b09dc88..0000000 --- a/css/fonts/FiraSans-ExtraBoldItalic.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/FiraSans-Hair.otf b/css/fonts/FiraSans-Hair.otf deleted file mode 100644 index 7ecc18e..0000000 --- a/css/fonts/FiraSans-Hair.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/FiraSans-HairItalic.otf b/css/fonts/FiraSans-HairItalic.otf deleted file mode 100644 index dfd2902..0000000 --- a/css/fonts/FiraSans-HairItalic.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/FiraSans-Heavy.otf b/css/fonts/FiraSans-Heavy.otf deleted file mode 100644 index ee58ef3..0000000 --- a/css/fonts/FiraSans-Heavy.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/FiraSans-HeavyItalic.otf b/css/fonts/FiraSans-HeavyItalic.otf deleted file mode 100644 index f1fa3d0..0000000 --- a/css/fonts/FiraSans-HeavyItalic.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/FiraSans-Italic.otf b/css/fonts/FiraSans-Italic.otf deleted file mode 100644 index c73dcd6..0000000 --- a/css/fonts/FiraSans-Italic.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/FiraSans-Light.otf b/css/fonts/FiraSans-Light.otf deleted file mode 100644 index ac224b8..0000000 --- a/css/fonts/FiraSans-Light.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/FiraSans-LightItalic.otf b/css/fonts/FiraSans-LightItalic.otf deleted file mode 100644 index 32c6a40..0000000 --- a/css/fonts/FiraSans-LightItalic.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/FiraSans-Medium.otf b/css/fonts/FiraSans-Medium.otf deleted file mode 100644 index a027450..0000000 --- a/css/fonts/FiraSans-Medium.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/FiraSans-MediumItalic.otf b/css/fonts/FiraSans-MediumItalic.otf deleted file mode 100644 index 71f968c..0000000 --- a/css/fonts/FiraSans-MediumItalic.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/FiraSans-Regular.otf b/css/fonts/FiraSans-Regular.otf deleted file mode 100644 index 1efd98a..0000000 --- a/css/fonts/FiraSans-Regular.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/FiraSans-SemiBold.otf b/css/fonts/FiraSans-SemiBold.otf deleted file mode 100644 index 3f4a808..0000000 --- a/css/fonts/FiraSans-SemiBold.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/FiraSans-SemiBoldItalic.otf b/css/fonts/FiraSans-SemiBoldItalic.otf deleted file mode 100644 index 4ef1fae..0000000 --- a/css/fonts/FiraSans-SemiBoldItalic.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/FiraSans-UltraLight.otf b/css/fonts/FiraSans-UltraLight.otf deleted file mode 100644 index 4aba4de..0000000 --- a/css/fonts/FiraSans-UltraLight.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/FiraSans-UltraLightItalic.otf b/css/fonts/FiraSans-UltraLightItalic.otf deleted file mode 100644 index 852454d..0000000 --- a/css/fonts/FiraSans-UltraLightItalic.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/PlayfairDisplay-Black.otf b/css/fonts/PlayfairDisplay-Black.otf deleted file mode 100644 index 0d73b1c..0000000 --- a/css/fonts/PlayfairDisplay-Black.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/PlayfairDisplay-BlackItalic.otf b/css/fonts/PlayfairDisplay-BlackItalic.otf deleted file mode 100644 index cd8bce8..0000000 --- a/css/fonts/PlayfairDisplay-BlackItalic.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/PlayfairDisplay-Bold.otf b/css/fonts/PlayfairDisplay-Bold.otf deleted file mode 100644 index ba9044b..0000000 --- a/css/fonts/PlayfairDisplay-Bold.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/PlayfairDisplay-BoldItalic.otf b/css/fonts/PlayfairDisplay-BoldItalic.otf deleted file mode 100644 index e4c85e9..0000000 --- a/css/fonts/PlayfairDisplay-BoldItalic.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/PlayfairDisplay-Italic.otf b/css/fonts/PlayfairDisplay-Italic.otf deleted file mode 100644 index 2cba927..0000000 --- a/css/fonts/PlayfairDisplay-Italic.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/PlayfairDisplay-Regular.otf b/css/fonts/PlayfairDisplay-Regular.otf deleted file mode 100644 index a3e5773..0000000 --- a/css/fonts/PlayfairDisplay-Regular.otf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/PlayfairDisplaySC-Black.ttf b/css/fonts/PlayfairDisplaySC-Black.ttf deleted file mode 100644 index 18fcb2a..0000000 --- a/css/fonts/PlayfairDisplaySC-Black.ttf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/PlayfairDisplaySC-BlackItalic.ttf b/css/fonts/PlayfairDisplaySC-BlackItalic.ttf deleted file mode 100644 index 4c952ca..0000000 --- a/css/fonts/PlayfairDisplaySC-BlackItalic.ttf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/PlayfairDisplaySC-Bold.ttf b/css/fonts/PlayfairDisplaySC-Bold.ttf deleted file mode 100644 index 5a88505..0000000 --- a/css/fonts/PlayfairDisplaySC-Bold.ttf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/PlayfairDisplaySC-BoldItalic.ttf b/css/fonts/PlayfairDisplaySC-BoldItalic.ttf deleted file mode 100644 index 0bd311d..0000000 --- a/css/fonts/PlayfairDisplaySC-BoldItalic.ttf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/PlayfairDisplaySC-Italic.ttf b/css/fonts/PlayfairDisplaySC-Italic.ttf deleted file mode 100644 index 5450163..0000000 --- a/css/fonts/PlayfairDisplaySC-Italic.ttf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/PlayfairDisplaySC-Regular.ttf b/css/fonts/PlayfairDisplaySC-Regular.ttf deleted file mode 100644 index 1ed6bc5..0000000 --- a/css/fonts/PlayfairDisplaySC-Regular.ttf +++ /dev/null | |||
Binary files differ | |||
diff --git a/css/fonts/fira.css b/css/fonts/fira.css deleted file mode 100644 index d26d8f3..0000000 --- a/css/fonts/fira.css +++ /dev/null | |||
@@ -1,121 +0,0 @@ | |||
1 | /* FIRA FONT for Autocento project. | ||
2 | * ONLY PUT @font-face RULES HERE. | ||
3 | */ | ||
4 | |||
5 | /* Hair = 100 */ | ||
6 | @font-face { | ||
7 | font-family: Fira; | ||
8 | font-weight: 100; | ||
9 | font-style: normal; | ||
10 | src: url(FiraSans-Hair.otf); | ||
11 | } | ||
12 | @font-face { | ||
13 | font-family: Fira; | ||
14 | font-weight: 100; | ||
15 | font-style: italic; | ||
16 | src: url(FiraSans-HairItalic.otf); | ||
17 | } | ||
18 | /* Ultralight = 200 */ | ||
19 | @font-face { | ||
20 | font-family: Fira; | ||
21 | font-weight: 200; | ||
22 | font-style: normal; | ||
23 | src: url(FiraSans-UltraLight.otf); | ||
24 | } | ||
25 | @font-face { | ||
26 | font-family: Fira; | ||
27 | font-weight: 200; | ||
28 | font-style: italic; | ||
29 | src: url(FiraSans-UltraLightItalic.otf); | ||
30 | } | ||
31 | /* Light = 300 */ | ||
32 | @font-face { | ||
33 | font-family: Fira; | ||
34 | font-weight: 300; | ||
35 | font-style: normal; | ||
36 | src: url(FiraSans-Light.otf); | ||
37 | } | ||
38 | @font-face { | ||
39 | font-family: Fira; | ||
40 | font-weight: 300; | ||
41 | font-style: italic; | ||
42 | src: url(FiraSans-LightItalic.otf); | ||
43 | } | ||
44 | /* Regular = 400 */ | ||
45 | @font-face { | ||
46 | font-family: Fira; | ||
47 | font-weight: 400; | ||
48 | font-style: normal; | ||
49 | src: url(FiraSans-Regular.otf); | ||
50 | } | ||
51 | @font-face { | ||
52 | font-family: Fira; | ||
53 | font-weight: 400; | ||
54 | font-style: italic; | ||
55 | src: url(FiraSans-Italic.otf); | ||
56 | } | ||
57 | /* Medium = 500 */ | ||
58 | @font-face { | ||
59 | font-family: Fira; | ||
60 | font-weight: 500; | ||
61 | font-style: normal; | ||
62 | src: url(FiraSans-Medium.otf); | ||
63 | } | ||
64 | @font-face { | ||
65 | font-family: Fira; | ||
66 | font-weight: 500; | ||
67 | font-style: italic; | ||
68 | src: url(FiraSans-MediumItalic.otf); | ||
69 | } | ||
70 | /* Semibold = 600 */ | ||
71 | @font-face { | ||
72 | font-family: Fira; | ||
73 | font-weight: 600; | ||
74 | font-style: normal; | ||
75 | src: url(FiraSans-SemiBold.otf); | ||
76 | } | ||
77 | @font-face { | ||
78 | font-family: Fira; | ||
79 | font-weight: 600; | ||
80 | font-style: italic; | ||
81 | src: url(FiraSans-SemiBoldItalic.otf); | ||
82 | } | ||
83 | /* Bold = 700 */ | ||
84 | @font-face { | ||
85 | font-family: Fira; | ||
86 | font-weight: 700; | ||
87 | font-style: normal; | ||
88 | src: url(FiraSans-Bold.otf); | ||
89 | } | ||
90 | @font-face { | ||
91 | font-family: Fira; | ||
92 | font-weight: 700; | ||
93 | font-style: italic; | ||
94 | src: url(FiraSans-BoldItalic.otf); | ||
95 | } | ||
96 | /* Bold = 800 */ | ||
97 | @font-face { | ||
98 | font-family: Fira; | ||
99 | font-weight: 800; | ||
100 | font-style: normal; | ||
101 | src: url(FiraSans-ExtraBold.otf); | ||
102 | } | ||
103 | @font-face { | ||
104 | font-family: Fira; | ||
105 | font-weight: 800; | ||
106 | font-style: italic; | ||
107 | src: url(FiraSans-ExtraBoldItalic.otf); | ||
108 | } | ||
109 | /* Heavy = 900 */ | ||
110 | @font-face { | ||
111 | font-family: Fira; | ||
112 | font-weight: 900; | ||
113 | font-style: normal; | ||
114 | src: url(FiraSans-Heavy.otf); | ||
115 | } | ||
116 | @font-face { | ||
117 | font-family: Fira; | ||
118 | font-weight: 900; | ||
119 | font-style: italic; | ||
120 | src: url(FiraSans-HeavyItalic.otf); | ||
121 | } | ||
diff --git a/css/fonts/playfair.css b/css/fonts/playfair.css deleted file mode 100644 index 9fcb95a..0000000 --- a/css/fonts/playfair.css +++ /dev/null | |||
@@ -1,98 +0,0 @@ | |||
1 | /* PLAYFAIR DISPLAY FONT for Autocento project. | ||
2 | * ONLY PUT @font-face RULES HERE. | ||
3 | * vim: fdm=marker | ||
4 | */ | ||
5 | /* NORMAL VARIANT {{{ */ | ||
6 | /* Regular = 400 */ | ||
7 | @font-face { | ||
8 | font-family: Playfair; | ||
9 | font-variant: normal; | ||
10 | font-weight: 400; | ||
11 | font-style: normal; | ||
12 | src: url("PlayfairDisplay-Regular.otf"); | ||
13 | } | ||
14 | @font-face { | ||
15 | font-family: Playfair; | ||
16 | font-variant: normal; | ||
17 | font-weight: 400; | ||
18 | font-style: italic; | ||
19 | src: url("PlayfairDisplay-Italic.otf"); | ||
20 | } | ||
21 | /* Bold = 700 */ | ||
22 | @font-face { | ||
23 | font-family: Playfair; | ||
24 | font-variant: normal; | ||
25 | font-weight: 700; | ||
26 | font-style: normal; | ||
27 | src: url("PlayfairDisplay-Bold.otf"); | ||
28 | } | ||
29 | @font-face { | ||
30 | font-family: Playfair; | ||
31 | font-variant: normal; | ||
32 | font-weight: 700; | ||
33 | font-style: italic; | ||
34 | src: url("PlayfairDisplay-BoldItalic.otf"); | ||
35 | } | ||
36 | /* Black = 900 */ | ||
37 | @font-face { | ||
38 | font-family: Playfair; | ||
39 | font-variant: normal; | ||
40 | font-weight: 900; | ||
41 | font-style: normal; | ||
42 | src: url("PlayfairDisplay-Black.otf"); | ||
43 | } | ||
44 | @font-face { | ||
45 | font-family: Playfair; | ||
46 | font-variant: normal; | ||
47 | font-weight: 900; | ||
48 | font-style: italic; | ||
49 | src: url("PlayfairDisplay-BlackItalic.otf"); | ||
50 | } | ||
51 | /* }}} */ | ||
52 | /* SMALL CAPS VARIANT {{{ */ | ||
53 | /* Regular = 400 */ | ||
54 | @font-face { | ||
55 | font-family: PlayfairSC; | ||
56 | font-variant: small-caps; | ||
57 | font-weight: 400; | ||
58 | font-style: normal; | ||
59 | src: url("PlayfairDisplaySC-Regular.ttf"); | ||
60 | } | ||
61 | @font-face { | ||
62 | font-family: PlayfairSC; | ||
63 | font-variant: small-caps; | ||
64 | font-weight: 400; | ||
65 | font-style: italic; | ||
66 | src: url("PlayfairDisplaySC-Italic.ttf"); | ||
67 | } | ||
68 | /* Bold = 700 */ | ||
69 | @font-face { | ||
70 | font-family: PlayfairSC; | ||
71 | font-variant: small-caps; | ||
72 | font-weight: 700; | ||
73 | font-style: normal; | ||
74 | src: url("PlayfairDisplaySC-Bold.ttf"); | ||
75 | } | ||
76 | @font-face { | ||
77 | font-family: PlayfairSC; | ||
78 | font-variant: small-caps; | ||
79 | font-weight: 700; | ||
80 | font-style: italic; | ||
81 | src: url("PlayfairDisplaySC-BoldItalic.ttf"); | ||
82 | } | ||
83 | /* Black = 900 */ | ||
84 | @font-face { | ||
85 | font-family: PlayfairSC; | ||
86 | font-variant: small-caps; | ||
87 | font-weight: 900; | ||
88 | font-style: normal; | ||
89 | src: url("PlayfairDisplaySC-Black.ttf"); | ||
90 | } | ||
91 | @font-face { | ||
92 | font-family: PlayfairSC; | ||
93 | font-variant: small-caps; | ||
94 | font-weight: 900; | ||
95 | font-style: italic; | ||
96 | src: url("PlayfairDisplaySC-BlackItalic.ttf"); | ||
97 | } | ||
98 | /* }}} */ | ||