| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- // ==========================================================================
- // RESET
- // ==========================================================================
- @use '../abstracts/variables' as v;
- @use 'sass:map';
- @use 'sass:color';
- // Box sizing, margins, and padding
- *, *::before, *::after {
- box-sizing: border-box;
- margin: 0;
- padding: 0;
- }
- // HTML and body
- html {
- font-size: 16px;
- -webkit-text-size-adjust: 100%;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
- scroll-behavior: smooth;
- }
- body {
- margin: 0;
- font-family: v.$font-family-sans;
- font-size: map.get(v.$font-sizes, 'base');
- font-weight: map.get(v.$font-weights, 'regular');
- line-height: 1.6;
- color: v.$dark-gray;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- overflow-x: hidden;
- }
- // Links
- a {
- color: v.$primary;
- text-decoration: none;
- background-color: transparent;
- transition: v.$transition-base;
-
- &:hover {
- color: color.scale(v.$primary, $lightness: -15%);
- text-decoration: none;
- }
- }
- // Images
- img, svg {
- vertical-align: middle;
- max-width: 100%;
- height: auto;
- }
- // Lists
- ul, ol {
- list-style: none;
- padding: 0;
- margin: 0;
- }
- // Form elements
- button, input, optgroup, select, textarea {
- font-family: inherit;
- font-size: inherit;
- line-height: inherit;
- margin: 0;
- }
- button, input {
- overflow: visible;
- }
- button, select {
- text-transform: none;
- }
- // Buttons
- button,
- [type="button"],
- [type="reset"],
- [type="submit"] {
- cursor: pointer;
- }
- // Tables
- table {
- border-collapse: collapse;
- width: 100%;
- }
- // Focus outline
- :focus {
- outline: 0;
- }
- // Remove Chrome's autofill background
- input:-webkit-autofill,
- input:-webkit-autofill:hover,
- input:-webkit-autofill:focus,
- input:-webkit-autofill:active {
- transition: background-color 5000s ease-in-out 0s;
- }
- // Clearfix
- .clearfix::after {
- content: "";
- display: table;
- clear: both;
- }
|