Skip to content

Commit f3f170e

Browse files
committed
2 parents 1130579 + 2a261a7 commit f3f170e

31 files changed

+492
-34
lines changed

home_page.css

Lines changed: 82 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ nav {
5858
transition: opacity 0.5s ease;
5959
}
6060

61-
.hamburge {
61+
.hamburger {
6262
display: none;
6363
}
6464

@@ -372,3 +372,84 @@ h2 {
372372
font-size: 1em;
373373
padding: 1% 0;
374374
}
375+
376+
377+
@media screen and (max-width: 600px) {
378+
.newsletter {
379+
font-size: 1em; /* Adjusted for smaller screens */
380+
top: 0; /* More space for the fixed element */
381+
}
382+
383+
.intro-container {
384+
height: 60vh; /* Reduce the height of the intro on mobile */
385+
background-size: contain; /* Ensure the background image is contained */
386+
margin-top: 0;
387+
}
388+
389+
.text-overlay {
390+
font-size: 1em; /* Reduce overlay text size */
391+
top: 10%; /* Adjust vertical position */
392+
padding: 0 5%; /* Add padding to ensure text doesn't go to the edges */
393+
}
394+
395+
h1 {
396+
font-size: 1.5em; /* Reduce size for mobile */
397+
padding: 30% 0 0 0; /* Adjust padding */
398+
399+
}
400+
401+
.intro {
402+
font-size: .8em;
403+
padding: 2% 4%;
404+
max-width: 90%;
405+
line-height: 1.1;
406+
top: 25%;
407+
}
408+
409+
.never_has_there {
410+
font-size: 1em; /* Smaller font for subtitle */
411+
margin-top: -6%; /* Adjust negative margin */
412+
padding-bottom: 4%;
413+
text-shadow: 2px 2px #141624;
414+
}
415+
416+
.main-section {
417+
margin-top: 90%; /* Adjust the margin to match reduced intro-container height */
418+
padding: 3% 4%; /* Adjust padding */
419+
}
420+
421+
h2 {
422+
font-size: 1.1em;
423+
}
424+
425+
.p1, .p2 {
426+
font-size: .8em; /* Reduce text size */
427+
padding: 2% 3%; /* Add padding for readability */
428+
}
429+
430+
/* Adjust the flex layout */
431+
.flex {
432+
flex-direction: column; /* Stack the items vertically on mobile */
433+
gap: 5%; /* Add gap between flex items */
434+
align-items: center; /* Center the items horizontally */
435+
}
436+
437+
.team_pic {
438+
margin-left: 0; /* Remove left margin */
439+
width: 100%; /* Full width on mobile */
440+
padding-bottom: 4%;
441+
}
442+
443+
.socials {
444+
flex-direction: row; /* Stack social icons */
445+
padding: 5% 0; /* Increase padding */
446+
}
447+
448+
.socials a img {
449+
width: 30px; /* Reduce icon size */
450+
}
451+
452+
.copyright {
453+
font-size: 0.8em; /* Smaller copyright text */
454+
}
455+
}

home_page.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,6 @@ <h2>Brief History</h2>
118118
</script>
119119

120120

121-
</body>
121+
</body>
122+
123+
</html>

0 commit comments

Comments
 (0)