-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
138 lines (118 loc) · 2.39 KB
/
style.css
File metadata and controls
138 lines (118 loc) · 2.39 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
126
127
128
129
130
131
132
133
134
135
136
137
138
body {
font-family: sans-serif;
background-color: #f0f2f5;
color: #333;
margin: 0;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
touch-action: manipulation;
}
h1 {
color: #005a9e;
}
span {
vertical-align: top;
}
#app-container {
display: flex;
flex-direction: column; /* Default to vertical layout */
align-items: center;
gap: 20px;
width: 100%;
max-width: 1600px;
}
#image-container {
width: 100%;
max-width: 1280px; /* Limit max image width */
}
#main-canvas {
width: 100%;
height: auto;
border: 2px solid #ccc;
background-color: #fff;
}
#controls-container {
width: 100%;
max-width: 600px; /* Limit control panel width on small screens */
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
display: flex;
flex-direction: column;
gap: 20px;
}
/* --- Responsive layout for wide screens --- */
@media (min-width: 992px) {
#app-container {
flex-direction: row; /* Switch to horizontal layout */
align-items: flex-start; /* Align items to the top */
justify-content: center;
}
#image-container {
flex: 3; /* Takes up more space */
width: auto;
}
#controls-container {
flex: 1; /* Takes up less space */
max-width: 320px;
position: sticky; /* Make it stick on scroll */
top: 20px;
}
}
.status-display {
display: flex;
justify-content: space-around;
text-align: center;
background-color: #f7f7f7;
padding: 10px;
border-radius: 6px;
}
.status-item h2 {
font-size: 1em;
margin: 0 0 5px 0;
color: #555;
}
.status-item p {
font-size: 1.5em;
margin: 0;
font-weight: bold;
color: #005a9e;
}
#count-result {
font-size: 2em; /* Make ⭕️/❌ bigger */
}
.control-item {
text-align: center;
}
.shortcut-info {
font-size: 0.8em;
color: #888;
margin-top: 5px;
}
button {
width: 80%;
padding: 12px 15px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
#count-button {
background-color: #007bff;
color: white;
}
#check-button {
background-color: #28a745;
color: white;
}
#next-button {
background-color: #17a2b8;
color: white;
}
button:disabled {
background-color: #a9d3ff;
cursor: not-allowed;
}