/* Table of Contents ================================================== # Reset # Color # Style # Components */ /* # Reset ================================================== */ body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, legend, label, p, blockquote, th, td { margin: 0; padding: 0; } table { border-collapse: collapse; border-spacing: 0; } address, caption, cite, code, dfn, th, var { font-style: normal; font-weight: normal; } h1, h2, h3, h4, h5, h6 { font-size: 100%; font-style: normal; font-weight: normal; } abbr, acronym { border-bottom: 1px dotted inherit; font-variant: normal; } caption, th { text-align: left; } fieldset, img { border: 0; } sup, sub { line-height: 1; } sup { vertical-align: text-top; } sub { vertical-align: text-bottom; } q:before, q:after { content: ''; } button, input, textarea, select { font-family: inherit; font-size: inherit; *font-size: 100%; font-weight: inherit; } html { background: $color-white; } html, body { color: $color-dark-black; font-family: $typography-sans-serif; font-size: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-smooth: always; font-weight: normal; height: 100%; @include overflow-scrolling(touch); @include tap-highlight-color($color-transparent); text-rendering: optimizeLegibility; @include text-size-adjust(100%); width: 100%; } ::-moz-selection { background: $color-primary; color: $color-white; } ::selection { background: $color-primary; color: $color-white; } /* # Color ================================================== */ .html-dark, .html-dark body { background: $color-black; color: $color-white; } .html-light { background: lighten($color-light-haze, 2%); } /* # Style ================================================== */ .html-fixed, .body-fixed { overflow: hidden; } /* # Components ================================================== */ .html-scrollbar { ::-webkit-scrollbar { background: $color-transparent; border-radius: 500px; width: 8px; } ::-webkit-scrollbar:hover { background: rgba(0,0,0,0.15); } ::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.5); border-radius: 500px; } ::-webkit-scrollbar-thumb:active { background: rgba(0,0,0,0.6); border-radius: 500px; } }