better choice of fallback fonts (closes #328)

This commit is contained in:
Hakim El Hattab
2013-03-04 16:37:15 -05:00
parent 6a0ce3c5e9
commit d5bf12275c
10 changed files with 182 additions and 304 deletions

View File

@ -1,7 +1,7 @@
/**
* A simple theme for reveal.js presentations, similar
* A simple theme for reveal.js presentations, similar
* to the default theme. The accent color is darkblue.
*
*
* This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
* reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se; so is the theme - beige.css - that this is based off of.
*/
@ -10,22 +10,19 @@
*********************************************/
body {
background: #f0f1eb;
background-color: #f0f1eb;
}
background-color: #f0f1eb; }
.reveal {
font-family: "Palatino Linotype", "Book Antiqua", Palatino, FreeSerif, serif;
font-size: 36px;
font-weight: 200;
letter-spacing: -0.02em;
color: black;
}
color: black; }
::selection {
color: white;
background: #26351c;
text-shadow: none;
}
text-shadow: none; }
/*********************************************
* HEADERS
@ -42,12 +39,10 @@ body {
line-height: 0.9em;
letter-spacing: 0.02em;
text-transform: none;
text-shadow: none;
}
text-shadow: none; }
.reveal h1 {
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
}
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); }
/*********************************************
* LINKS
@ -55,23 +50,20 @@ body {
.reveal a:not(.image) {
color: #51483d;
text-decoration: none;
-webkit-transition: color .15s ease;
-moz-transition: color .15s ease;
-ms-transition: color .15s ease;
-o-transition: color .15s ease;
transition: color .15s ease;
}
-webkit-transition: color 0.15s ease;
-moz-transition: color 0.15s ease;
-ms-transition: color 0.15s ease;
-o-transition: color 0.15s ease;
transition: color 0.15s ease; }
.reveal a:not(.image):hover {
color: #8b7c69;
text-shadow: none;
border: none;
}
border: none; }
.reveal .roll span:after {
color: #fff;
background: #25211c;
}
background: #25211c; }
/*********************************************
* IMAGES
@ -81,64 +73,53 @@ body {
background: rgba(255, 255, 255, 0.12);
border: 4px solid black;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
-webkit-transition: all .2s linear;
-moz-transition: all .2s linear;
-ms-transition: all .2s linear;
-o-transition: all .2s linear;
transition: all .2s linear;
}
-webkit-transition: all 0.2s linear;
-moz-transition: all 0.2s linear;
-ms-transition: all 0.2s linear;
-o-transition: all 0.2s linear;
transition: all 0.2s linear; }
.reveal a:hover img {
background: rgba(255, 255, 255, 0.2);
border-color: #51483d;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
}
box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
/*********************************************
* NAVIGATION CONTROLS
*********************************************/
.reveal .controls div.navigate-left,
.reveal .controls div.navigate-left.enabled {
border-right-color: #51483d;
}
border-right-color: #51483d; }
.reveal .controls div.navigate-right,
.reveal .controls div.navigate-right.enabled {
border-left-color: #51483d;
}
border-left-color: #51483d; }
.reveal .controls div.navigate-up,
.reveal .controls div.navigate-up.enabled {
border-bottom-color: #51483d;
}
border-bottom-color: #51483d; }
.reveal .controls div.navigate-down,
.reveal .controls div.navigate-down.enabled {
border-top-color: #51483d;
}
border-top-color: #51483d; }
.reveal .controls div.navigate-left.enabled:hover {
border-right-color: #8b7c69;
}
border-right-color: #8b7c69; }
.reveal .controls div.navigate-right.enabled:hover {
border-left-color: #8b7c69;
}
border-left-color: #8b7c69; }
.reveal .controls div.navigate-up.enabled:hover {
border-bottom-color: #8b7c69;
}
border-bottom-color: #8b7c69; }
.reveal .controls div.navigate-down.enabled:hover {
border-top-color: #8b7c69;
}
border-top-color: #8b7c69; }
/*********************************************
* PROGRESS BAR
*********************************************/
.reveal .progress {
background: rgba(0, 0, 0, 0.2);
}
background: rgba(0, 0, 0, 0.2); }
.reveal .progress span {
background: #51483d;
@ -146,5 +127,4 @@ body {
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
-ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
-o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
}
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }