/* Basic */ // Set box model to border-box. // Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; } body { background-color: _palette(bg); background-image: linear-gradient(rgba(25, 45, 60, 0.7), rgba(25, 45, 60, 0.7)), url('../images/bg-1.jpg'); background-repeat: no-repeat, no-repeat; background-size: cover, cover; background-position: center 0, center 0; background-attachment: fixed, fixed; font-family: 'Source Sans Pro', sans-serif; font-size: 18pt; line-height: 1.75em; font-weight: 300; letter-spacing: 1px; color: _palette(fg); text-shadow: 0 0 0.5px rgba(58, 57, 57, 0.25); -webkit-text-stroke: 0.25px; &.is-scroll { background-attachment: scroll, scroll; background-size: auto, 100% auto; } // Stops initial animations until page loads. &.is-preload { *, *:before, *:after { @include vendor('animation', 'none !important'); @include vendor('transition', 'none !important'); } } } input, textarea, select { font-family: 'Source Sans Pro', sans-serif; font-size: 18pt; line-height: 1.75em; font-weight: 300; letter-spacing: 1px; color: _palette(bg); text-shadow: 0 0 0.5px rgba(58, 57, 57, 0.25); -webkit-text-stroke: 0.25px; } h1, h2, h3, h4, h5, h6 { font-weight: 400; text-transform: uppercase; line-height: 1.75em; } h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; text-decoration: none; } h2 { font-size: 1.25em; letter-spacing: 8px; } h3 { font-size: 1em; letter-spacing: 5px; } strong, b { font-weight: 400; } em, i { font-style: italic; } a { @include vendor('transition', ('border-color 0.35s ease-in-out', 'color 0.35s ease-in-out')); color: _palette(accent-light); text-shadow: 0 0 0.5px _palette(accent); text-decoration: none; border-bottom: dotted 1px _palette(accent-light); &:hover { border-bottom-color: _palette(accent); } } sub { position: relative; top: 0.5em; font-size: 0.8em; } sup { position: relative; top: -0.5em; font-size: 0.8em; } hr { border: 0; border-top: solid 1px _palette(border); margin: 2em 0 2em 0; } blockquote { border-left: solid 0.5em _palette(border); padding: 1em 0 1em 2em; font-style: italic; } p, ul, ol, dl, table { margin-bottom: 1em; } header { margin-bottom: 1em; p { display: block; margin: 0.5em 0 0 0; padding: 0 0 1.5em 0; } } footer { margin-top: 1em; } br.clear { clear: both; }