-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
76 lines (76 loc) · 1.27 KB
/
styles.css
File metadata and controls
76 lines (76 loc) · 1.27 KB
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
body{
margin: 0;
width: 100vw;
height: 100vh;
background: url("https://t4.ftcdn.net/jpg/05/94/30/83/360_F_594308303_U3dFns8dItGAPtWF5GuYdO8GkoGyHCST.jpg");
background-size: cover;
}
.container {
display: flex;
justify-content: center;
flex-wrap: wrap;
align-items: center;
width: 100vw;
height: 100%;
}
.inputs{
width: 100vw;
display: flex;
position: absolute;
justify-content: center;
padding: 2vh 0;
z-index: 3;
}
input,button{
padding: 10px 20px;
}
#grid-container{
display: flex;
border: 1px solid white;
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0);
}
.grid-pixel{
width: 1.3vh;
height: 1.3vh;
background: rgba(0, 0, 0, 0);
}
.grid-pixel:hover{
background: red;
}
.grid-row{
display: flex;
flex-direction: column-reverse;
}
.colors{
display: grid;
grid-template-columns: 2fr 2fr;
grid-auto-rows: 5vh;
position: absolute;
width: 100px;
height: 50vh;
margin-left: 10vw;
margin-top: 4vh;
cursor: pointer;
}
#red{
background: red;
}
#blue{
background: blue;
}
#green{
background: green;
}
#yellow{
background: yellow;
}
#purple{
background: purple;
}
#black{
background: black;
}
#white{
background: white;
}