-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
169 lines (145 loc) · 3 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
/* General Body Styles */
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #f7f9fc;
color: #333;
}
/* Header */
h1 {
text-align: center;
color: #333;
font-size: 32px;
margin-top: 30px;
}
/* Form Styling */
form {
max-width: 500px;
margin: 30px auto;
background: white;
padding: 20px;
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}
form label {
display: block;
margin: 10px 0 5px;
font-weight: 600;
}
form input, form button {
width: 100%;
padding: 12px;
margin: 8px 0;
border: 1px solid #ddd;
border-radius: 6px;
box-sizing: border-box;
}
form button {
background-color: #007BFF;
color: white;
font-weight: bold;
cursor: pointer;
transition: background-color 0.3s ease;
}
form button:hover {
background-color: #0056b3;
}
/* Button Container */
.button-container {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 20px;
}
/* Common Buttons Styling */
.btn-home, .btn-search-again {
display: inline-block;
padding: 12px 20px;
font-size: 16px;
font-weight: bold;
text-align: center;
text-decoration: none;
border-radius: 6px;
cursor: pointer;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.btn-home {
background-color: #28a745;
color: white;
}
.btn-home:hover {
background-color: #218838;
transform: scale(1.05);
}
.btn-search-again {
background-color: #ffc107;
color: black;
}
.btn-search-again:hover {
background-color: #e0a800;
transform: scale(1.05);
}
/* Input and Button in Form */
form input[type="text"], form input[type="date"] {
padding: 12px;
margin: 8px 0;
border-radius: 6px;
border: 1px solid #ddd;
width: 100%;
}
form button[type="submit"] {
background-color: #007BFF;
color: white;
font-weight: bold;
border-radius: 6px;
cursor: pointer;
padding: 12px;
width: 100%;
}
form button[type="submit"]:hover {
background-color: #0056b3;
}
/* Table Styling */
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
}
table th, table td {
padding: 12px 15px;
border: 1px solid #ddd;
text-align: left;
}
table th {
background-color: #007BFF;
color: white;
}
table tr:nth-child(even) {
background-color: #f9f9f9;
}
table tr:hover {
background-color: #f1faff;
}
/* Responsive Design */
@media (max-width: 768px) {
table th, table td {
font-size: 14px;
}
form {
width: 90%;
}
.button-container {
flex-direction: column;
align-items: center;
}
.btn-home, .btn-search-again {
width: 80%;
margin-bottom: 10px;
}
table th, table td {
font-size: 14px;
}
}