Presidor1 commited on
Commit
d7868f7
·
verified ·
1 Parent(s): 414094f

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +56 -48
index.html CHANGED
@@ -12,61 +12,75 @@
12
  scroll-behavior: smooth;
13
  height: 100%;
14
  }
 
15
  body {
16
- background: url('https://images.unsplash.com/photo-1496307653780-42ee777d4833?auto=format&fit=crop&w=1350&q=80') center/cover no-repeat fixed;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  }
 
18
  #preloader {
19
- position: fixed; top: 0; left: 0;
20
- width: 100%; height: 100%;
21
- background: #004e56;
22
- display: flex; justify-content: center; align-items: center;
23
  z-index: 9999; transition: opacity 0.5s ease;
24
  }
 
25
  .loader {
26
  width: 60px; height: 60px;
27
  border: 8px solid #f3f3f3;
28
- border-top: 8px solid white;
29
- border-radius: 50%;
30
  animation: spin 1s linear infinite;
31
  }
32
  @keyframes spin { 0%{transform:rotate(0deg);}100%{transform:rotate(360deg);} }
 
33
  .top-bar {
34
- background-color: rgba(0,78,86,0.95);
35
- color: white;
36
  display: flex; justify-content: space-between; align-items: center;
37
  padding: 10px 20px; position: relative; z-index: 100;
38
  }
39
- .nav-left { display:flex; align-items:center; }
40
  .nav-toggle {
41
  font-size: 24px; cursor: pointer;
42
  }
43
  .nav-links {
44
- list-style: none; display: none;
45
- padding: 0; margin: 0;
46
- background-color: #004e56;
47
- position: absolute; top: 60px; left: 10px;
48
- width: 160px; border-radius: 6px; z-index:99;
49
  }
50
  .nav-links.show { display: block; }
51
- .nav-links li { padding:10px 20px; border-top:1px solid #006f77;}
52
- .nav-links li:first-child{border-top:none;}
53
- .nav-links a { color:white; text-decoration:none; }
54
  .site-header {
55
- width:100%; text-align:center; font-size:20px;
56
- font-weight:bold; color:white;
57
  }
 
 
58
  .hero-container {
59
- background: url('https://images.unsplash.com/photo-1496307653780-42ee777d4833?auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
60
  height: 90vh;
61
- display: flex; justify-content:center; align-items:center;
62
- text-align:center; position: relative; z-index:2;
63
  }
64
  .hero {
65
- background-color: rgba(255,255,255,0.85);
66
- padding: 40px 30px; border-radius:12px;
67
- max-width:700px;
68
- color: #004e56;
69
- box-shadow:0 0 15px rgba(0,0,0,0.2);
70
  }
71
  .hero h1 {
72
  font-size:36px; font-weight:bold; margin-bottom:10px;
@@ -75,23 +89,18 @@
75
  font-size:18px; margin:10px 0 20px;
76
  }
77
  .btn {
78
- padding:12px 24px;
79
- background-color: #ffcc00;
80
- color: #004e56;
81
- border-radius:6px;
82
- text-decoration: none;
83
- font-weight: bold;
84
- display:inline-block;
85
- }
86
- .btn:hover {
87
- background-color: #e6b800;
88
  }
 
 
89
  section {
90
- background-color: white; padding:40px 20px; text-align:center;
91
  }
92
  .leadership-grid {
93
- display:grid; grid-template-columns:1fr;
94
- gap:16px; max-width:600px; margin:auto;
95
  }
96
  .leader-card {
97
  background-color:#f6f6f6; border:1px solid #ccc;
@@ -101,9 +110,8 @@
101
  .leadership-grid { grid-template-columns: repeat(2,1fr); }
102
  }
103
  footer {
104
- background-color:#004e56; color:white;
105
- padding:20px; text-align:center;
106
- z-index:10; position:relative;
107
  }
108
  footer a { color:#ffeeaa; }
109
  </style>
@@ -138,11 +146,11 @@
138
  <div class="leadership-grid">
139
  <div class="leader-card">
140
  <h3>Patron</h3>
141
- <p>Alh. Mal. Abdulrahman Isa<br><small>(Dan Isan Shelleng, District Head of Shelleng)</small></p>
142
  </div>
143
  <div class="leader-card">
144
  <h3>President</h3>
145
- <p>Mohammed Al'amin Abdulrahman Dasong<br><small>(MAAI DASONG) – Mr. President</small></p>
146
  </div>
147
  <div class="leader-card">
148
  <h3>Secretary</h3>
@@ -153,7 +161,7 @@
153
  <p>Abubakar Abdullahi</p>
154
  </div>
155
  <div class="leader-card">
156
- <h3>Organizing Secretary</h3>
157
  <p>Yusuf Bala Abbas</p>
158
  </div>
159
  </div>
@@ -172,7 +180,7 @@
172
  const preloader = document.getElementById("preloader");
173
  if (preloader) {
174
  preloader.style.opacity = "0";
175
- setTimeout(()=>preloader.style.display="none", 500);
176
  }
177
  }
178
  window.addEventListener("load", hidePreloader);
 
12
  scroll-behavior: smooth;
13
  height: 100%;
14
  }
15
+
16
  body {
17
+ background:
18
+ /* STC watermark overlay */
19
+ linear-gradient(rgba(255,255,255,0), rgba(255,255,255,0)),
20
+ url('https://images.unsplash.com/photo-1496307653780-42ee777d4833?auto=format&fit=crop&w=1350&q=80') center/cover no-repeat fixed;
21
+ position: relative;
22
+ }
23
+ body::after {
24
+ content: "STC";
25
+ position: absolute;
26
+ top: 50%; left: 50%;
27
+ transform: translate(-50%, -50%) rotate(-30deg);
28
+ font-size: 200px;
29
+ color: rgba(255,255,255,0.15);
30
+ font-weight: bold;
31
+ letter-spacing: 20px;
32
+ pointer-events: none;
33
+ z-index: 0;
34
  }
35
+
36
  #preloader {
37
+ position: fixed; top: 0; left: 0; width: 100%; height: 100%;
38
+ background: #004e56; display: flex; justify-content: center; align-items: center;
 
 
39
  z-index: 9999; transition: opacity 0.5s ease;
40
  }
