-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
203 lines (168 loc) · 3.79 KB
/
style.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
/* Updated CSS for adjusted form-and-table and button sizes */
input {
margin: 5px;
font-size: 20px;
}
.names-list {
display: flex;
/* Add other styles as needed */
}
.input-with-button {
display: flex;
align-items: center;
}
.input-with-button input {
flex: 1;
margin-right: 5px;
}
.input-with-button button {
flex-shrink: 0;
}
.pair-container {
display: flex;
justify-content: center; /* Center items horizontally */
gap: 20px; /* Add space between pairs */
margin-top: 20px; /* Adjust margin as needed */
}
.paired-buddies {
width: 800px;
margin-top: 20px;
background-color: #f5f5f5;
padding: 20px;
box-sizing: border-box;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
overflow-y: auto; /* Enable vertical scrolling */
}
.form {
margin-bottom: 20px;
display: flex;
justify-content: center;
align-items: center;
}
.result-container {
text-align: center;
background-color: #f9f9f9;
padding: 40px;
border-radius: 20px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.buddies-container {
display: flex;
flex-direction: column;
}
/* Center text horizontally */
h2, .buddy-pairs-text {
font-size: 30px;
text-align: center;
margin: 0 auto;
}
.paired-buddies h3 {
text-align: center;
}
/* Add styles for the dates */
.date-text {
font-size: 20px;
font-weight: bold;
border: 3px solid #ccc;
padding: 5px 10px;
border-radius: 5px;
margin: 5px;
display: block;
}
.input-list {
margin-left: 50px;
max-width: 800px;
list-style-type: none;
padding: 0;
}
/* Center the names */
.member-names {
display: flex;
justify-content: center;
}
/* Style for the buddies list */
.buddies-list {
display: flex;
flex-wrap: wrap;
margin-bottom: 10px;
}
/* Style for individual buddy pairs */
.buddy-pair {
border: 1px solid #ccc;
padding: 5px;
margin-right: 10px;
margin-bottom: 10px;
border-radius: 5px;
background-color: #f0f0f0;
}
.form-and-table {
display: flex;
flex-direction: column; /* Adjust layout to column */
gap: 20px; /* Gap between sections */
}
/* Updated CSS for form-section to center objects horizontally */
.form-section {
width: auto;
height: 30%;
background-color: #f5f5f5;
margin-left: auto;
margin-right: auto;
padding: 20px;
box-sizing: border-box;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
overflow-y: auto;
display: flex; /* Add display flex */
flex-direction: column; /* Arrange children vertically */
justify-content: center; /* Center children horizontally */
}
.members-table {
width: 100%;
padding: 20px;
box-sizing: border-box;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
background-color: #f5f5f5;
}
.members-table {
height: 30vh;
max-height: 350px;
overflow-y: auto;
}
.results,
.paired-buddies {
width: 100%;
padding: 20px;
box-sizing: border-box;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
background-color: #f5f5f5;
overflow-y: auto;
}
/* Adjust the size of buttons */
.done-reset-buttons button {
padding: 8px 15px;
font-size: 14px;
/* Other button styles */
}
/* Media query for smaller screens */
@media screen and (max-width: 768px) {
.container {
width: 95%;
}
/* Adjust other styles for responsiveness */
}
.input-list {
width: 300px; /* Set a width if needed */
margin: 0 auto; /* Center horizontally */
padding: 0; /* Reset padding */
list-style-type: none; /* Remove list bullets */
/* Additional styles as needed */
}
/* Example styles for list items */
.input-list li {
display: flex;
justify-content: center;
margin-bottom: 10px;
}