|
| 1 | +/** |
| 2 | + * Beige theme for reveal.js. |
| 3 | + * |
| 4 | + * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se |
| 5 | + */ |
| 6 | +@import url(fonts/league-gothic/league-gothic.css); |
| 7 | +@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); |
| 8 | +/********************************************* |
| 9 | + * GLOBAL STYLES |
| 10 | + *********************************************/ |
| 11 | +:root { |
| 12 | + --background-color: #f7f3de; |
| 13 | + --main-font: Lato, sans-serif; |
| 14 | + --main-font-size: 40px; |
| 15 | + --main-color: #333; |
| 16 | + --block-margin: 20px; |
| 17 | + --heading-margin: 0 0 20px 0; |
| 18 | + --heading-font: League Gothic, Impact, sans-serif; |
| 19 | + --heading-color: #333; |
| 20 | + --heading-line-height: 1.2; |
| 21 | + --heading-letter-spacing: normal; |
| 22 | + --heading-text-transform: uppercase; |
| 23 | + --heading-text-shadow: none; |
| 24 | + --heading-font-weight: normal; |
| 25 | + --heading1-text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 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); |
| 26 | + --heading1-size: 3.77em; |
| 27 | + --heading2-size: 2.11em; |
| 28 | + --heading3-size: 1.55em; |
| 29 | + --heading4-size: 1em; |
| 30 | + --code-font: monospace; |
| 31 | + --link-color: #8b743d; |
| 32 | + --link-color-hover: #c0a86e; |
| 33 | + --selection-background-color: rgba(79, 64, 28, 0.99); |
| 34 | + --selection-color: #fff; } |
| 35 | + |
| 36 | +.reveal-viewport { |
| 37 | + background: #f7f2d3; |
| 38 | + background: -moz-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%); |
| 39 | + background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, white), color-stop(100%, #f7f2d3)); |
| 40 | + background: -webkit-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%); |
| 41 | + background: -o-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%); |
| 42 | + background: -ms-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%); |
| 43 | + background: radial-gradient(center, circle cover, white 0%, #f7f2d3 100%); |
| 44 | + background-color: #f7f3de; } |
| 45 | + |
| 46 | +.reveal { |
| 47 | + font-family: "Lato", sans-serif; |
| 48 | + font-size: 40px; |
| 49 | + font-weight: normal; |
| 50 | + color: #333; } |
| 51 | + |
| 52 | +.reveal ::selection { |
| 53 | + color: #fff; |
| 54 | + background: rgba(79, 64, 28, 0.99); |
| 55 | + text-shadow: none; } |
| 56 | + |
| 57 | +.reveal ::-moz-selection { |
| 58 | + color: #fff; |
| 59 | + background: rgba(79, 64, 28, 0.99); |
| 60 | + text-shadow: none; } |
| 61 | + |
| 62 | +.reveal .slides section, |
| 63 | +.reveal .slides section > section { |
| 64 | + line-height: 1.3; |
| 65 | + font-weight: inherit; } |
| 66 | + |
| 67 | +/********************************************* |
| 68 | + * HEADERS |
| 69 | + *********************************************/ |
| 70 | +.reveal h1, |
| 71 | +.reveal h2, |
| 72 | +.reveal h3, |
| 73 | +.reveal h4, |
| 74 | +.reveal h5, |
| 75 | +.reveal h6 { |
| 76 | + margin: 0 0 20px 0; |
| 77 | + color: #333; |
| 78 | + font-family: "League Gothic", Impact, sans-serif; |
| 79 | + font-weight: normal; |
| 80 | + line-height: 1.2; |
| 81 | + letter-spacing: normal; |
| 82 | + text-transform: uppercase; |
| 83 | + text-shadow: none; |
| 84 | + word-wrap: break-word; } |
| 85 | + |
| 86 | +.reveal h1 { |
| 87 | + font-size: 3.77em; } |
| 88 | + |
| 89 | +.reveal h2 { |
| 90 | + font-size: 2.11em; } |
| 91 | + |
| 92 | +.reveal h3 { |
| 93 | + font-size: 1.55em; } |
| 94 | + |
| 95 | +.reveal h4 { |
| 96 | + font-size: 1em; } |
| 97 | + |
| 98 | +.reveal h1 { |
| 99 | + text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 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); } |
| 100 | + |
| 101 | +/********************************************* |
| 102 | + * OTHER |
| 103 | + *********************************************/ |
| 104 | +.reveal p { |
| 105 | + margin: 20px 0; |
| 106 | + line-height: 1.3; } |
| 107 | + |
| 108 | +/* Ensure certain elements are never larger than the slide itself */ |
| 109 | +.reveal img, |
| 110 | +.reveal video, |
| 111 | +.reveal iframe { |
| 112 | + max-width: 95%; |
| 113 | + max-height: 95%; } |
| 114 | + |
| 115 | +.reveal strong, |
| 116 | +.reveal b { |
| 117 | + font-weight: bold; } |
| 118 | + |
| 119 | +.reveal em { |
| 120 | + font-style: italic; } |
| 121 | + |
| 122 | +.reveal ol, |
| 123 | +.reveal dl, |
| 124 | +.reveal ul { |
| 125 | + display: inline-block; |
| 126 | + text-align: left; |
| 127 | + margin: 0 0 0 1em; } |
| 128 | + |
| 129 | +.reveal ol { |
| 130 | + list-style-type: decimal; } |
| 131 | + |
| 132 | +.reveal ul { |
| 133 | + list-style-type: disc; } |
| 134 | + |
| 135 | +.reveal ul ul { |
| 136 | + list-style-type: square; } |
| 137 | + |
| 138 | +.reveal ul ul ul { |
| 139 | + list-style-type: circle; } |
| 140 | + |
| 141 | +.reveal ul ul, |
| 142 | +.reveal ul ol, |
| 143 | +.reveal ol ol, |
| 144 | +.reveal ol ul { |
| 145 | + display: block; |
| 146 | + margin-left: 40px; } |
| 147 | + |
| 148 | +.reveal dt { |
| 149 | + font-weight: bold; } |
| 150 | + |
| 151 | +.reveal dd { |
| 152 | + margin-left: 40px; } |
| 153 | + |
| 154 | +.reveal blockquote { |
| 155 | + display: block; |
| 156 | + position: relative; |
| 157 | + width: 70%; |
| 158 | + margin: 20px auto; |
| 159 | + padding: 5px; |
| 160 | + font-style: italic; |
| 161 | + background: rgba(255, 255, 255, 0.05); |
| 162 | + box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } |
| 163 | + |
| 164 | +.reveal blockquote p:first-child, |
| 165 | +.reveal blockquote p:last-child { |
| 166 | + display: inline-block; } |
| 167 | + |
| 168 | +.reveal q { |
| 169 | + font-style: italic; } |
| 170 | + |
| 171 | +.reveal pre { |
| 172 | + display: block; |
| 173 | + position: relative; |
| 174 | + width: 90%; |
| 175 | + margin: 20px auto; |
| 176 | + text-align: left; |
| 177 | + font-size: 0.55em; |
| 178 | + font-family: monospace; |
| 179 | + line-height: 1.2em; |
| 180 | + word-wrap: break-word; |
| 181 | + box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15); } |
| 182 | + |
| 183 | +.reveal code { |
| 184 | + font-family: monospace; |
| 185 | + text-transform: none; } |
| 186 | + |
| 187 | +.reveal pre code { |
| 188 | + display: block; |
| 189 | + padding: 5px; |
| 190 | + overflow: auto; |
| 191 | + max-height: 400px; |
| 192 | + word-wrap: normal; } |
| 193 | + |
| 194 | +.reveal table { |
| 195 | + margin: auto; |
| 196 | + border-collapse: collapse; |
| 197 | + border-spacing: 0; } |
| 198 | + |
| 199 | +.reveal table th { |
| 200 | + font-weight: bold; } |
| 201 | + |
| 202 | +.reveal table th, |
| 203 | +.reveal table td { |
| 204 | + text-align: left; |
| 205 | + padding: 0.2em 0.5em 0.2em 0.5em; |
| 206 | + border-bottom: 1px solid; } |
| 207 | + |
| 208 | +.reveal table th[align="center"], |
| 209 | +.reveal table td[align="center"] { |
| 210 | + text-align: center; } |
| 211 | + |
| 212 | +.reveal table th[align="right"], |
| 213 | +.reveal table td[align="right"] { |
| 214 | + text-align: right; } |
| 215 | + |
| 216 | +.reveal table tbody tr:last-child th, |
| 217 | +.reveal table tbody tr:last-child td { |
| 218 | + border-bottom: none; } |
| 219 | + |
| 220 | +.reveal sup { |
| 221 | + vertical-align: super; |
| 222 | + font-size: smaller; } |
| 223 | + |
| 224 | +.reveal sub { |
| 225 | + vertical-align: sub; |
| 226 | + font-size: smaller; } |
| 227 | + |
| 228 | +.reveal small { |
| 229 | + display: inline-block; |
| 230 | + font-size: 0.6em; |
| 231 | + line-height: 1.2em; |
| 232 | + vertical-align: top; } |
| 233 | + |
| 234 | +.reveal small * { |
| 235 | + vertical-align: top; } |
| 236 | + |
| 237 | +.reveal img { |
| 238 | + margin: 20px 0; } |
| 239 | + |
| 240 | +/********************************************* |
| 241 | + * LINKS |
| 242 | + *********************************************/ |
| 243 | +.reveal a { |
| 244 | + color: #8b743d; |
| 245 | + text-decoration: none; |
| 246 | + transition: color .15s ease; } |
| 247 | + |
| 248 | +.reveal a:hover { |
| 249 | + color: #c0a86e; |
| 250 | + text-shadow: none; |
| 251 | + border: none; } |
| 252 | + |
| 253 | +.reveal .roll span:after { |
| 254 | + color: #fff; |
| 255 | + background: #564826; } |
| 256 | + |
| 257 | +/********************************************* |
| 258 | + * Frame helper |
| 259 | + *********************************************/ |
| 260 | +.reveal .r-frame { |
| 261 | + border: 4px solid #333; |
| 262 | + box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } |
| 263 | + |
| 264 | +.reveal a .r-frame { |
| 265 | + transition: all .15s linear; } |
| 266 | + |
| 267 | +.reveal a:hover .r-frame { |
| 268 | + border-color: #8b743d; |
| 269 | + box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } |
| 270 | + |
| 271 | +/********************************************* |
| 272 | + * NAVIGATION CONTROLS |
| 273 | + *********************************************/ |
| 274 | +.reveal .controls { |
| 275 | + color: #8b743d; } |
| 276 | + |
| 277 | +/********************************************* |
| 278 | + * PROGRESS BAR |
| 279 | + *********************************************/ |
| 280 | +.reveal .progress { |
| 281 | + background: rgba(0, 0, 0, 0.2); |
| 282 | + color: #8b743d; } |
| 283 | + |
| 284 | +/********************************************* |
| 285 | + * PRINT BACKGROUND |
| 286 | + *********************************************/ |
| 287 | +@media print { |
| 288 | + .backgrounds { |
| 289 | + background-color: #f7f3de; } } |
0 commit comments