-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
82 lines (73 loc) · 1.5 KB
/
style.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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
display: flex;
}
.main_header {
display: flex;
justify-content: start ;
flex-direction: column;
gap: 50px;
border-radius: 15px;
padding: 10px;
color: rgb(92, 7, 7);
font-weight: 900;
font-size: 30px;
font-family:'Rubik Doodle Shadow', system-ui,'sans-serif';
}
.container {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#grid {
width: 800px;
height: 800px;
border: 3px solid black;
background: #eee;
display: flex;
flex-wrap: wrap;
margin: 20px;
}
#grid > * {
outline: 1px solid black;
flex: auto;
}
.buttons {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
}
.buttons div:nth-child(1) {
color: black;
font-size: 2rem;
}
button {
width: fit-content;
padding: 10px 30px;
border-radius: 30px;
cursor: pointer;
font-size: 20px;
border: none;
background: rgb(92, 7, 7);
color: #fff;
}
#clear {
padding: 10px 20px;
}
button:hover {
border: 1px solid black;
}
#rainbow:hover {
background-image: repeating-linear-gradient(to right, #E70000 0px, #E70000 16.66666%, #FF8C00 16.666666%, #FF8C00 33.333333%, #FFEF00 33.3333333%, #FFEF00 50%, #00811F 50%, #00811F 66.6666666%, #0044FF 66.666666%, #0044FF 83.3333333333%, #760089 83.333333px,#760089 100%)
}
label {
font-size: 22px;
color: darkred;
}