-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
252 lines (213 loc) · 4.08 KB
/
Copy pathmain.css
File metadata and controls
252 lines (213 loc) · 4.08 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
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
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body and page styling */
body {
font-family: Arial, sans-serif;
background-color: #2c3e50; /* Dark background */
display: flex;
justify-content: center;
align-items: center;
}
/* Header container using grid layout */
.header-container {
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
}
/* Centered Title */
h1 {
font-size: 2.5em;
color: #333;
text-align: center;
grid-column: 1 / -1; /* Span both columns */
}
/* Global button styling */
.global-button {
color: #ffffff;
border: none;
padding: 10px 20px;
font-size: 1em;
cursor: pointer;
border-radius: 5px;
margin: 10px;
justify-self: end;
transition: background-color 0.3s;
width: inherit;
}
#passwd {
margin-top: -120px;
}
/* Main container for the page */
.page-container {
text-align: center;
background-color: #ffffff;
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
margin: 50px;
width: 100%;
position: relative;
}
/* Title styling */
h1 {
font-size: 2.5em;
margin-bottom: 40px;
color: #333;
}
/* Adjust the h2 styling */
h2 {
font-size: 1.8em; /* Make it larger */
text-transform: none; /* Remove the uppercase transformation */
color: #34495e; /* A more subtle color for h2 */
margin-bottom: 20px;
}
/* Container for each column */
.column-container {
display: flex;
flex-wrap: wrap; /* Allow columns to wrap */
gap: 20px; /* Add some space between columns */
margin-bottom: 20px;
}
/* Column styling */
.column {
width: 32%; /* Three columns side by side */
background-color: #ecf0f1;
padding: 10px 30px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Each person's table */
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}
tr {
border-bottom: 1px solid #555;
}
.recurring {
background-color: rgba(44,200,0,0.25);
}
.claimed {
background-color: rgba(255,0,0,0.25);
}
td {
padding: 10px;
text-align: left;
}
td.item {
width: 40%;
}
td.link {
width: 20%;
}
td.buttons {
width: 140px;
text-align: right;
}
#column-1 td.buttons {
width: 180px;
}
form {
display: inline;
}
/* Button styling */
.button-container {
margin-top: 20px;
text-align: center;
}
button, a.button {
background-color: #3498db;
color: #fff;
border: none;
padding: 10px;
font-size: 1em;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s;
display: inline-block;
height: 48px;
width: 48px;
}
button:hover, a.button:hover {
background-color: #2980b9;
}
button:focus {
outline: none;
}
.icon {
height: 100%;
}
.trash {
background-color: #c33;
}
.check {
background-color: #2c2;
}
.edit {
background-color: #444;
}
input, textarea {
height: 1.75em;
width: 100%;
margin: 10px 0;
padding: 0 5px;
}
textarea {
height: 4em;
}
#recurring {
width: 50px;
vertical-align: middle;
}
label {
font-size: 1.3em;
}
#multiple-notes {
display: none;
}
/* Responsive Design */
@media screen and (max-width: 768px) {
.column {
width: 100%; /* Full width for each column on smaller screens */
margin-bottom: 20px; /* Ensure there's space between stacked columns */
}
}
/* Modal Styling */
.modal {
display: none; /* Hidden by default */
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.4);
justify-content: center;
align-items: center;
}
.modal-content {
background-color: #ffffff;
padding: 20px;
border-radius: 10px;
width: 300px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.dateSubmit {
width: inherit;
margin: 0 5px;
padding: 0 15px;
}
input[type="date"] {
width: 100%;
padding: 0 10px;
margin-bottom: 20px;
border-radius: 5px;
border: 1px solid #ccc;
}