-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
110 lines (94 loc) · 2.05 KB
/
style.css
File metadata and controls
110 lines (94 loc) · 2.05 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
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
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');
body {
box-sizing: border-box;
background-color: #c3e0de;
color: rgba(0, 0, 0, 0.8);
font-family: 'Roboto', sans-serif;
}
input[type="text"], input[type="number"] {
width: 100%;
font-size: 1rem;
padding: 4px;
margin: 10px 0;
}
button {
padding: 8px 10px;
margin-top: 10px;
border: none;
border-radius: 8px;
cursor: pointer;
transition: all 0.15s ease-in-out;
}
button:hover {
box-shadow: 2px 2px rgb(204, 203, 217);
transform: translateY(-2px);
}
button:active {
transform: translateY(2px);
}
.button-toggled-on {
background-color: rgba(140, 163, 194, 0.8);
}
.main-title {
text-align: center;
margin: 2rem;
font-size: 48px;
font-weight: 900;
color: rgba(9, 9, 9, 0.8);
}
#main-container {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.user-controls {
font-size: larger;
display: flex;
flex-direction: column;
gap: 1rem;
border-radius: 10px;
background-color: rgba(204, 203, 217, 0.5);
padding: 2rem 3rem 2rem 2rem;
}
.user-controls span {
display: block;
margin-bottom: 5px;
font-weight: 700;
}
.user-controls:hover {
background-color: rgba(162, 162, 168, 0.2);
}
.sketch-container {
width: 580px;
aspect-ratio: 1/1;
margin: 2rem;
border: 2rem solid rgba(204, 203, 217, 0.5);
border-radius: 10px;
display: flex;
justify-content: flex-start;
flex-direction: column;
gap: 0;
user-select: none;
-webkit-user-drag: none;
background-color: rgb(255, 255, 255);
box-shadow: 2px 2px 2px 2px rgba(204, 203, 217, 0.5);
}
.sketch-container:hover {
border-color: rgba(162, 162, 168, 0.2);
}
.sketch-row {
width: 100%;
flex: 1 1 calc(100% / 16);
display: flex;
justify-content: row;
}
.sketch-pixel {
height: 100%;
flex: 1 1 calc(100% / 16);
background-color: rgb(255, 255, 255);
}
.footer {
text-align: center;
margin: 2rem;
}