-
Notifications
You must be signed in to change notification settings - Fork 1
/
utils.css
66 lines (57 loc) · 986 Bytes
/
utils.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
.container {
margin: 0 12%;
overflow: hidden;
}
/* boxes */
.flex {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
.grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 2.5em;
justify-content: center;
align-items: center;
height: 100%;
}
.grid-3 {
grid-template-columns: repeat(3, 1fr);
}
/* card */
.card {
background-color: #fff;
color: #333;
border-radius: 1em;
padding: 0.8em;
margin: 1em;
}
/* Button-stuff */
.btn {
display: inline-block;
padding: 10px 30px;
cursor: pointer;
background: var(--primary-color);
color: var(--light-color);
border: none;
border-radius: 5px;
transition: 0.6s;
font-size: 1em;
}
.btn:hover {
background-color: var(--light-color);
color: var(--primary-color);
transform: scale(1.03);
}
/* Text colors */
.text-primary {
color: var(--primary-color);
}
.text-dark {
color: var(--dark-color);
}
.text-light {
color: var(--light-color);
}