-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
125 lines (109 loc) · 1.98 KB
/
main.css
File metadata and controls
125 lines (109 loc) · 1.98 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
body {
font-family: 'Assistant', sans-serif;
background-color: #f4f4f9;
margin: 0;
padding: 0;
color: #333;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
width: 100%;
max-width: 900px;
background: white;
padding: 30px;
border: 1px solid #ddd;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
h1 {
text-align: center;
color: #2c3e50;
}
/* Layout for controls and canvas */
.top-section {
display: flex;
gap: 20px;
margin-bottom: 20px;
}
.controls {
flex: 1.5;
padding: 20px;
background-color: #f8fafc;
border-radius: 8px;
display: flex;
flex-direction: column;
}
.results {
flex: 1;
display: grid;
grid-template-columns: 1fr;
gap: 10px;
}
.input-group {
margin-bottom: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
label {
font-weight: bold;
}
input[type="range"] {
width: 50%;
}
span.value-display {
font-family: monospace;
color: #007bff;
width: 70px;
text-align: right;
}
button {
width: 100%;
padding: 14px;
background-color: #28a745;
color: white;
border: none;
border-radius: 6px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
margin-top: auto;
}
button:hover {
background-color: #218838;
}
button:disabled {
background-color: #ccc;
cursor: not-allowed;
}
/* The drawing area */
canvas {
border: 2px solid #333;
background-color: #fff;
width: 100%;
display: block;
}
.stat-box {
background: #f8f9fa;
border: 1px solid #ddd;
padding: 10px;
text-align: center;
border-radius: 5px;
display: flex;
flex-direction: column;
justify-content: center;
}
.stat-label {
font-size: 0.85em;
color: #666;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.stat-value {
font-size: 1.1em;
font-weight: bold;
color: #2c3e50;
}