adjust themes so that font definitions are at top, apply fonts on .reveal instead of body

This commit is contained in:
Hakim El Hattab
2012-10-16 09:27:55 -04:00
parent 4271677ea1
commit 17f3cf4332
5 changed files with 102 additions and 46 deletions

View File

@ -8,21 +8,38 @@
*/
/*********************************************
* FONT-FACE DEFINITIONS
* FONTS
*********************************************/
@import url(http://fonts.googleapis.com/css?family=News+Cycle:400,700);
.reveal {
font-family: 'Lato', Times, 'Times New Roman', serif;
font-size: 36px;
font-weight: 200;
letter-spacing: -0.02em;
}
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
margin: 0 0 20px 0;
color: black;
font-family: 'News Cycle', Impact, sans-serif;
line-height: 0.9em;
text-transform: uppercase;
}
/*********************************************
* GLOBAL STYLES
*********************************************/
body {
font-family: 'Lato', Times, 'Times New Roman', serif;
font-size: 36px;
font-weight: 200;
letter-spacing: -0.02em;
color: black !important;
background: white;
@ -53,10 +70,6 @@ body {
.reveal h6 {
margin: 0 0 20px 0;
color: black;
font-family: 'News Cycle', Impact, sans-serif;
line-height: 0.9em;
text-transform: uppercase;
}