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