-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
213 lines (185 loc) · 4.49 KB
/
style.css
File metadata and controls
213 lines (185 loc) · 4.49 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
:root {
--primary: #121212;
--secondary: #1e1e1e;
--primary-accent: #e0e0e0;
--secondary-accent: #999999;
--accent-purple: #6200ea;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Roboto Mono", monospace;
}
body, html {
height: 100%;
width: 100%;
background-color: var(--secondary); /* Set background to match container */
color: var(--primary-accent);
overflow: hidden;
display: flex;
justify-content: center;
align-items: center; /* Vertically center */
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 25px;
margin: 5vmin auto;
padding: 5vmin;
max-width: 1000px; /* Increased width */
max-height: 90vh; /* Increased height */
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.25);
border-radius: 15px;
background-color: var(--secondary);
position: relative;
overflow: hidden; /* Keep content inside the container */
width: 100%; /* Dynamic resizing */
height: auto; /* Dynamic resizing */
box-sizing: border-box; /* Keep padding and margin inside */
}
h1.title {
font-size: 45px; /* Larger font size */
font-weight: 400;
color: var(--primary-accent);
text-align: center;
margin-bottom: 30px;
font-family: "Roboto Mono", monospace; /* Roboto Mono for title */
}
.row {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 20px;
width: 100%;
}
.card-images {
display: flex;
gap: 10px;
justify-content: center;
flex-wrap: wrap; /* Allow for wrapping of card images if the container is smaller */
}
img {
max-width: 100%;
border-radius: 8px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
max-height: 200px; /* Limit image height */
object-fit: contain;
}
input[type="text"] {
background-color: #333;
color: var(--primary-accent);
border: 1px solid #444;
border-radius: 10px;
padding: 10px;
width: 100%;
margin-bottom: 15px;
font-size: 16px;
}
input[type="text"]:focus {
outline: none;
border-color: var(--accent-purple);
box-shadow: 0 0 8px var(--accent-purple);
}
button, input[type="button"] {
background-color: var(--accent-purple);
color: var(--primary-accent);
border: none;
padding: 12px 20px;
font-size: 16px;
cursor: pointer;
border-radius: 8px;
transition: background-color 0.3s ease;
margin-top: 10px;
}
button:hover, input[type="button"]:hover {
background-color: #3700b3;
}
button:focus, input[type="button"]:focus {
outline: none;
box-shadow: 0 0 8px var(--accent-purple);
}
form.well {
background-color: var(--secondary);
padding: 20px;
border-radius: 15px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
width: 100%;
display: flex;
gap: 15px;
flex-wrap: wrap; /* Allow form items to wrap if needed */
}
#curcount {
font-size: 30px;
color: var(--primary-accent);
font-weight: bold;
display: inline-block;
margin-left: 10px;
}
#info {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 20px;
width: 100%;
}
.button-container {
display: flex;
justify-content: space-between; /* Distribute space evenly */
width: 100%;
align-items: center; /* Vertically align button and current-turn */
}
#current-turn {
font-size: 20px;
color: var(--primary-accent);
font-weight: bold;
text-align: center;
margin-left: 10px; /* Add some spacing between button and current turn text */
flex-grow: 1; /* Make this element take remaining space */
display: flex;
justify-content: center; /* Center the text within the available space */
}
button.show-count-btn {
margin-left: 10px;
}
input[type="button"]:disabled {
cursor: not-allowed;
background-color: #999;
}
footer {
margin-top: 20px;
text-align: center;
font-size: 14px;
color: var(--primary-accent);
}
footer a {
text-decoration: underline;
color: var(--primary-accent);
}
footer a:hover {
color: var(--accent-purple);
}
@media screen and (max-width: 600px) {
.container {
padding: 4vmin;
gap: 20px;
}
h1.title {
font-size: 32px;
}
input[type="text"], button, input[type="button"] {
font-size: 14px;
}
.card-images {
flex-direction: column;
gap: 15px;
}
img {
max-width: 90%;
}
}