-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
82 lines (71 loc) · 1.25 KB
/
styles.css
File metadata and controls
82 lines (71 loc) · 1.25 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
/* General styles */
body {
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
height: 100vh;
font-family: Arial, sans-serif;
}
#Constraints {
display: flex;
flex-direction: column;
position: absolute;
top: 20px;
left: 20px;
}
#Constraints div {
margin: 10px 0;
}
/* Checkbox styles */
#Constraints input[type="checkbox"] {
margin-right: 10px;
}
/* Slider styles */
#sidebar {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
}
.slider {
width: 300px;
}
/* Canvas styles */
#drawingArea {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border: 1px solid #000;
}
/* Button styles */
#buttons {
display: flex;
flex-direction: column;
position: absolute;
top: 20px;
right: 20px;
}
#buttons button {
margin: 10px 0;
padding: 10px;
font-size: 16px;
cursor: pointer;
}
/* Responsive adjustments */
@media (max-width: 800px) {
#sidebar .slider {
width: 200px;
}
#buttons {
flex-direction: row;
bottom: 20px;
top: auto;
right: 50%;
transform: translateX(50%);
}
#buttons button {
margin: 0 10px;
}
}