Merge branch 'master' of https://github.com/hakimel/reveal.js
[reveal.js.git] / css / theme / beige.css
1 @import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
2 /**
3  * Beige theme for reveal.js.
4  * 
5  * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
6  */
7 @font-face {
8   font-family: 'League Gothic';
9   src: url("../../lib/font/league_gothic-webfont.eot");
10   src: url("../../lib/font/league_gothic-webfont.eot?#iefix") format("embedded-opentype"), url("../../lib/font/league_gothic-webfont.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
11   font-weight: normal;
12   font-style: normal;
13 }
14
15 /*********************************************
16  * GLOBAL STYLES
17  *********************************************/
18 body {
19   background: #f7f2d3;
20   background: -moz-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
21   background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, white), color-stop(100%, #f7f2d3));
22   background: -webkit-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
23   background: -o-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
24   background: -ms-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
25   background: radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
26   background-color: #f7f3de;
27 }
28
29 .reveal {
30   font-family: "Lato", Times, "Times New Roman", serif;
31   font-size: 36px;
32   font-weight: 200;
33   letter-spacing: -0.02em;
34   color: #333333;
35 }
36
37 ::selection {
38   color: white;
39   background: rgba(79, 64, 28, 0.99);
40   text-shadow: none;
41 }
42
43 /*********************************************
44  * HEADERS
45  *********************************************/
46 .reveal h1,
47 .reveal h2,
48 .reveal h3,
49 .reveal h4,
50 .reveal h5,
51 .reveal h6 {
52   margin: 0 0 20px 0;
53   color: #333333;
54   font-family: "League Gothic", Impact, sans-serif;
55   line-height: 0.9em;
56   letter-spacing: 0.02em;
57   text-transform: uppercase;
58   text-shadow: none;
59 }
60
61 .reveal h1 {
62   text-shadow: 0 1px 0 #cccccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbbbbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaaaaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 20px 20px rgba(0, 0, 0, 0.15);
63 }
64
65 /*********************************************
66  * LINKS
67  *********************************************/
68 .reveal a:not(.image) {
69   color: #8b743d;
70   text-decoration: none;
71   -webkit-transition: color .15s ease;
72   -moz-transition: color .15s ease;
73   -ms-transition: color .15s ease;
74   -o-transition: color .15s ease;
75   transition: color .15s ease;
76 }
77
78 .reveal a:not(.image):hover {
79   color: #c0a86e;
80   text-shadow: none;
81   border: none;
82 }
83
84 .reveal .roll span:after {
85   color: #fff;
86   background: #564826;
87 }
88
89 /*********************************************
90  * IMAGES
91  *********************************************/
92 .reveal section img {
93   margin: 15px 0px;
94   background: rgba(255, 255, 255, 0.12);
95   border: 4px solid #333333;
96   box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
97   -webkit-transition: all .2s linear;
98   -moz-transition: all .2s linear;
99   -ms-transition: all .2s linear;
100   -o-transition: all .2s linear;
101   transition: all .2s linear;
102 }
103
104 .reveal a:hover img {
105   background: rgba(255, 255, 255, 0.2);
106   border-color: #8b743d;
107   box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
108 }
109
110 /*********************************************
111  * NAVIGATION CONTROLS
112  *********************************************/
113 .reveal .controls div.navigate-left,
114 .reveal .controls div.navigate-left.enabled {
115   border-right-color: #8b743d;
116 }
117
118 .reveal .controls div.navigate-right,
119 .reveal .controls div.navigate-right.enabled {
120   border-left-color: #8b743d;
121 }
122
123 .reveal .controls div.navigate-up,
124 .reveal .controls div.navigate-up.enabled {
125   border-bottom-color: #8b743d;
126 }
127
128 .reveal .controls div.navigate-down,
129 .reveal .controls div.navigate-down.enabled {
130   border-top-color: #8b743d;
131 }
132
133 .reveal .controls div.navigate-left.enabled:hover {
134   border-right-color: #c0a86e;
135 }
136
137 .reveal .controls div.navigate-right.enabled:hover {
138   border-left-color: #c0a86e;
139 }
140
141 .reveal .controls div.navigate-up.enabled:hover {
142   border-bottom-color: #c0a86e;
143 }
144
145 .reveal .controls div.navigate-down.enabled:hover {
146   border-top-color: #c0a86e;
147 }
148
149 /*********************************************
150  * PROGRESS BAR
151  *********************************************/
152 .reveal .progress {
153   background: rgba(0, 0, 0, 0.2);
154 }
155
156 .reveal .progress span {
157   background: #8b743d;
158   -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
159   -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
160   -ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
161   -o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
162   transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
163 }