-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
194 lines (166 loc) · 4.82 KB
/
Copy pathstyles.css
File metadata and controls
194 lines (166 loc) · 4.82 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
body {
font-family: Arial;
margin: 0;
padding: 0;
}
header {
background-color: rgb(5, 10, 30); /* Darker shade for header */
color: #fff;
padding: 20px;
text-align: center;
}
.logo {
display: inline-block;
}
.logo img {
height: 100px;
width: 150px;
}
main {
display: flex;
flex-direction: column;
align-items: center;
padding: 10px;
}
table {
border-collapse: collapse;
width: 90%;
margin: 20px;
}
th, td {
border: 1px solid #ddd;
padding: 15px;
text-align: left;
}
th {
background-color: rgb(190, 49, 68);
color: #fff;
}
tr:hover {
background-color: rgb(255, 194, 185);
}
section#gallery {
padding: 20px;
background-color: #f9f9f9; /* Light background */
margin: 20px 0;
border: 1px solid #ddd;
border-radius: 5px;
}
.image-gallery {
display: flex;
flex-wrap: wrap; /* Allow images to wrap to the next line */
justify-content: space-between; /* Space images evenly */
margin: 0; /* Remove margin */
padding: 0; /* Remove padding */
}
.image-gallery img {
width: calc(30%); /* Set width to cover 30% of the container */
height: auto; /* Maintain aspect ratio */
max-height: 350px; /* Set a maximum height for images */
margin: 10px; /* Space between images */
border-radius: 5px; /* Rounded corners for images */
}
/* New media query for smaller screens */
@media (max-width: 600px) {
.image-gallery img {
width: 100%; /* Make images full width on small screens */
max-height: none; /* Remove max height restriction */
}
}
/* New styles for the navigation bar */
nav {
display: flex; /* Use flexbox for layout */
flex-wrap: wrap; /* Allow items to wrap */
justify-content: center; /* Center items */
background-color: rgb(190, 49, 68); /* Highlight color */
padding: 10px; /* Padding around the nav */
}
nav ul {
display: flex; /* Keep the list horizontal */
padding: 0; /* Remove default padding */
margin: 0; /* Remove default margin */
}
/* Media Query for smaller screens */
@media (max-width: 600px) {
nav ul {
flex-direction: column; /* Stack items vertically */
align-items: center; /* Center items */
}
nav li {
margin: 10px 0; /* Space between items when stacked */
}
}
nav ul {
list-style-type: none; /* Remove bullet points */
padding: 0; /* Remove default padding */
display: flex; /* Make the list horizontal */
justify-content: center; /* Center the items */
}
nav li {
margin: 0 15px; /* Space between items */
}
nav a {
color: white; /* Link color */
text-decoration: none; /* Remove underline */
font-weight: bold; /* Bold text */
}
nav a:hover {
text-decoration: underline; /* Underline on hover */
}
/* About Section */
#about {
background-color:rgb(255, 194, 185);
padding: 20px; /* Padding around the section */
border-radius: 5px; /* Rounded corners */
border: 5px solid rgb(190, 49, 68);
}
/* Contact Us Section */
#contact {
background-color:rgb(255, 194, 185);
padding: 20px; /* Padding around the section */
border: 1px solid #ddd; /* Light border */
border-radius: 5px; /* Rounded corners */
border: 5px solid rgb(190, 49, 68);
max-width: 600px; /* Max width for the section */
margin: 20px auto; /* Center the section */
}
#contact label {
display: block; /* Block display for labels */
margin-bottom: 5px; /* Space below labels */
font-weight: bold; /* Bold labels */
}
#contact input[type="text"],
#contact textarea {
width: 100%; /* Full width for inputs */
padding: 10px; /* Padding inside inputs */
margin-bottom: 10px; /* Space below inputs */
border: 1px solid #ccc; /* Light border */
border-radius: 4px; /* Rounded corners */
}
#contact button {
background-color: #28a745; /* Green button color */
color: white; /* Text color */
padding: 10px 15px; /* Padding for button */
border: none; /* No border */
border-radius: 5px; /* Rounded corners */
cursor: pointer; /* Pointer cursor on hover */
}
#contact button:hover {
background-color: #218838; /* Darker green on hover */
}
/* Gallery Section */
#gallery {
background-color: #e0e0e0; /* Light gray background */
padding: 20px; /* Padding around the section */
border-radius: 5px; /* Rounded corners */
}
/* Footer Section */
footer {
background-color: rgb(5, 10, 30); /* Match header color */
color: white; /* Text color */
text-align: center; /* Center text */
padding: 10px; /* Padding */
position: relative; /* Positioning */
bottom: 0; /* Stick to bottom */
width: 100%; /* Full width */
}