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