-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
333 lines (281 loc) · 6.71 KB
/
style.css
File metadata and controls
333 lines (281 loc) · 6.71 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
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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');
* {
color: white;
}
body {
margin: 0;
padding: 0;
text-decoration: none;
all: unset;
display: flex;
flex-direction: column;
height: 100vh;
background-color: #3c352e; /* this so yall can see ur mistakes */
overflow-x: hidden; /* Prevent horizontal overflow */
font-family: Noto Serif, Arial, Helvetica, sans-serif;
font-weight: 300;
}
header {
background-color: #3c352e; /* change this color area */
padding: 0px;
margin-bottom: -10px;
}
.main {
display: flex;
flex: 1;
background-color: #3c352e;
padding: 2em;
flex-direction: column;
position: relative;
width: 100%; /* Ensure it doesn't cause overflow */
box-sizing: border-box; /* Include padding in the element’s total width */
}
.main h1 {
position: relative; /* Ensure the h1 element is a reference for the absolute positioning */
margin-top: 0; /* Remove top margin if needed */
margin-bottom: 15px;
letter-spacing: 10px;
}
/* Styling for the lines above the h1 in .main */
.main h1::before,
.main h1::after {
content: "";
position: absolute;
top: 30px; /* Moves the lines above the h1 (adjust as needed) */
width: 600px; /* Length of the lines */
height: 2px; /* Thickness of the lines */
background-color: white; /* White color for the lines */
}
.main h1::before {
left: 0; /* Align the left line to the left of the h1 */
}
.main h1::after {
right: 0; /* Align the right line to the right of the h1 */
}
.main h2 {
margin: 0;
font-size: 2.3em;
text-align: center; /* Centers the text */
padding: 0 1em;
flex: 1; /* Ensures it takes up available space */
display: flex;
justify-content: center; /* Centers content horizontally */
align-items: center; /* Centers content vertically */
}
/* MAIN COMPONENTS */
/* Styling for the carousel container */
.carousel-container {
position: relative;
width: 100%;
max-width: 500px; /* Adjust as needed */
margin: 0 auto;
overflow: hidden;
}
/* Styling for the images inside the carousel */
.carousel-images {
display: flex;
transition: transform 0.5s ease-in-out;
}
.carousel-images img {
width: 100%;
height: 500px;
object-fit: cover;
}
/* Style for the navigation dots */
.carousel-dots {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
display: flex;
}
.dot {
height: 10px;
width: 10px;
margin: 0 5px;
background-color: #bbb;
border-radius: 50%;
cursor: pointer;
}
.active-dot {
background-color: #717171;
}
/* Styling for the left and right arrows */
.carousel-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
color: white;
font-size: 24px;
padding: 10px;
cursor: pointer;
border: none;
background-color: transparent; /* Transparent background */
z-index: 10; /* Ensure arrows are on top of the images */
}
.carousel-arrow.left {
left: 10px;
}
.carousel-arrow.right {
right: 10px;
}
.description {
padding: 0em 15em;
text-align: justify;
font-size: 19.5px;
letter-spacing: 1px;
align-items: center;
}
/* END OF MAIN COMPONENTS */
/* CSS for Kamera Footer */
.footer {
background-color: #211d1a;
color: #f1f1f1;
padding: 20px 0;
font-family: 'Noto Serif', serif;
}
.footer-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-start;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.footer-section {
flex: 1 1 200px;
margin: 10px;
}
.footer-section h2, .footer-section h3 {
font-weight: 700;
color: #ffffff;
margin-bottom: 10px;
}
.footer-section p, .footer-section ul, .footer-section a {
font-size: 14px;
line-height: 1.5;
color: #bfbfbf;
}
.footer-section ul {
list-style: none;
padding: 0;
}
.footer-section ul li {
margin-bottom: 5px;
}
.footer-section ul li a {
text-decoration: none;
color: #bfbfbf;
transition: color 0.3s ease;
}
.footer-section ul li a:hover {
color: #088178;
}
.footer-section .social a {
display: inline-block;
margin: 0 5px;
}
.footer-section .social img {
width: 30px;
height: 30px;
transition: opacity 0.3s ease;
}
.footer-section .social img:hover {
opacity: 0.7;
}
.footer-bottom {
text-align: center;
margin-top: 20px;
font-size: 12px;
color: #888888;
}
h1 {
margin: 0;
font-size: 3em;
text-align: center; /* all the 1-headers should be centered imo adjust other headers if needed */
padding: 0 1em;
}
/* INDEX BACKGROUND CLIP */
.background-clip {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.content {
position: absolute; /* Allows positioning relative to the viewport */
top: 50%; /* Centers vertically */
left: 50%; /* Centers horizontally */
transform: translate(-50%, -50%); /* Adjusts for the element's size */
display: flex;
justify-content: center;
align-items: center;
}
/* NAVIGATION BAR */
.nav {
all: initial;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1em;
background-image: url('navbar_camera_tape.png');
background-size: contain;
background-position: fixed;
position: sticky;
top: 0;
z-index: 1000;
width: 100%;
height: auto;
box-sizing: border-box;
font-size: 1em;
font-family: Noto Serif, Arial, Helvetica, sans-serif;
}
.nav li,a{
text-decoration: none;
color: white; /* change this */
}
.logo {
cursor: pointer;
object-fit: contain;
max-height: 3em;
}
.nav_links {
list-style: none;
display: flex;
flex-grow: 1; /* Makes nav links occupy available space */
justify-content: center; /* Centers nav links in the available space */
}
.nav_links li {
display: inline-block;
padding: 0em 1.25em;
}
.nav_links li a {
transition: all 0.3s ease 0s;
}
.nav_links li a:hover {
color: rgb(179, 179, 179); /* change this */
}
.cart {
text-decoration: none;
color: white;
padding: 0.5em 1em;
transition: all 0.3s ease;
white-space: nowrap; /* Ensures 'Cart' doesn't wrap or shrink */
}
.cart:hover {
color: rgb(179, 179, 179);
}
#carticon {
height: 1em; /* Matches the height of the text */
width: auto; /* Scales width proportionally */
vertical-align: middle; /* Aligns image with the text */
padding: 0em 0.3em 0.3em 0;
}
#carticon:hover {
opacity: 0.5;
}
/* END NAVIGATION BAR */