forked from Charuhas10/Etch-a-Sketch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
73 lines (65 loc) · 1.15 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
@import url("https://fonts.googleapis.com/css2?family=Bubblegum+Sans&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Bubblegum Sans", cursive;
}
body {
user-select: none;
font-family: "Bubblegum Sans", cursive;
background-image: radial-gradient(
circle,
#a0c49d,
#a7c7a1,
#aecba4,
#b4cea8,
#bbd2ac,
#c0d5b0,
#c6d9b3,
#cbdcb7,
#d1e0bb,
#d6e4bf,
#dce8c4,
#e1ecc8
);
}
.container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 2rem;
}
h1 {
font-size: 4rem;
}
.buttons {
display: flex;
flex-direction: row;
gap: 16px;
}
button {
font-size: 1rem;
padding: 5px;
border-radius: 5px;
border: none;
background-color: #fff;
cursor: pointer;
margin-top: 10px;
}
#grid-container {
display: grid;
margin: 2rem;
width: 512px;
height: 512px;
overflow: hidden;
}
.grid-item {
background-color: #fff;
border: 1px solid #ccc;
padding: 0;
margin: 0;
width: 100%; /* Make each grid item fill the available width */
height: 100%; /* Make each grid item fill the available height */
}