JJ Allaire | efa6ad4 | 2016-01-30 13:12:05 -0500 | [diff] [blame] | 1 | /** |
| 2 | * Black theme for reveal.js. |
| 3 | * |
| 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se |
| 5 | */ |
JJ Allaire | cff9e7c | 2016-01-30 14:04:35 -0500 | [diff] [blame] | 6 | |
| 7 | @font-face { |
| 8 | font-family: 'Montserrat'; |
| 9 | font-style: normal; |
| 10 | font-weight: 700; |
| 11 | src: url(fonts/Montserrat.ttf) format('truetype'); |
| 12 | } |
| 13 | |
| 14 | @font-face { |
| 15 | font-family: 'Open Sans'; |
| 16 | font-style: normal; |
| 17 | font-weight: 400; |
| 18 | src: url(fonts/OpenSans.ttf) format('truetype'); |
| 19 | } |
| 20 | @font-face { |
| 21 | font-family: 'Open Sans'; |
| 22 | font-style: normal; |
| 23 | font-weight: 700; |
| 24 | src: url(fonts/OpenSansBold.ttf) format('truetype'); |
| 25 | } |
| 26 | @font-face { |
| 27 | font-family: 'Open Sans'; |
| 28 | font-style: italic; |
| 29 | font-weight: 400; |
| 30 | src: url(fonts/OpenSansItalic.ttf) format('truetype'); |
| 31 | } |
| 32 | @font-face { |
| 33 | font-family: 'Open Sans'; |
| 34 | font-style: italic; |
| 35 | font-weight: 700; |
| 36 | src: url(fonts/OpenSansBoldItalic.ttf) format('truetype'); |
| 37 | } |
| 38 | |
| 39 | |
JJ Allaire | efa6ad4 | 2016-01-30 13:12:05 -0500 | [diff] [blame] | 40 | /********************************************* |
| 41 | * GLOBAL STYLES |
| 42 | *********************************************/ |
| 43 | body { |
| 44 | background: #111; |
| 45 | background-color: #111; } |
| 46 | |
| 47 | .reveal { |
| 48 | font-family: "Open Sans", sans-serif; |
| 49 | font-size: 30px; |
| 50 | font-weight: normal; |
| 51 | color: #eee; } |
| 52 | |
| 53 | ::selection { |
| 54 | color: #fff; |
| 55 | background: #e7ad52; |
| 56 | text-shadow: none; } |
| 57 | |
| 58 | .reveal .slides > section, |
| 59 | .reveal .slides > section > section { |
| 60 | line-height: 1.3; |
| 61 | font-weight: inherit; } |
| 62 | |
| 63 | /********************************************* |
| 64 | * HEADERS |
| 65 | *********************************************/ |
| 66 | .reveal h1, |
| 67 | .reveal h2, |
| 68 | .reveal h3, |
| 69 | .reveal h4, |
| 70 | .reveal h5, |
| 71 | .reveal h6 { |
| 72 | margin: 0 0 20px 0; |
| 73 | color: #eee; |
| 74 | font-family: "Montserrat", Impact, sans-serif; |
| 75 | font-weight: normal; |
| 76 | line-height: 1.2; |
| 77 | letter-spacing: -0.03em; |
| 78 | text-transform: none; |
| 79 | text-shadow: none; |
| 80 | word-wrap: break-word; } |
| 81 | |
| 82 | .reveal h1 { |
| 83 | font-size: 3.77em; } |
| 84 | |
| 85 | .reveal h2 { |
| 86 | font-size: 2.11em; } |
| 87 | |
| 88 | .reveal h3 { |
| 89 | font-size: 1.55em; } |
| 90 | |
| 91 | .reveal h4 { |
| 92 | font-size: 1em; } |
| 93 | |
| 94 | .reveal h1 { |
| 95 | text-shadow: none; } |
| 96 | |
| 97 | /********************************************* |
| 98 | * OTHER |
| 99 | *********************************************/ |
| 100 | .reveal p { |
| 101 | margin: 20px 0; |
| 102 | line-height: 1.3; } |
| 103 | |
| 104 | /* Ensure certain elements are never larger than the slide itself */ |
| 105 | .reveal img, |
| 106 | .reveal video, |
| 107 | .reveal iframe { |
| 108 | max-width: 95%; |
| 109 | max-height: 95%; } |
| 110 | |
| 111 | .reveal strong, |
| 112 | .reveal b { |
| 113 | font-weight: bold; } |
| 114 | |
| 115 | .reveal em { |
| 116 | font-style: italic; } |
| 117 | |
| 118 | .reveal ol, |
| 119 | .reveal dl, |
| 120 | .reveal ul { |
| 121 | display: inline-block; |
| 122 | text-align: left; |
| 123 | margin: 0 0 0 1em; } |
| 124 | |
| 125 | .reveal ol { |
| 126 | list-style-type: decimal; } |
| 127 | |
| 128 | .reveal ul { |
| 129 | list-style-type: disc; } |
| 130 | |
| 131 | .reveal ul ul { |
| 132 | list-style-type: square; } |
| 133 | |
| 134 | .reveal ul ul ul { |
| 135 | list-style-type: circle; } |
| 136 | |
| 137 | .reveal ul ul, |
| 138 | .reveal ul ol, |
| 139 | .reveal ol ol, |
| 140 | .reveal ol ul { |
| 141 | display: block; |
| 142 | margin-left: 40px; } |
| 143 | |
| 144 | .reveal dt { |
| 145 | font-weight: bold; } |
| 146 | |
| 147 | .reveal dd { |
| 148 | margin-left: 40px; } |
| 149 | |
| 150 | .reveal q, |
| 151 | .reveal blockquote { |
| 152 | quotes: none; } |
| 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 0px 6px rgba(0, 0, 0, 0.3); } |
| 182 | |
| 183 | .reveal code { |
| 184 | font-family: monospace; } |
| 185 | |
| 186 | .reveal pre code { |
| 187 | display: block; |
| 188 | padding: 5px; |
| 189 | overflow: auto; |
| 190 | max-height: 400px; |
| 191 | word-wrap: normal; } |
| 192 | |
| 193 | .reveal table { |
| 194 | margin: auto; |
| 195 | border-collapse: collapse; |
| 196 | border-spacing: 0; } |
| 197 | |
| 198 | .reveal table th { |
| 199 | font-weight: bold; } |
| 200 | |
| 201 | .reveal table th, |
| 202 | .reveal table td { |
| 203 | text-align: left; |
| 204 | padding: 0.2em 0.5em 0.2em 0.5em; |
| 205 | border-bottom: 1px solid; } |
| 206 | |
| 207 | .reveal table th[align="center"], |
| 208 | .reveal table td[align="center"] { |
| 209 | text-align: center; } |
| 210 | |
| 211 | .reveal table th[align="right"], |
| 212 | .reveal table td[align="right"] { |
| 213 | text-align: right; } |
| 214 | |
Bruce's Thinkpad | f7fa1da | 2016-07-14 01:28:52 +0800 | [diff] [blame] | 215 | .reveal table tbody tr:last-child th, |
| 216 | .reveal table tbody tr:last-child td { |
JJ Allaire | efa6ad4 | 2016-01-30 13:12:05 -0500 | [diff] [blame] | 217 | border-bottom: none; } |
| 218 | |
| 219 | .reveal sup { |
| 220 | vertical-align: super; } |
| 221 | |
| 222 | .reveal sub { |
| 223 | vertical-align: sub; } |
| 224 | |
| 225 | .reveal small { |
| 226 | display: inline-block; |
| 227 | font-size: 0.6em; |
| 228 | line-height: 1.2em; |
| 229 | vertical-align: top; } |
| 230 | |
| 231 | .reveal small * { |
| 232 | vertical-align: top; } |
| 233 | |
| 234 | /********************************************* |
| 235 | * LINKS |
| 236 | *********************************************/ |
| 237 | .reveal a { |
| 238 | color: #e7ad52; |
| 239 | text-decoration: none; |
Bruce's Thinkpad | f7fa1da | 2016-07-14 01:28:52 +0800 | [diff] [blame] | 240 | -webkit-transition: color .15s ease; |
| 241 | -moz-transition: color .15s ease; |
| 242 | transition: color .15s ease; } |
JJ Allaire | efa6ad4 | 2016-01-30 13:12:05 -0500 | [diff] [blame] | 243 | |
| 244 | .reveal a:hover { |
| 245 | color: #f3d7ac; |
| 246 | text-shadow: none; |
| 247 | border: none; } |
| 248 | |
| 249 | .reveal .roll span:after { |
| 250 | color: #fff; |
| 251 | background: #d08a1d; } |
| 252 | |
| 253 | /********************************************* |
| 254 | * IMAGES |
| 255 | *********************************************/ |
| 256 | .reveal section img { |
| 257 | margin: 15px 0px; |
| 258 | background: rgba(255, 255, 255, 0.12); |
| 259 | border: 4px solid #eee; |
| 260 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } |
| 261 | |
| 262 | .reveal section img.plain { |
| 263 | border: 0; |
| 264 | box-shadow: none; } |
| 265 | |
| 266 | .reveal a img { |
Bruce's Thinkpad | f7fa1da | 2016-07-14 01:28:52 +0800 | [diff] [blame] | 267 | -webkit-transition: all .15s linear; |
| 268 | -moz-transition: all .15s linear; |
| 269 | transition: all .15s linear; } |
JJ Allaire | efa6ad4 | 2016-01-30 13:12:05 -0500 | [diff] [blame] | 270 | |
| 271 | .reveal a:hover img { |
| 272 | background: rgba(255, 255, 255, 0.2); |
| 273 | border-color: #e7ad52; |
| 274 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } |
| 275 | |
| 276 | /********************************************* |
| 277 | * NAVIGATION CONTROLS |
| 278 | *********************************************/ |
| 279 | .reveal .controls .navigate-left, |
| 280 | .reveal .controls .navigate-left.enabled { |
| 281 | border-right-color: #e7ad52; } |
| 282 | |
| 283 | .reveal .controls .navigate-right, |
| 284 | .reveal .controls .navigate-right.enabled { |
| 285 | border-left-color: #e7ad52; } |
| 286 | |
| 287 | .reveal .controls .navigate-up, |
| 288 | .reveal .controls .navigate-up.enabled { |
| 289 | border-bottom-color: #e7ad52; } |
| 290 | |
| 291 | .reveal .controls .navigate-down, |
| 292 | .reveal .controls .navigate-down.enabled { |
| 293 | border-top-color: #e7ad52; } |
| 294 | |
| 295 | .reveal .controls .navigate-left.enabled:hover { |
| 296 | border-right-color: #f3d7ac; } |
| 297 | |
| 298 | .reveal .controls .navigate-right.enabled:hover { |
| 299 | border-left-color: #f3d7ac; } |
| 300 | |
| 301 | .reveal .controls .navigate-up.enabled:hover { |
| 302 | border-bottom-color: #f3d7ac; } |
| 303 | |
| 304 | .reveal .controls .navigate-down.enabled:hover { |
| 305 | border-top-color: #f3d7ac; } |
| 306 | |
| 307 | /********************************************* |
| 308 | * PROGRESS BAR |
| 309 | *********************************************/ |
| 310 | .reveal .progress { |
| 311 | background: rgba(0, 0, 0, 0.2); } |
| 312 | |
| 313 | .reveal .progress span { |
| 314 | background: #e7ad52; |
| 315 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); |
| 316 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); |
| 317 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } |