forked from ConciseCSS/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.pcss
73 lines (61 loc) · 1.15 KB
/
base.pcss
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
*,
::before,
::after {
background-repeat: no-repeat;
box-sizing: inherit;
}
::before,
::after {
text-decoration: inherit;
vertical-align: inherit;
}
:root {
box-sizing: border-box;
font-family: var(--font-primary);
line-height: 1.5;
background-color: var(--color-background-body);
color: var(--color-text-primary);
font-size: var(--font-size);
font-size: var(--font-size-large) ?if media (--small);
text-rendering: optimizeLegibility;
}
hr {
background-color: var(--color-base-lines);
height: 1px;
border: 0;
}
nav {
ol,
ul { padding-left: 0; }
li { list-style: none; }
}
small {
/* Use the next smaller size in the scale */
font-size: calc(100% / var(--scale-ratio));
}
::-moz-selection {
background-color: var(--color-base-selection);
text-shadow: none;
}
::selection {
background-color: var(--color-base-selection);
text-shadow: none;
}
a {
color: var(--color-base-primary);
text-decoration: none;
&:hover,
&:focus { text-decoration: underline; }
&:hover { outline-width: 0; }
}
a,
area,
button,
input,
label,
select,
textarea,
[tabindex] {
-ms-touch-action: manipulation;
touch-action: manipulation;
}