-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
123 lines (106 loc) · 1.49 KB
/
styles.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
/*************/
/* Variables */
/*************/
:root {
/* Colors */
--black: #000000;
--white: #ffffff;
--gray-100: #aaaaaa;
/* Fonts */
--main-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
/**********/
/* Resets */
/**********/
/* https://www.joshwcomeau.com/css/custom-css-reset/ */
*,
*::before,
*::after {
box-sizing: border-box;
}
* {
margin: 0;
}
html,
body {
height: 100%;
font-family: var(--main-font);
background-color: var(--black);
color: var(--white);
}
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
}
ul,
li {
list-style-type: none;
margin: 0;
padding: 0;
}
input,
button,
textarea,
select {
font: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: inherit;
overflow-wrap: break-word;
}
/* Container */
.container {
padding: 2.5rem;
}
@media only screen and (min-width: 480px) {
.container {
padding: 5rem;
}
}
/* Section */
.section {
max-width: 30rem;
font-size: 1.125rem;
line-height: 1.3333;
}
/* H1 */
.section h1 {
font-size: 2rem;
font-weight: 700;
letter-spacing: -0.0625rem;
}
/* H2 */
.section h2 {
font-size: 1.25rem;
font-weight: 700;
margin-top: 2rem;
}
/* H3 */
.section h3 {
font-weight: 700;
color: var(--white);
}
/* P */
.section p {
color: var(--gray-100);
margin-top: 1rem;
}
/* A */
.section a {
color: var(--white);
}
/* Small */
.section small {
font-size: 1rem;
}