-
Notifications
You must be signed in to change notification settings - Fork 0
/
explore.html.bak
277 lines (240 loc) · 9.9 KB
/
explore.html.bak
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>explore</title>
<link rel="icon" href="/images/my-icon.ico" type="image/x-icon">
<link href="https://fonts.googleapis.com/css2?family=Inria+Serif:wght@400;700&display=swap" rel="stylesheet">
<style>
/* Add background image and style */
body {
margin: 0;
padding: 0;
background-image: url('plainbg.png'); /* Change the path to your image */
background-size: cover; /* Ensure the image covers the entire background */
background-position: center; /* Center the image */
background-attachment: fixed; /* Make the background fixed while scrolling */
background-repeat: no-repeat; /* Avoid tiling the background */
height: 100vh; /* Full viewport height */
display: flex; /* Use flexbox for centering */
flex-direction: column; /* Arrange children in a column */
justify-content: center; /* Center vertically */
align-items: center; /* Center horizontally */
}
/* Icon styling */
.icon {
position: absolute; /* Use absolute positioning */
top: 10px; /* Position it 10px from the top */
left: 10px; /* Position it 10px from the left */
}
.icon img {
height: 50px; /* Adjust the size of the icon */
width: auto; /* Maintain aspect ratio */
}
/* Centering the text at the top middle */
.top-middle-text {
font-family: 'Inria Serif', serif; /* Use Inria Serif font */
position: absolute; /* Use absolute positioning */
top: 20px; /* Position it 20px from the top */
left: 50%; /* Center horizontally */
transform: translateX(-50%); /* Adjust for the width of the element */
text-align: center; /* Center align text */
color: black; /* Text color */
width: 100%; /* Full width for centering */
}
/* Style for the text */
h1 {
font-size: 36px; /* Adjust font size */
font-weight: bold; /* Use bold weight */
margin: 0; /* Remove margin */
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Optional shadow for better visibility */
}
/* Sign Up button styling */
.signup-button {
position: absolute; /* Use absolute positioning */
top: 20px; /* Position it 20px from the top */
right: 20px; /* Position it 20px from the right */
padding: 10px 20px; /* Add padding for the button */
background-color: #007BFF; /* Button color */
color: white; /* Text color */
border: none; /* Remove border */
border-radius: 5px; /* Rounded corners */
font-size: 16px; /* Font size */
cursor: pointer; /* Change cursor on hover */
transition: background-color 0.3s; /* Smooth transition for hover effect */
}
.signup-button:hover {
background-color: #0056b3; /* Darker blue on hover */
}
.positioned-image {
position: absolute; /* Use absolute positioning */
top: 45px; /* Adjust as needed */
left: 500px; /* Adjust as needed */
width: 500px; /* Adjust size as needed */
height: auto; /* Maintain aspect ratio */
margin-top: 100px;
}
/* Left middle text styling */
.left-middle-text {
position: absolute; /* Use absolute positioning */
left: 20px; /* Position it 20px from the left */
top: 40%; /* Center vertically */
transform: translateY(-50%); /* Adjust for the height of the element */
text-align: left; /* Left align text */
color: black; /* Text color */
}
.left-middle-text h2 {
font-size: 30px; /* Adjust font size */
margin: 10; /* Remove margin */
text-shadow: none; /* Remove text shadow */
}
.left-middle-text h3 {
font-size: 20px; /* Adjust font size */
margin: 10; /* Remove margin */
}
.explore-link {
display: block; /* Make it a block element */
font-size: 18px; /* Adjust font size to a smaller size */
margin-top: 5px; /* Space between texts */
color: black; /* Change the color to black */
text-decoration: underline; /* Underline for emphasis */
cursor: pointer; /* Change cursor on hover */
}
.explore-link:hover {
color: red; /* Change color to red on hover */
}
/* New styling for the image container */
.image-container {
display: flex; /* Use flexbox to align images in a row */
justify-content: left; /* Center images */
margin-top: 350px; /* Space above the image container */
width: 100%; /* Full width for the container */
}
.image-container div {
text-align: center; /* Center align text under images */
margin: 0 35px; /* Add margin between image blocks */
}
.image-container img {
width: 50px; /* Adjust the size of the images */
height: auto; /* Maintain aspect ratio */
margin: 0; /* No margin for images */
}
/* Student Success Stories */
.success-stories {
position: absolute;
right: 5%;
top: 30%;
width: 30%; /* Adjust width as needed */
background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
padding: 20px;
border-radius: 10px;
box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2); /* Optional box-shadow */
color: #333;
font-family: 'Inria Serif', serif;
}
.success-stories h3 {
font-size: 2vw;
margin-bottom: 10px;
color: #007BFF;
}
.success-stories p {
font-size: 1.2vw;
line-height: 1.5;
margin: 0;
}
/* Ready to see what we offer? Section */
.offer-section {
position: absolute;
right: 5%;
top: 70%;
width: 30%;
background-color: rgba(255, 255, 255, 0.9);
padding: 20px;
border-radius: 10px;
box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
color: #333;
font-family: 'Inria Serif', serif;
}
.offer-section h3 {
font-size: 2vw;
margin-bottom: 10px;
color: #28A745; /* Green color for the heading */
}
.offer-section a {
font-size: 1.5vw;
color: black;
text-decoration: none;
font-weight: bold;
text-decoration: underline;
}
.offer-section a:hover {
text-decoration: underline;
color: red; /* Change color on hover */
}
/* Middle image styling */
.middle-image {
position: absolute;
top: 50%;
left: 45%;
transform: translate(-50%, -50%);
width: 30%; /* Adjust size as needed */
height: auto;
border-radius: 10px; /* Optional: Rounded corners */
}
</style>
</head>
<body>
<!-- Icon on the top left corner -->
<div class="icon">
<img src="icon.png" alt="Icon representing skills"> <!-- Ensure this path is correct -->
</div>
<!-- Text positioned at the top middle -->
<div class="top-middle-text">
<h1>MASTER NEW SKILLS<br>ANYTIME, ANYWHERE</h1>
</div>
<!-- Left middle text -->
<div class="left-middle-text">
<h2>Explore Us</h2>
<h3>Key Features:<br><br>
• Diverse Course Offerings <br>
• Expert Instructors <br>
• Flexible Learning <br>
• Interactive Materials <br>
• Community Support</h3>
</div>
<!-- Image container with 4 images -->
<div class="image-container">
<div>
<img src="home.png" alt="Image 1"> <!-- Replace with your image path -->
<a class="explore-link" href="home.html">Home</a> <!-- Link under Image 1 -->
</div>
<div>
<img src="about.png" alt="Image 2"> <!-- Replace with your image path -->
<a class="explore-link" href="about.html">About Us</a> <!-- Link under Image 2 -->
</div>
<div>
<img src="contact.png" alt="Image 3"> <!-- Replace with your image path -->
<a class="explore-link" href="contact.html">Contact</a> <!-- Link under Image 3 -->
</div>
<div>
<img src="faqs.png" alt="Image 4"> <!-- Replace with your image path -->
<a class="explore-link" href="faqs.html">FAQs</a> <!-- Link under Image 4 -->
</div>
</div>
<!-- Sign Up button -->
<button class="signup-button">Sign Up</button>
<div class="success-stories">
<h3>Student Success Stories</h3>
<p>“I transitioned into a new career after taking the Digital Marketing course...”<br><br> - Sarah K.</p>
</div>
<!-- Ready to see what we offer? Courses section -->
<div class="offer-section">
<h3>Ready to see what we offer?</h3>
<a href="courses.html">Courses</a>
</div>
<!-- Middle image -->
<img class="middle-image" src="explore.png" alt="Middle Image"> <!-- Replace with your image path -->
</body>
</html>