// NORMALIZE ::-moz-selection { text-shadow: none; } ::selection { text-shadow: none; } html { font-family: sans-serif; font-size: 125%; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } html, body { overflow: scroll; overflow-x: hidden; } a, a:hover, button, input, textarea, .uk-button { transition: color .25s ease, border-color .25s ease, background-color .25s ease, opacity .25s ease; } a:hover, a:active, a:focus { outline: none; } a:hover { text-decoration: none; } :focus { outline: none; } img { max-width: 100%; height: auto; } input:not([type="button"]), input:not([type="submit"]), textarea { -webkit-box-shadow: none; -webkit-appearance: none; box-shadow: none; border-radius: 0; display: block; outline: 0; width: 100%; } button, input[type="button"], input[type="submit"] { -webkit-box-shadow: none; box-shadow: none; cursor: pointer; line-height: 1; outline: none; } table { width: 100%; } // HELP .not { &-scroll { overflow: hidden; &-x { overflow: scroll; overflow-x: hidden; } &-y { overflow: scroll; overflow-y: hidden; } } } .fh { height: 100vh; } .fw { width: 100vw; } .hide { display: none; } .clear, p { &:before, &:after { content: ""; display: table; table-layout: fixed; } &:after { clear: both; } } .view-fadein { -webkit-transform: translateY(30px); -ms-transform: translateY(30px); transform: translateY(30px); opacity: 0; &.in-view { -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); opacity: 1; -webkit-transition: -webkit-transform 1s, opacity 1.5s; transition: transform 1s,opacity 1.5s; } } // RESET .reset { &-space { margin: 0; padding: 0; } &-list { list-style: none; margin: 0; padding: 0; } &-title { font-weight: normal; line-height: 1; margin: 0; padding: 0; text-transform: none; } &-text { font-style: normal; font-weight: normal; letter-spacing: normal; line-height: 1; margin: 0; padding: 0; text-transform: none; } &-link { text-decoration: none; a, &:hover, a:hover { text-decoration: none; } } &-scrollable { border: none; resize: none; } &-button, &-button:hover, &-button:active { background: none; border: none; height: auto; margin: 0; padding: 0; width: auto; } &-box-shadow { box-shadow: none; } &-border-radius { border-radius: 0; } } // POSITION .position { &-top, &-bottom, &-middle, &-start, &-end, &-center { box-sizing: border-box; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-flex: 0; -ms-flex: 0 1 auto; flex: 0 1 auto; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -ms-flex-wrap: wrap; flex-wrap: wrap; } &-top { -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; } &-middle { -webkit-box-align: center; -ms-flex-align: center; align-items: center; } &-bottom { -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; } &-start { -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; text-align: start; } &-center { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; text-align: center; } &-end { -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; text-align: end; } } // UK ELEMENT .uk-dropdown { box-shadow: none; } .uk-button-link { &:hover { text-decoration: none; } } // SuperFish .sf { &-menu { margin: 0; padding: 0; list-style: none; li { position: relative; &:hover { > ul { display: block; } } } ul { position: absolute; display: none; top: 100%; left: 0; z-index: 99; ul { top: 0; left: 100%; } } a { display: block; position: relative; } } } // WP DEFAULT /* Text meant only for screen readers. */ .screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */ &:focus { border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; clip-path: none; color: #000; display: block; font-size: 0.875rem; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar. */ } } * + .gallery { margin-top: rem(30); } .gallery { display: flex; flex-wrap: wrap; margin: rem(-15) 0 0 rem(-15); padding: 0; list-style: none; &-item { box-sizing: border-box; max-width: 100%; margin: rem(15) 0 0; padding-left: rem(15); width: 100%; text-align: center; @for $i from 2 through 9 { .gallery-columns-#{$i} & { width: calc(100% / #{ $i }); } } } &-caption { display: block; line-height: 1.2; margin-top: rem(15); a { color: $body-dark-text-color; &:hover { color: $body-dark-text-color; opacity: 0.9; } } } } .sticky, .bypostauthor { font-style: inherit; } .entry-content, .comment-content { .align { &left { float: left; max-width: calc(5 * (100vw / 12)); margin-top: 0; margin-left: 0; margin-right: rem(30); } ¢er { margin-left: auto; margin-right: auto; max-width: 100%; } &right { float: right; max-width: calc(5 * (100vw / 12)); margin-top: 0; margin-left: rem(30); margin-right: 0; } &full { position: relative; left: -1rem; width: calc( 100% + (2 * 1rem)); max-width: calc( 100% + (2 * 1rem)); clear: both; } @include media-query($small-down) { &left { display: block; float: none; max-width: 100%; margin: 0 auto rem(20) 0; } &right { display: block; float: none; max-width: 100%; margin: 0 0 rem(20) auto; } } } }