Spaces:
Runtime error
Runtime error
Create styles.css
Browse files- styles.css +96 -0
styles.css
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<style>
|
2 |
+
.container {
|
3 |
+
max-width: 1000px;
|
4 |
+
margin: 0 auto;
|
5 |
+
padding: 20px;
|
6 |
+
}
|
7 |
+
form {
|
8 |
+
display: flex;
|
9 |
+
align-items: center;
|
10 |
+
gap: 10px;
|
11 |
+
margin-bottom: 20px;
|
12 |
+
}
|
13 |
+
input[type="text"] {
|
14 |
+
flex-grow: 1;
|
15 |
+
min-width: 200px;
|
16 |
+
}
|
17 |
+
.date-range {
|
18 |
+
display: flex;
|
19 |
+
gap: 10px;
|
20 |
+
}
|
21 |
+
input[type="date"] {
|
22 |
+
width: 180px;
|
23 |
+
}
|
24 |
+
button[type="submit"] {
|
25 |
+
white-space: nowrap;
|
26 |
+
min-width: 30px; /* Minimum width to ensure readability */
|
27 |
+
max-width: 100px;
|
28 |
+
}
|
29 |
+
#search-results {
|
30 |
+
list-style-type: none;
|
31 |
+
padding: 0;
|
32 |
+
}
|
33 |
+
#search-results li {
|
34 |
+
background-color: #f0f0f0;
|
35 |
+
margin-bottom: 10px;
|
36 |
+
padding: 10px;
|
37 |
+
border-radius: 5px;
|
38 |
+
}
|
39 |
+
@media (max-width: 768px) {
|
40 |
+
form {
|
41 |
+
flex-wrap: wrap;
|
42 |
+
}
|
43 |
+
input[type="text"], .date-range, button[type="submit"] {
|
44 |
+
width: 100%;
|
45 |
+
}
|
46 |
+
}
|
47 |
+
|
48 |
+
.card-item {
|
49 |
+
background-color: #f0f0f0;
|
50 |
+
margin-bottom: 10px;
|
51 |
+
padding: 10px;
|
52 |
+
border-radius: 5px;
|
53 |
+
color: black;
|
54 |
+
}
|
55 |
+
.comment-text {
|
56 |
+
color: black;
|
57 |
+
}
|
58 |
+
.results-bar {
|
59 |
+
margin-bottom: 10px;
|
60 |
+
font-style: italic;
|
61 |
+
}
|
62 |
+
.pagination {
|
63 |
+
display: flex;
|
64 |
+
justify-content: center;
|
65 |
+
align-items: center;
|
66 |
+
gap: 10px;
|
67 |
+
margin-top: 20px;
|
68 |
+
}
|
69 |
+
.pagination button {
|
70 |
+
padding: 5px 10px;
|
71 |
+
background-color: #007bff;
|
72 |
+
color: white;
|
73 |
+
border: none;
|
74 |
+
border-radius: 3px;
|
75 |
+
cursor: pointer;
|
76 |
+
}
|
77 |
+
.pagination button:hover {
|
78 |
+
background-color: #0056b3;
|
79 |
+
}
|
80 |
+
.pagination span {
|
81 |
+
font-weight: bold;
|
82 |
+
}
|
83 |
+
|
84 |
+
.highlight {
|
85 |
+
background-color: yellow;
|
86 |
+
}
|
87 |
+
|
88 |
+
@media (max-width: 768px) {
|
89 |
+
form {
|
90 |
+
flex-wrap: wrap;
|
91 |
+
}
|
92 |
+
input[type="text"], .date-range, button[type="submit"] {
|
93 |
+
width: 100%;
|
94 |
+
}
|
95 |
+
}
|
96 |
+
</style>
|