Update index.html
Browse files- index.html +52 -26
index.html
CHANGED
|
@@ -45,27 +45,30 @@
|
|
| 45 |
}
|
| 46 |
|
| 47 |
/* Navigation Bar */
|
| 48 |
-
|
|
|
|
|
|
|
| 49 |
display: flex;
|
| 50 |
-
justify-content:
|
| 51 |
align-items: center;
|
| 52 |
-
background-color: #004e56;
|
| 53 |
padding: 10px 20px;
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
|
|
|
|
|
|
| 58 |
}
|
| 59 |
|
| 60 |
.nav-logo {
|
| 61 |
font-size: 22px;
|
| 62 |
font-weight: bold;
|
|
|
|
| 63 |
}
|
| 64 |
|
| 65 |
.nav-toggle {
|
| 66 |
font-size: 24px;
|
| 67 |
cursor: pointer;
|
| 68 |
-
margin-left: 10px;
|
| 69 |
}
|
| 70 |
|
| 71 |
.nav-links {
|
|
@@ -74,6 +77,11 @@
|
|
| 74 |
padding: 0;
|
| 75 |
margin: 0;
|
| 76 |
background-color: #004e56;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
}
|
| 78 |
|
| 79 |
.nav-links.show {
|
|
@@ -90,29 +98,38 @@
|
|
| 90 |
text-decoration: none;
|
| 91 |
}
|
| 92 |
|
| 93 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
.hero {
|
| 95 |
-
background:
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
min-height: 100vh;
|
| 99 |
display: flex;
|
| 100 |
-
flex-direction: column;
|
| 101 |
justify-content: center;
|
| 102 |
align-items: center;
|
| 103 |
-
|
| 104 |
color: white;
|
| 105 |
-
|
|
|
|
| 106 |
}
|
| 107 |
|
| 108 |
.hero h1 {
|
| 109 |
-
|
| 110 |
-
font-size: 28px;
|
| 111 |
font-weight: bold;
|
|
|
|
| 112 |
}
|
| 113 |
|
| 114 |
.hero p {
|
| 115 |
margin: 10px 0 20px;
|
|
|
|
| 116 |
}
|
| 117 |
|
| 118 |
.btn {
|
|
@@ -161,26 +178,35 @@
|
|
| 161 |
footer a {
|
| 162 |
color: #ffeeaa;
|
| 163 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 164 |
</style>
|
| 165 |
</head>
|
| 166 |
<body>
|
| 167 |
|
| 168 |
-
<!-- Spinner
|
| 169 |
<div id="preloader">
|
| 170 |
<div class="loader"></div>
|
| 171 |
</div>
|
| 172 |
|
| 173 |
-
<!-- Navigation -->
|
| 174 |
-
<
|
| 175 |
-
<div class="nav-
|
| 176 |
-
|
|
|
|
|
|
|
|
|
|
| 177 |
<ul class="nav-links" id="navLinks">
|
| 178 |
<li><a href="index.html">Home</a></li>
|
| 179 |
<li><a href="about.html">About</a></li>
|
| 180 |
<li><a href="register.html">Register</a></li>
|
| 181 |
<li><a href="contact.html">Contact</a></li>
|
| 182 |
</ul>
|
| 183 |
-
</
|
| 184 |
|
| 185 |
<!-- Hero Section -->
|
| 186 |
<header class="hero">
|
|
@@ -239,9 +265,9 @@
|
|
| 239 |
}
|
| 240 |
}
|
| 241 |
|
| 242 |
-
// Main: Hide preloader on load or fallback
|
| 243 |
window.addEventListener("load", hidePreloader);
|
| 244 |
-
setTimeout(hidePreloader, 5000);
|
| 245 |
</script>
|
|
|
|
| 246 |
</body>
|
| 247 |
</html>
|
|
|
|
| 45 |
}
|
| 46 |
|
| 47 |
/* Navigation Bar */
|
| 48 |
+
.top-bar {
|
| 49 |
+
background-color: #004e56;
|
| 50 |
+
color: white;
|
| 51 |
display: flex;
|
| 52 |
+
justify-content: space-between;
|
| 53 |
align-items: center;
|
|
|
|
| 54 |
padding: 10px 20px;
|
| 55 |
+
flex-wrap: wrap;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.nav-left {
|
| 59 |
+
display: flex;
|
| 60 |
+
align-items: center;
|
| 61 |
}
|
| 62 |
|
| 63 |
.nav-logo {
|
| 64 |
font-size: 22px;
|
| 65 |
font-weight: bold;
|
| 66 |
+
margin-right: 20px;
|
| 67 |
}
|
| 68 |
|
| 69 |
.nav-toggle {
|
| 70 |
font-size: 24px;
|
| 71 |
cursor: pointer;
|
|
|
|
| 72 |
}
|
| 73 |
|
| 74 |
.nav-links {
|
|
|
|
| 77 |
padding: 0;
|
| 78 |
margin: 0;
|
| 79 |
background-color: #004e56;
|
| 80 |
+
position: absolute;
|
| 81 |
+
top: 60px;
|
| 82 |
+
left: 20px;
|
| 83 |
+
width: 150px;
|
| 84 |
+
border-radius: 6px;
|
| 85 |
}
|
| 86 |
|
| 87 |
.nav-links.show {
|
|
|
|
| 98 |
text-decoration: none;
|
| 99 |
}
|
| 100 |
|
| 101 |
+
/* Centered Top Title */
|
| 102 |
+
.site-header {
|
| 103 |
+
width: 100%;
|
| 104 |
+
text-align: center;
|
| 105 |
+
font-size: 20px;
|
| 106 |
+
font-weight: bold;
|
| 107 |
+
color: white;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
/* Hero Section */
|
| 111 |
.hero {
|
| 112 |
+
background: linear-gradient(rgba(0, 78, 86, 0.8), rgba(0, 78, 86, 0.8)),
|
| 113 |
+
url('https://images.unsplash.com/photo-1542834369-f10ebf06d3c4?auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
|
| 114 |
+
min-height: 90vh;
|
|
|
|
| 115 |
display: flex;
|
|
|
|
| 116 |
justify-content: center;
|
| 117 |
align-items: center;
|
| 118 |
+
flex-direction: column;
|
| 119 |
color: white;
|
| 120 |
+
text-align: center;
|
| 121 |
+
padding: 20px;
|
| 122 |
}
|
| 123 |
|
| 124 |
.hero h1 {
|
| 125 |
+
font-size: 34px;
|
|
|
|
| 126 |
font-weight: bold;
|
| 127 |
+
margin-bottom: 10px;
|
| 128 |
}
|
| 129 |
|
| 130 |
.hero p {
|
| 131 |
margin: 10px 0 20px;
|
| 132 |
+
font-size: 18px;
|
| 133 |
}
|
| 134 |
|
| 135 |
.btn {
|
|
|
|
| 178 |
footer a {
|
| 179 |
color: #ffeeaa;
|
| 180 |
}
|
| 181 |
+
|
| 182 |
+
@media (min-width: 600px) {
|
| 183 |
+
.leadership-grid {
|
| 184 |
+
grid-template-columns: repeat(2, 1fr);
|
| 185 |
+
}
|
| 186 |
+
}
|
| 187 |
</style>
|
| 188 |
</head>
|
| 189 |
<body>
|
| 190 |
|
| 191 |
+
<!-- Spinner -->
|
| 192 |
<div id="preloader">
|
| 193 |
<div class="loader"></div>
|
| 194 |
</div>
|
| 195 |
|
| 196 |
+
<!-- Navigation + Top Heading -->
|
| 197 |
+
<div class="top-bar">
|
| 198 |
+
<div class="nav-left">
|
| 199 |
+
<div class="nav-logo">STC</div>
|
| 200 |
+
<div class="nav-toggle" onclick="toggleMenu()">☰</div>
|
| 201 |
+
</div>
|
| 202 |
+
<div class="site-header">SHELLENG TEAM FOR CHANGE (STC)</div>
|
| 203 |
<ul class="nav-links" id="navLinks">
|
| 204 |
<li><a href="index.html">Home</a></li>
|
| 205 |
<li><a href="about.html">About</a></li>
|
| 206 |
<li><a href="register.html">Register</a></li>
|
| 207 |
<li><a href="contact.html">Contact</a></li>
|
| 208 |
</ul>
|
| 209 |
+
</div>
|
| 210 |
|
| 211 |
<!-- Hero Section -->
|
| 212 |
<header class="hero">
|
|
|
|
| 265 |
}
|
| 266 |
}
|
| 267 |
|
|
|
|
| 268 |
window.addEventListener("load", hidePreloader);
|
| 269 |
+
setTimeout(hidePreloader, 5000); // fallback
|
| 270 |
</script>
|
| 271 |
+
|
| 272 |
</body>
|
| 273 |
</html>
|