-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.css
58 lines (50 loc) · 966 Bytes
/
global.css
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
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Arial, sans-serif;
font-size: 1rem;
line-height: 1.5;
padding: 0 24px;
margin: 0;
}
:focus {
outline-color: red;
}
:focus-visible {
outline-offset: 4px;
outline-color: blue;
}
@supports (container-type: inline-size) {
#main-title {
&::after {
content: " - Yay! Your browser supports container queries!";
color: green;
}
}
}
@supports not (container-type: inline-size) {
#main-title {
&::after {
content: " - Aww... Your browser doesn't support container queries. :(";
color: red;
}
}
}
.grid {
display: grid;
grid-template-columns: 1fr;
gap: 24px;
}
@media only screen and (min-width: 953px) {
.grid--columns-75perc-25perc {
grid-template-columns: 3fr 1fr;
}
}