[747e744] | 1 | @import "variables.less"; |
---|
| 2 | @import "mixins.less"; |
---|
| 3 | |
---|
| 4 | // Global Components |
---|
| 5 | |
---|
| 6 | body { |
---|
| 7 | .serif-font; |
---|
| 8 | font-size: 20px; |
---|
| 9 | color: @gray-dark; |
---|
| 10 | } |
---|
| 11 | |
---|
| 12 | // Typography |
---|
| 13 | |
---|
| 14 | p { |
---|
| 15 | line-height: 1.5; |
---|
| 16 | margin: 30px 0; |
---|
| 17 | a { |
---|
| 18 | text-decoration: underline; |
---|
| 19 | } |
---|
| 20 | } |
---|
| 21 | |
---|
| 22 | h1, |
---|
| 23 | h2, |
---|
| 24 | h3, |
---|
| 25 | h4, |
---|
| 26 | h5, |
---|
| 27 | h6 { |
---|
| 28 | .sans-serif-font; |
---|
| 29 | font-weight: 800; |
---|
| 30 | } |
---|
| 31 | |
---|
| 32 | a { |
---|
| 33 | color: @gray-dark; |
---|
| 34 | &:hover, |
---|
| 35 | &:focus { |
---|
| 36 | color: @theme-primary; |
---|
| 37 | } |
---|
| 38 | } |
---|
| 39 | |
---|
| 40 | a img { |
---|
| 41 | &:hover, |
---|
| 42 | &:focus { |
---|
| 43 | cursor: zoom-in; |
---|
| 44 | } |
---|
| 45 | } |
---|
| 46 | |
---|
| 47 | blockquote { |
---|
| 48 | color: @gray-light; |
---|
| 49 | font-style: italic; |
---|
| 50 | } |
---|
| 51 | |
---|
| 52 | hr.small { |
---|
| 53 | max-width: 100px; |
---|
| 54 | margin: 15px auto; |
---|
| 55 | border-width: 4px; |
---|
| 56 | border-color: white; |
---|
| 57 | } |
---|
| 58 | |
---|
| 59 | // Navigation |
---|
| 60 | |
---|
| 61 | .navbar-custom { |
---|
| 62 | position: absolute; |
---|
| 63 | top: 0; |
---|
| 64 | left: 0; |
---|
| 65 | width: 100%; |
---|
| 66 | z-index: 3; |
---|
| 67 | .sans-serif-font; |
---|
| 68 | .navbar-brand { |
---|
| 69 | font-weight: 800; |
---|
| 70 | } |
---|
| 71 | .navbar-header { |
---|
| 72 | .navbar-toggle { |
---|
| 73 | color: @gray-light; |
---|
| 74 | font-weight: 800; |
---|
| 75 | text-transform: uppercase; |
---|
| 76 | font-size: 12px; |
---|
| 77 | } |
---|
| 78 | } |
---|
| 79 | .nav { |
---|
| 80 | li { |
---|
| 81 | a { |
---|
| 82 | text-transform: uppercase; |
---|
| 83 | font-size: 12px; |
---|
| 84 | font-weight: 800; |
---|
| 85 | letter-spacing: 1px; |
---|
| 86 | } |
---|
| 87 | } |
---|
| 88 | } |
---|
| 89 | @media only screen and (min-width: 768px) { |
---|
| 90 | background: transparent; |
---|
| 91 | border-bottom: 1px solid transparent; |
---|
| 92 | .navbar-brand { |
---|
| 93 | color: white; |
---|
| 94 | padding: 20px; |
---|
| 95 | &:hover, |
---|
| 96 | &:focus { |
---|
| 97 | color: fade(white, 80%); |
---|
| 98 | } |
---|
| 99 | } |
---|
| 100 | .nav { |
---|
| 101 | li { |
---|
| 102 | a { |
---|
| 103 | color: white; |
---|
| 104 | padding: 20px; |
---|
| 105 | &:hover, |
---|
| 106 | &:focus { |
---|
| 107 | color: fade(white, 80%); |
---|
| 108 | } |
---|
| 109 | } |
---|
| 110 | ul.dropdown-menu { |
---|
| 111 | a { |
---|
| 112 | color: @gray-dark; |
---|
| 113 | &:hover, |
---|
| 114 | &:focus { |
---|
| 115 | color: @theme-primary; |
---|
| 116 | } |
---|
| 117 | } |
---|
| 118 | } |
---|
| 119 | } |
---|
| 120 | } |
---|
| 121 | } |
---|
| 122 | @media only screen and (min-width: 1170px) { |
---|
| 123 | -webkit-transition: background-color 0.3s; |
---|
| 124 | -moz-transition: background-color 0.3s; |
---|
| 125 | transition: background-color 0.3s; |
---|
| 126 | /* Force Hardware Acceleration in WebKit */ |
---|
| 127 | -webkit-transform: translate3d(0, 0, 0); |
---|
| 128 | -moz-transform: translate3d(0, 0, 0); |
---|
| 129 | -ms-transform: translate3d(0, 0, 0); |
---|
| 130 | -o-transform: translate3d(0, 0, 0); |
---|
| 131 | transform: translate3d(0, 0, 0); |
---|
| 132 | -webkit-backface-visibility: hidden; |
---|
| 133 | backface-visibility: hidden; |
---|
| 134 | &.is-fixed { |
---|
| 135 | /* when the user scrolls down, we hide the header right above the viewport */ |
---|
| 136 | position: fixed; |
---|
| 137 | top: -61px; |
---|
| 138 | background-color: fade(white, 90%); |
---|
| 139 | border-bottom: 1px solid darken(white, 5%); |
---|
| 140 | -webkit-transition: -webkit-transform 0.3s; |
---|
| 141 | -moz-transition: -moz-transform 0.3s; |
---|
| 142 | transition: transform 0.3s; |
---|
| 143 | .navbar-brand { |
---|
| 144 | color: @gray-dark; |
---|
| 145 | &:hover, |
---|
| 146 | &:focus { |
---|
| 147 | color: @theme-primary; |
---|
| 148 | } |
---|
| 149 | } |
---|
| 150 | .nav { |
---|
| 151 | li { |
---|
| 152 | a { |
---|
| 153 | color: @gray-dark; |
---|
| 154 | &:hover, |
---|
| 155 | &:focus { |
---|
| 156 | color: @theme-primary; |
---|
| 157 | } |
---|
| 158 | } |
---|
| 159 | } |
---|
| 160 | } |
---|
| 161 | } |
---|
| 162 | &.is-visible { |
---|
| 163 | /* if the user changes the scrolling direction, we show the header */ |
---|
| 164 | -webkit-transform: translate3d(0, 100%, 0); |
---|
| 165 | -moz-transform: translate3d(0, 100%, 0); |
---|
| 166 | -ms-transform: translate3d(0, 100%, 0); |
---|
| 167 | -o-transform: translate3d(0, 100%, 0); |
---|
| 168 | transform: translate3d(0, 100%, 0); |
---|
| 169 | } |
---|
| 170 | } |
---|
| 171 | } |
---|
| 172 | |
---|
| 173 | // Header |
---|
| 174 | |
---|
| 175 | .intro-header { |
---|
| 176 | background-color: @gray-light; |
---|
| 177 | background: no-repeat center center; |
---|
| 178 | background-attachment: scroll; |
---|
| 179 | .background-cover; |
---|
| 180 | // NOTE: Background images are set within the HTML using inline CSS! |
---|
| 181 | margin-bottom: 50px; |
---|
| 182 | .site-heading, |
---|
| 183 | .post-heading, |
---|
| 184 | .page-heading { |
---|
| 185 | padding: 100px 0 50px; |
---|
| 186 | color: white; |
---|
| 187 | @media only screen and (min-width: 768px) { |
---|
| 188 | padding: 150px 0; |
---|
| 189 | } |
---|
| 190 | } |
---|
| 191 | .site-heading, |
---|
| 192 | .page-heading { |
---|
| 193 | text-align: center; |
---|
| 194 | h1 { |
---|
| 195 | margin-top: 0; |
---|
| 196 | font-size: 50px; |
---|
| 197 | } |
---|
| 198 | .subheading { |
---|
| 199 | font-size: 24px; |
---|
| 200 | line-height: 1.1; |
---|
| 201 | display: block; |
---|
| 202 | .sans-serif-font; |
---|
| 203 | font-weight: 300; |
---|
| 204 | margin: 10px 0 0; |
---|
| 205 | } |
---|
| 206 | @media only screen and (min-width: 768px) { |
---|
| 207 | h1 { |
---|
| 208 | font-size: 80px; |
---|
| 209 | } |
---|
| 210 | } |
---|
| 211 | } |
---|
| 212 | .post-heading { |
---|
| 213 | h1 { |
---|
| 214 | font-size: 35px; |
---|
| 215 | } |
---|
| 216 | .subheading, |
---|
| 217 | .meta { |
---|
| 218 | line-height: 1.1; |
---|
| 219 | display: block; |
---|
| 220 | } |
---|
| 221 | .subheading { |
---|
| 222 | .sans-serif-font; |
---|
| 223 | font-size: 24px; |
---|
| 224 | margin: 10px 0 30px; |
---|
| 225 | font-weight: 600; |
---|
| 226 | } |
---|
| 227 | .meta { |
---|
| 228 | .serif-font; |
---|
| 229 | font-style: italic; |
---|
| 230 | font-weight: 300; |
---|
| 231 | font-size: 20px; |
---|
| 232 | a { |
---|
| 233 | color: white; |
---|
| 234 | } |
---|
| 235 | } |
---|
| 236 | @media only screen and (min-width: 768px) { |
---|
| 237 | h1 { |
---|
| 238 | font-size: 55px; |
---|
| 239 | } |
---|
| 240 | .subheading { |
---|
| 241 | font-size: 30px; |
---|
| 242 | } |
---|
| 243 | } |
---|
| 244 | } |
---|
| 245 | } |
---|
| 246 | |
---|
| 247 | // Post Preview Pages |
---|
| 248 | |
---|
| 249 | .post-preview { |
---|
| 250 | > a { |
---|
| 251 | color: @gray-dark; |
---|
| 252 | &:hover, |
---|
| 253 | &:focus { |
---|
| 254 | text-decoration: none; |
---|
| 255 | color: @theme-primary; |
---|
| 256 | } |
---|
| 257 | > .post-title { |
---|
| 258 | font-size: 30px; |
---|
| 259 | margin-top: 30px; |
---|
| 260 | margin-bottom: 10px; |
---|
| 261 | } |
---|
| 262 | > .post-subtitle { |
---|
| 263 | margin: 0; |
---|
| 264 | font-weight: 300; |
---|
| 265 | margin-bottom: 10px; |
---|
| 266 | } |
---|
| 267 | } |
---|
| 268 | > .post-meta { |
---|
| 269 | color: @gray-light; |
---|
| 270 | font-size: 18px; |
---|
| 271 | font-style: italic; |
---|
| 272 | margin-top: 0; |
---|
| 273 | > a { |
---|
| 274 | text-decoration: none; |
---|
| 275 | color: @gray-dark; |
---|
| 276 | &:hover, |
---|
| 277 | &:focus { |
---|
| 278 | color: @theme-primary; |
---|
| 279 | text-decoration: underline; |
---|
| 280 | } |
---|
| 281 | } |
---|
| 282 | } |
---|
| 283 | @media only screen and (min-width: 768px) { |
---|
| 284 | > a { |
---|
| 285 | > .post-title { |
---|
| 286 | font-size: 36px; |
---|
| 287 | } |
---|
| 288 | } |
---|
| 289 | } |
---|
| 290 | } |
---|
| 291 | |
---|
| 292 | // Sections |
---|
| 293 | |
---|
| 294 | .section-heading { |
---|
| 295 | font-size: 36px; |
---|
| 296 | margin-top: 60px; |
---|
| 297 | font-weight: 700; |
---|
| 298 | } |
---|
| 299 | |
---|
| 300 | .caption { |
---|
| 301 | text-align: center; |
---|
| 302 | font-size: 14px; |
---|
| 303 | padding: 10px; |
---|
| 304 | font-style: italic; |
---|
| 305 | margin: 0; |
---|
| 306 | display: block; |
---|
| 307 | border-bottom-right-radius: 5px; |
---|
| 308 | border-bottom-left-radius: 5px; |
---|
| 309 | } |
---|
| 310 | |
---|
| 311 | footer { |
---|
| 312 | padding: 50px 0 65px; |
---|
| 313 | .list-inline { |
---|
| 314 | margin: 0; |
---|
| 315 | padding: 0; |
---|
| 316 | } |
---|
| 317 | .copyright { |
---|
| 318 | font-size: 14px; |
---|
| 319 | text-align: center; |
---|
| 320 | margin-bottom: 0; |
---|
| 321 | } |
---|
| 322 | } |
---|
| 323 | |
---|
| 324 | // Contact Form Styles |
---|
| 325 | |
---|
| 326 | .floating-label-form-group { |
---|
| 327 | font-size: 14px; |
---|
| 328 | position: relative; |
---|
| 329 | margin-bottom: 0; |
---|
| 330 | padding-bottom: 0.5em; |
---|
| 331 | border-bottom: 1px solid @gray-lighter; |
---|
| 332 | input, |
---|
| 333 | textarea { |
---|
| 334 | z-index: 1; |
---|
| 335 | position: relative; |
---|
| 336 | padding-right: 0; |
---|
| 337 | padding-left: 0; |
---|
| 338 | border: none; |
---|
| 339 | border-radius: 0; |
---|
| 340 | font-size: 1.5em; |
---|
| 341 | background: none; |
---|
| 342 | box-shadow: none !important; |
---|
| 343 | resize: none; |
---|
| 344 | } |
---|
| 345 | label { |
---|
| 346 | display: block; |
---|
| 347 | z-index: 0; |
---|
| 348 | position: relative; |
---|
| 349 | top: 2em; |
---|
| 350 | margin: 0; |
---|
| 351 | font-size: 0.85em; |
---|
| 352 | line-height: 1.764705882em; |
---|
| 353 | vertical-align: middle; |
---|
| 354 | vertical-align: baseline; |
---|
| 355 | opacity: 0; |
---|
| 356 | -webkit-transition: top 0.3s ease,opacity 0.3s ease; |
---|
| 357 | -moz-transition: top 0.3s ease,opacity 0.3s ease; |
---|
| 358 | -ms-transition: top 0.3s ease,opacity 0.3s ease; |
---|
| 359 | transition: top 0.3s ease,opacity 0.3s ease; |
---|
| 360 | } |
---|
| 361 | &::not(:first-child) { |
---|
| 362 | padding-left: 14px; |
---|
| 363 | border-left: 1px solid @gray-lighter; |
---|
| 364 | } |
---|
| 365 | } |
---|
| 366 | |
---|
| 367 | .floating-label-form-group-with-value { |
---|
| 368 | label { |
---|
| 369 | top: 0; |
---|
| 370 | opacity: 1; |
---|
| 371 | } |
---|
| 372 | } |
---|
| 373 | |
---|
| 374 | .floating-label-form-group-with-focus { |
---|
| 375 | label { |
---|
| 376 | color: @theme-primary; |
---|
| 377 | } |
---|
| 378 | } |
---|
| 379 | |
---|
| 380 | form .row:first-child .floating-label-form-group { |
---|
| 381 | border-top: 1px solid @gray-lighter; |
---|
| 382 | } |
---|
| 383 | |
---|
| 384 | // Button Styles |
---|
| 385 | |
---|
| 386 | .btn { |
---|
| 387 | .sans-serif-font; |
---|
| 388 | text-transform: uppercase; |
---|
| 389 | font-size: 14px; |
---|
| 390 | font-weight: 800; |
---|
| 391 | letter-spacing: 1px; |
---|
| 392 | border-radius: 0; |
---|
| 393 | padding: 15px 25px; |
---|
| 394 | } |
---|
| 395 | |
---|
| 396 | .btn-lg { |
---|
| 397 | font-size: 16px; |
---|
| 398 | padding: 25px 35px; |
---|
| 399 | } |
---|
| 400 | |
---|
| 401 | .btn-default { |
---|
| 402 | &:hover, |
---|
| 403 | &:focus { |
---|
| 404 | background-color: @theme-primary; |
---|
| 405 | border: 1px solid @theme-primary; |
---|
| 406 | color: white; |
---|
| 407 | } |
---|
| 408 | } |
---|
| 409 | |
---|
| 410 | // Pager Styling |
---|
| 411 | |
---|
| 412 | .pager { |
---|
| 413 | |
---|
| 414 | margin: 20px 0 0; |
---|
| 415 | |
---|
| 416 | li { |
---|
| 417 | > a, |
---|
| 418 | > span { |
---|
| 419 | .sans-serif-font; |
---|
| 420 | text-transform: uppercase; |
---|
| 421 | font-size: 14px; |
---|
| 422 | font-weight: 800; |
---|
| 423 | letter-spacing: 1px; |
---|
| 424 | padding: 15px 25px; |
---|
| 425 | background-color: white; |
---|
| 426 | border-radius: 0; |
---|
| 427 | } |
---|
| 428 | |
---|
| 429 | > a:hover, |
---|
| 430 | > a:focus { |
---|
| 431 | color: white; |
---|
| 432 | background-color: @theme-primary; |
---|
| 433 | border: 1px solid @theme-primary; |
---|
| 434 | } |
---|
| 435 | } |
---|
| 436 | |
---|
| 437 | .disabled { |
---|
| 438 | > a, |
---|
| 439 | > a:hover, |
---|
| 440 | > a:focus, |
---|
| 441 | > span { |
---|
| 442 | color: @gray-light; |
---|
| 443 | background-color: @gray-dark; |
---|
| 444 | cursor: not-allowed; |
---|
| 445 | } |
---|
| 446 | } |
---|
| 447 | } |
---|
| 448 | |
---|
| 449 | // Highlight Color Customization |
---|
| 450 | |
---|
| 451 | ::-moz-selection { |
---|
| 452 | color: white; |
---|
| 453 | text-shadow: none; |
---|
| 454 | background: @theme-primary; |
---|
| 455 | } |
---|
| 456 | |
---|
| 457 | ::selection { |
---|
| 458 | color: white; |
---|
| 459 | text-shadow: none; |
---|
| 460 | background: @theme-primary; |
---|
| 461 | } |
---|
| 462 | |
---|
| 463 | img::selection { |
---|
| 464 | color: white; |
---|
| 465 | background: transparent; |
---|
| 466 | } |
---|
| 467 | |
---|
| 468 | img::-moz-selection { |
---|
| 469 | color: white; |
---|
| 470 | background: transparent; |
---|
| 471 | } |
---|
| 472 | |
---|
| 473 | body { |
---|
| 474 | -webkit-tap-highlight-color: @theme-primary; |
---|
| 475 | } |
---|