41
+
42
  .loader {
43
  width: 60px; height: 60px;
44
  border: 8px solid #f3f3f3;
45
+ border-top: 8px solid white; border-radius: 50%;
 
46
  animation: spin 1s linear infinite;
47
  }
48
  @keyframes spin { 0%{transform:rotate(0deg);}100%{transform:rotate(360deg);} }
49
+
50
  .top-bar {
51
+ background-color: rgba(0,78,86,0.95); color: white;
 
52
  display: flex; justify-content: space-between; align-items: center;
53
  padding: 10px 20px; position: relative; z-index: 100;
54
  }
55
+ .nav-left { display: flex; align-items: center; }
56
  .nav-toggle {
57
  font-size: 24px; cursor: pointer;
58
  }
59
  .nav-links {
60
+ list-style: none; display: none; padding: 0; margin: 0;
61
+ background-color: #004e56; position: absolute;
62
+ top: 60px; left: 10px; width: 160px; border-radius: 6px; z-index: 99;
 
 
63
  }
64
  .nav-links.show { display: block; }
65
+ .nav-links li { padding:10px 20px; border-top:1px solid #006f77; }
66
+ .nav-links li:first-child { border-top: none; }
67
+ .nav-links a { color: white; text-decoration: none; }
68
  .site-header {
69
+ width: 100%; text-align: center;
70
+ font-size: 20px; font-weight: bold; color: white;
71
  }
72
+
73
+ /* HERO SECTION */
74
  .hero-container {
 
75
  height: 90vh;
76
+ display: flex; justify-content: center; align-items: center;
77
+ text-align: center; position: relative; z-index: 2;
78
  }
79
  .hero {
80
+ background-color: rgba(0,78,86,0.88);
81
+ padding: 40px 30px; border-radius: 12px;
82
+ max-width: 700px; color: white;
83
+ box-shadow: 0 0 15px rgba(0,0,0,0.2);
 
84
  }
85
  .hero h1 {
86
  font-size:36px; font-weight:bold; margin-bottom:10px;
 
89
  font-size:18px; margin:10px 0 20px;
90
  }
91
  .btn {
92
+ padding:12px 24px; background-color:#ffc107;
93
+ color:#004e56; border-radius:6px; text-decoration:none;
94
+ font-weight:bold; display:inline-block;
 
 
 
 
 
 
 
95
  }
96
+ .btn:hover { background-color: #e0a800; }
97
+
98
  section {
99
+ background-color: white; padding: 40px 20px; text-align: center;
100
  }
101
  .leadership-grid {
102
+ display: grid; grid-template-columns:1fr; gap:16px;
103
+ max-width:600px; margin:auto;
104
  }
105
  .leader-card {
106
  background-color:#f6f6f6; border:1px solid #ccc;
 
110
  .leadership-grid { grid-template-columns: repeat(2,1fr); }
111
  }
112
  footer {
113
+ background-color:#004e56; color:white; padding:20px;
114
+ text-align:center; z-index:10; position: relative;
 
115
  }
116
  footer a { color:#ffeeaa; }
117
  </style>
 
146
  <div class="leadership-grid">
147
  <div class="leader-card">
148
  <h3>Patron</h3>
149
+ <p>Alh. Mal. Abdulrahman Isa<br><small>(Dan Isan Shelleng...)</small></p>
150
  </div>
151
  <div class="leader-card">
152
  <h3>President</h3>
153
+ <p>Mohammed Al'amin Abdulrahman Dasong</p>
154
  </div>
155
  <div class="leader-card">
156
  <h3>Secretary</h3>
 
161
  <p>Abubakar Abdullahi</p>
162
  </div>
163
  <div class="leader-card">
164
+ <h3>Organizing&nbsp;Secretary</h3>
165
  <p>Yusuf Bala Abbas</p>
166
  </div>
167
  </div>
 
180
  const preloader = document.getElementById("preloader");
181
  if (preloader) {
182
  preloader.style.opacity = "0";
183
+ setTimeout(() => preloader.style.display = "none", 500);
184
  }
185
  }
186
  window.addEventListener("load", hidePreloader);