-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
307 lines (263 loc) · 4.96 KB
/
styles.css
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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
body,
html {
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
"Lucida Sans", Arial, sans-serif;
height: 100%;
margin: 0;
padding: 0;
background-color: #f5f5f5;
box-sizing: border-box;
}
.container {
display: grid;
grid-template-columns: repeat(5, 1fr); /* Five equal columns */
grid-template-rows: repeat(2, 1fr); /* Two equal rows */
gap: 5px; /* Small gap between items */
padding: 10px;
min-height: 100vh; /* Full viewport height */
box-sizing: border-box;
}
.box {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border: 2px solid #000;
border-radius: 10px;
padding: 10px;
background-color: #e0e0e0;
box-sizing: border-box;
width: 100%;
height: 100%; /* Stretch to fill the available height */
overflow: hidden;
}
.size-4 {
height: 100%; /* Allow the element to naturally stretch */
}
.span-two-rows {
grid-row: span 2;
}
.span-two-cols {
grid-column: span 3;
grid-row: span 2;
}
button {
background-color: black;
color: white;
border: solid black;
border-radius: 5px;
padding: 2px;
width: 30%;
}
input {
border: solid black 1px;
border-radius: 5px;
padding: 3px;
}
/* Calendar */
.today {
font-weight: bolder;
color: black;
font-size: 1.3em;
}
.calendar {
display: flex;
flex-direction: column;
width: 100%;
padding: 15px;
}
.calendar-controls {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
}
.days-of-week {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 5px;
margin-bottom: 5px;
}
.days-of-week span {
border-radius: 5px;
text-align: center;
padding: 5px;
background-color: black;
border: 1px solid black;
color: white;
}
.calendar-days {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 5px;
}
.calendar-days span {
padding: 5px;
background-color: #fff;
border: 0.5px solid black;
border-radius: 5px;
}
/* Checklist */
.checklist {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
overflow: hidden;
}
.checklist-content {
flex: 1;
overflow-y: auto;
overflow-x: auto;
padding-right: 10px;
}
.checklist input[type="text"] {
width: calc(100% - 22px);
margin-bottom: 10px;
}
.checklist ul {
list-style-type: none;
padding: 0;
margin: 0;
width: 100%;
}
.checklist li {
margin-bottom: 10px;
display: flex;
align-items: center;
}
.checklist .delete-btn {
background: none;
border: none;
color: black;
font-weight: bolder;
cursor: pointer;
margin-left: 10px;
}
textarea {
width: 100%;
height: 37vw;
margin-bottom: 10px;
padding: 5px;
box-sizing: border-box;
border: solid black 1px;
border-radius: 5px;
}
/* Eisenhower Matrix */
.eisenhower-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 5px;
height: 100%;
overflow: hidden;
}
.matrix-box {
background-color: #f0f0f0;
border: 2px solid #ccc;
text-align: left;
display: flex;
flex-direction: column;
border-radius: 7px;
}
.matrix-box h3 {
text-align: center;
margin-top: 1em;
}
.matrix-box-content {
flex: 1;
overflow-y: auto;
overflow-x: auto;
padding: 10px;
width: 13vw;
}
.delete-btn {
background: none;
border: none;
color: black;
font-weight: bolder;
cursor: pointer;
}
.todo {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
overflow: hidden;
}
.todo-content {
flex: 1;
overflow-y: auto;
overflow-x: auto;
padding-right: 10px;
}
.todo input[type="text"] {
width: calc(100% - 22px);
margin-bottom: 10px;
}
.todo ul {
list-style-type: none;
padding: 0;
margin: 0;
width: 100%;
}
.todo li {
margin-bottom: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
.todo .delete-btn {
margin-left: 5px;
color: black;
}
.hello-world-box {
border: 1px solid black; /* Black border */
border-radius: 10px; /* Rounded corners */
padding: 5px; /* Padding inside the box */
text-align: center; /* Center the text */
width: 90%; /* Full width of the parent */
box-sizing: border-box;
background-color: black;
color: white;
font-size: 2rem;
}
.hello-world-box p {
margin: 0; /* Remove default paragraph margins */
}
/* Styles for mobile view */
@media (max-width: 1200px) {
.container {
grid-template-columns: 1fr; /* Single column layout */
grid-template-rows: auto; /* Automatic row heights */
gap: 5px; /* Reduced gap */
}
.box {
width: 100%; /* Full width of container */
height: auto; /* Automatic height */
}
.calendar {
grid-column: span 1;
}
.todo {
grid-column: span 1;
}
.timer {
grid-column: span 1;
}
.size-4 {
grid-column: span 1;
}
.eisenhower-grid {
grid-template-columns: 1fr; /* Stack columns vertically */
grid-template-rows: repeat(4, auto); /* Adjust rows for mobile */
}
.matrix-box {
width: 100%;
height: auto;
}
.span-two-cols {
grid-column: span 1;
}
.span-two-rows {
grid-row: span 1;
}
}