-
Notifications
You must be signed in to change notification settings - Fork 11
/
base.css
113 lines (94 loc) · 1.63 KB
/
base.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
*,
*::before,
*::after {
box-sizing: border-box;
}
:root {
--clr-dark: #070a12;
--clr-light: #f1f5f9;
--clr-accent: #e11d48;
--clr-lightRose: #fb7185;
--clr-green: #4ade80;
--clr-sky: #38bdf8;
--clr-pink: #f472b6;
--clr-violet: #a78bfa;
--clr-yellow: #facc15;
}
body {
margin: 0;
padding: 0;
line-height: 1.6;
word-spacing: 1.4px;
font-family: 'Roboto', sans-serif;
background-color: var(--clr-light);
color: var(--clr-dark);
}
.sticky {
width: 100px;
height: 100px;
background-color: var(--clr-lightRose);
position: fixed;
bottom: 0px;
}
h1 {
font-size: 3rem;
}
section {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
display: grid;
grid-template-rows: repeat(3, 150px);
grid-template-columns: repeat(4, 150px);
grid-gap: 1em;
}
.item {
width: 150px;
height: 150px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 10px;
color: var(--clr-light);
font-weight: 700;
font-size: 1.25rem;
}
.item-1 {
background-color: var(--clr-lightRose);
}
.item-2 {
background-color: var(--clr-sky);
}
.item-3 {
background-color: var(--clr-yellow);
}
.item-4 {
background-color: var(--clr-green);
}
.item-5 {
background-color: var(--clr-violet);
}
.item-6 {
background-color: var(--clr-pink);
}
.item-7 {
background-color: var(--clr-lightRose);
}
.item-8 {
background-color: var(--clr-sky);
}
.item-9 {
background-color: var(--clr-green);
}
.item-10 {
background-color: var(--clr-yellow);
}
.item-11 {
background-color: var(--clr-violet);
}
.item-12 {
background-color: var(--clr-pink);
}