-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path_base.scss
121 lines (100 loc) · 1.8 KB
/
_base.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
// BASICS: BASE (resets and other stuff)
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Based on https://github.com/sindresorhus/modern-normalize v.1.0
@use "../00_setup/default-variables" as *;
// For AlpineJS =======================
[x-cloak] {
display: none !important;
}
// ====================================
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
min-height: 100%;
scroll-behavior: smooth;
margin: 0;
font-family: var(--font-base);
font-size: var(--t-fs);
line-height: var(--t-base-lh);
-webkit-font-smoothing: antialiased;
font-feature-settings: "liga" on;
font-kerning: normal;
text-rendering: optimizeLegibility;
color: var(--c-text);
background-color: var(--c-page-bg);
}
*:root {
-moz-tab-size: 4;
tab-size: 4;
}
abbr[title] {
text-decoration: underline dotted;
text-underline-offset: 2px;
}
b,
strong {
font-weight: var(--t-bold);
}
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
:-moz-ui-invalid {
box-shadow: none;
}
input:focus,
form button:focus,
:focus-visible {
// https://a11y-style-guide.com/style-guide/section-general.html#kssref-general-link-focus
outline: auto 2px Highlight;
outline: auto 5px -webkit-focus-ring-color;
}
small {
font-size: 85%;
}
::selection {
background-color: var(--c-selection);
}
img {
max-width: 100%;
}
figure {
padding: 0;
margin: 0;
}
audio,
canvas,
progress,
video {
display: block;
width: 100%;
}
iframe {
border: 0;
}
[type="number"] {
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
height: auto;
}
}
[type="search"] {
-webkit-appearance: textfield;
appearance: textfield;
::-webkit-search-decoration {
-webkit-appearance: none;
appearance: none;
}
}