-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
128 lines (116 loc) · 2.06 KB
/
style.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
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
122
123
124
125
126
127
128
/* @link https://utopia.fyi/type/calculator?c=320,16,1.333,1240,18,1.5,2,1,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */
/* Thanks to Josh Comeau for the updated CSS Reset https://www.joshwcomeau.com/css/custom-css-reset/ */
:root {
--step--1: clamp(0.75rem, 0.7503rem + -0.0003vw, 0.7502rem);
--step-0: clamp(1rem, 0.9565rem + 0.2174vw, 1.125rem);
--step-1: clamp(1.333rem, 1.2097rem + 0.6165vw, 1.6875rem);
--step-2: clamp(1.7769rem, 1.5145rem + 1.3119vw, 2.5313rem);
--creme: oklch(90% 0.01 90);
--limegreen: oklch(80% 0.15 128);
--midgreen: oklch(64% 0.14 157);
--darkgreen: oklch(24% 0.03 180);
--blackgreen: oklch(18% 0.01 180);
--darkgrey: oklch(18% 0 180);
}
/*
1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
box-sizing: border-box;
}
/*
2. Remove default margin
*/
* {
margin: 0;
}
/*
Typographic tweaks!
3. Add accessible line-height
4. Improve text rendering
*/
body {
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
/*
5. Improve media defaults
*/
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
}
/*
6. Remove built-in form typography styles
*/
input,
button,
textarea,
select {
font: inherit;
}
/*
7. Avoid text overflows
*/
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
}
/*
8. Create a root stacking context
*/
#root,
#__next {
isolation: isolate;
}
/*
End Reset
*/
body {
font-family: "rubik", sans-serif;
font-size: var(--step-0);
color: var(--creme);
}
h1 {
font-weight: 700;
letter-spacing: 4px;
text-transform: uppercase;
font-size: var(--step-2);
text-align: center;
}
a {
color: var(--creme);
text-decoration: none;
}
.logo {
width: 200px;
height: 200px;
}
.footer {
font-size: var(--step--1);
opacity: 0.25;
text-align: center;
padding-top: 3em;
padding-bottom: 3em;
margin-bottom: -1.5em;
transition: opacity 1s ease-in-out;
}
.footer a {
color: currentColor;
}
.footer:hover,
.footer:active,
.footer:focus {
opacity: 0.75;
}