-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
228 lines (195 loc) · 4.8 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
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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
/* Reset default styles */
body, h1, p, ul, li {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Basic styling */
body {
font-family: Arial, sans-serif;
color: #000;
background-color: #fff;
}
/* Header styling */
header {
background-color: #000;
color: #fff;
display: flex;
align-items: center;
justify-content: space-between;
margin: 0; /* Ensure no margin */
padding: 0; /* Ensure no padding */
}
/* Logo image */
.logo img {
height: 100px; /* Adjust height as needed */
}
/* Navigation bar styling */
nav {
display: flex;
justify-content: center; /* Center the nav items */
background-color: #000; /* Same color as header */
padding: 0; /* Ensure no padding */
width: 100%; /* Ensure nav is full width */
margin: 0; /* Ensure no margin */
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
align-items: center;
}
nav ul li {
position: relative;
margin: 0 15px; /* Add some margin between items */
}
nav ul li a {
color: #fff;
text-decoration: none;
padding: 10px 15px;
display: block;
}
nav ul li a:hover {
background-color: #444;
}
nav .dropdown {
display: none;
position: absolute;
background-color: #000;
top: 100%;
left: 0;
min-width: 160px;
z-index: 1;
}
nav .dropdown li {
float: none;
}
nav .dropdown a {
padding: 10px;
}
nav ul li:hover .dropdown {
display: block;
}
.non-clickable > a {
pointer-events: none; /* Disable pointer events for non-clickable items */
cursor: default; /* Change cursor to default */
color: inherit; /* Maintain text color */
}
/* Main content styling */
main {
padding: 0;
margin: 0; /* Remove top margin if any */
}
/* Landing section styling */
.landing {
text-align: center;
padding: 0;
}
.landing img {
width: 100%;
height: 60vh;
object-fit: cover;
object-position: top center;
display: block;
}
.description {
margin-top: 20px;
padding: 20px;
}
.description h1 {
font-family: 'Roboto Slab', serif;
font-size: 3rem;
font-weight: 700;
margin: 0;
}
.description p {
font-family: 'Roboto', sans-serif;
font-size: 1.25rem;
font-weight: 300;
margin-top: 10px;
}
/* Footer styling */
footer {
background-color: #222; /* Slightly lighter black hue */
color: #fff;
text-align: center;
padding: 150px 40px; /* Increased padding */
}
/* Footer content styling */
.footer-content a {
color: #fff;
text-decoration: none;
}
.footer-content a:hover {
text-decoration: underline;
}
.footer-content p {
margin: 0;
display: inline-block;
}
/* Ensure section layout is consistent */
.section {
display: flex;
flex-direction: column; /* Stack items vertically */
margin-bottom: 10px;
color: #666; /* Ensure readability */
margin-top: 40px;
padding: 10px 20%; /* Increase left and right padding for more space */
position: relative; /* Make it a positioning context for the pseudo-element */
}
/* Container for image and text */
.section-content {
display: flex;
align-items: flex-start;
color: #666; /* Ensure readability */
margin-bottom: 10px; /* Space between content and divider */
}
/* Adjust image size and position */
.service-img {
max-width: 50%; /* Adjust image size as needed */
height: auto;
margin-left: auto; /* Align image to the right */
}
/* Ensure text container takes remaining space */
.text-container {
flex: 1; /* Take remaining space */
color: #666; /* Ensure readability */
margin-right: 20px; /* Space between text container and image */
}
/* Adjust paragraph text size and margin */
.text-container p {
font-size: 0.625rem; /* Smaller paragraph text */
color: #666; /* Lighter hue of black */
margin-top: 50px;
margin-bottom: 30px; /* Spacing before price */
}
/* Adjust text style */
.service-title {
font-weight: bold; /* Make title bold */
color: #666; /* Lighter hue of black */
font-style: italic; /* Italicize the title */
}
/* Single horizontal divider line below the first photo */
.page-content {
position: relative; /* Ensure relative positioning */
}
.price {
font-size: 0.5rem; /* Match this to the size of other paragraphs if needed */
color: #666; /* Ensure readability */
margin-top: 500px;
font-weight: bold; /* Make title bold */
font-style: italic; /* Italicize the title */
margin: 0; /* Adjust if there's any extra space */
}
/* Line divider styling */
hr.divider {
border: none; /* Remove default border */
border-top: 1px solid #666; /* Line color and thickness */
width: 70%; /* Adjust this width to change the length */
margin: 20px auto; /* Center the line and add space above/below */
}
.ceramic-coating-img {
max-width: 40%;
height: auto;
}