-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
155 lines (131 loc) · 2.46 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
/* Reset some default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
background-color: #f4f4f4;
color: #333;
}
.container {
width: 80%;
margin: 0 auto;
}
header {
background-color: #007BFF;
color: #fff;
padding: 20px 0;
text-align: center;
}
header h1 {
margin-bottom: 10px;
font-size: 36px;
}
header nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}
header nav ul li {
display: inline;
margin: 0 15px;
}
header nav ul li a {
color: #fff;
text-decoration: none;
font-size: 16px;
}
.hero {
background-color: #007BFF;
color: #fff;
padding: 50px 0;
text-align: center;
}
.hero h2 {
font-size: 36px;
margin-bottom: 20px;
}
.hero p {
font-size: 18px;
margin-bottom: 20px;
}
.search-bar input {
padding: 10px;
font-size: 16px;
width: 30%;
margin-right: 10px;
border: 1px solid #ddd;
border-radius: 5px;
}
.search-bar button {
padding: 10px 20px;
background-color: #28a745;
border: none;
color: white;
font-size: 16px;
cursor: pointer;
border-radius: 5px;
}
.search-bar button:hover {
background-color: #218838;
}
.hospital-list {
display: flex;
justify-content: space-between;
margin-top: 40px;
flex-wrap: wrap;
}
.hospital-card {
background-color: #fff;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
width: 30%;
padding: 20px;
margin: 10px 0;
border-radius: 8px;
text-align: center;
transition: transform 0.3s ease;
}
.hospital-card:hover {
transform: translateY(-10px);
}
.hospital-card h3 {
font-size: 22px;
margin-bottom: 10px;
}
.hospital-card p {
font-size: 18px;
color: #555;
}
.hospital-card .price {
font-size: 24px;
color: #28a745;
font-weight: bold;
margin: 10px 0;
}
.hospital-card button {
background-color: #007BFF;
color: white;
border: none;
padding: 10px 20px;
cursor: pointer;
border-radius: 5px;
}
.hospital-card button:hover {
background-color: #0056b3;
}
footer {
background-color: #333;
color: #fff;
padding: 20px 0;
text-align: center;
}
footer a {
color: #fff;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}