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