-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathstyles.css
76 lines (64 loc) · 1.33 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
:root {
--color-active: #a06ea0;
--color-primary: #e28cb1;
--color-background: #564f7d;
--color-background-light : rgba(255, 255, 255, 0.1);
--color-primary-light: #d7d6da;
--color-white: #fff;
}
body {
font-size: 1.5em;
background-color: var(--color-background);
font-family: 'Poppins', sans-serif;
color: var(--color-primary-light);
text-align: center;
}
.repo-link a {
color: var(--color-primary-light)
}
button {
appearance: none;
border: solid 2px var(--color-active);
background-color: var(--color-primary);
color: var(--color-white);
padding: 2rem 1rem;
border-radius: 4px;
text-transform: uppercase;
cursor: pointer;
font-size: 1.3ch;
}
@media screen and (min-width: 640px) {
button {
padding: 2rem 4rem;
}
}
button:disabled {
background-color: var(--color-background);
color: var(--color-background-light);
border: none;
}
button:hover:not(:disabled),
button:focus {
background-color: var(--color-active);
}
.elements {
counter-reset: the-counter;
}
.element {
counter-increment: the-counter;
margin: 1.5rem 3rem;
background-color: var(--color-background-light);
padding: 1.5rem 3.5rem;
word-break: break-word;
}
.element::before {
content: counter(the-counter);
font-weight: bold;
font-size: 5.5rem;
}
.element h2 {
margin-top: 0;
}
ol > li {
text-align: start;
}