summaryrefslogtreecommitdiffhomepage
path: root/css/theme/serif.css
diff options
context:
space:
mode:
authorHakim El Hattab2012-10-16 09:27:55 -0400
committerHakim El Hattab2012-10-16 09:27:55 -0400
commit17f3cf4332cb300d08fba2b77416dd281cbebb18 (patch)
treed6852258d10ce433a4057021d99394d4c40ab3b8 /css/theme/serif.css
parent4271677ea1cfcf3ba732e99eb57e073a8d4860f4 (diff)
adjust themes so that font definitions are at top, apply fonts on .reveal instead of body
Diffstat (limited to 'css/theme/serif.css')
-rw-r--r--css/theme/serif.css25
1 files changed, 18 insertions, 7 deletions
diff --git a/css/theme/serif.css b/css/theme/serif.css
index 47512fe..690ff2d 100644
--- a/css/theme/serif.css
+++ b/css/theme/serif.css
@@ -8,19 +8,32 @@
*/
/*********************************************
- * FONT-FACE DEFINITIONS
+ * FONTS
*********************************************/
+.reveal {
+ font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
+ font-size: 36px;
+ font-weight: 200;
+ letter-spacing: -0.02em;
+}
+
+.reveal h1,
+.reveal h2,
+.reveal h3,
+.reveal h4,
+.reveal h5,
+.reveal h6 {
+ font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
+ line-height: 0.9em;
+}
+
/*********************************************
* GLOBAL STYLES
*********************************************/
body {
- font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
- font-size: 36px;
- font-weight: 200;
- letter-spacing: -0.02em;
color: black !important;
background: #F0F1EB;
@@ -51,8 +64,6 @@ body {
.reveal h6 {
margin: 0 0 40px 0;
color: #383D3D;
- font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
- line-height: 0.9em;
}
/*********************************************