-
Notifications
You must be signed in to change notification settings - Fork 0
/
encs.html.bak
235 lines (203 loc) · 7.1 KB
/
encs.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
<!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>Cyber Security Course</title>
<link href="https://fonts.googleapis.com/css2?family=Inria+Serif:wght@400;700&display=swap" rel="stylesheet">
<style>
/* Background and page setup */
body {
margin: 0;
padding: 0;
background-image: url('plainbg.png');
background-size: cover;
background-position: center;
background-attachment: fixed;
background-repeat: no-repeat;
height: 100%;
font-family: 'Inria Serif', serif;
color: #333;
}
.icon {
position: absolute;
top: 10px;
left: 10px;
}
.icon img {
height: 50px;
width: auto;
}
.container {
width: 80%;
margin: 0 auto;
padding: 20px;
background: rgba(255, 255, 255, 0.9);
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.header {
text-align: center;
margin-bottom: 30px;
}
.header h1 {
font-size: 3vw;
color: #2c3e50;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
/* Course details */
.course-details {
display: flex;
align-items: center;
margin-bottom: 20px;
padding: 10px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.8);
}
.course-details img {
width: 40%;
border-radius: 10px;
margin-right: 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.course-info {
flex: 1;
}
.course-info h2 {
font-size: 2.5vw;
color: #d35400;
margin-bottom: 10px;
}
.course-info p {
font-size: 1.2vw;
color: #7f8c8d;
line-height: 1.5;
margin-bottom: 15px;
}
/* Pricing, Rating, and Duration */
.course-stats {
display: flex;
justify-content: space-between;
margin: 15px 0;
}
.stat {
background-color: #e74c3c;
color: white;
padding: 10px 15px;
border-radius: 5px;
font-weight: bold;
text-align: center;
flex: 1;
margin: 0 5px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* Enroll button */
.enroll-button {
display: inline-block;
padding: 12px 25px;
background-color: #27ae60; /* Green for enroll button */
color: white;
border: none;
border-radius: 5px;
font-size: 1.2vw;
cursor: pointer;
transition: background-color 0.3s ease;
text-align: center;
margin: 20px auto; /* Center align button */
width: 60%; /* Button width */
}
.enroll-button:hover {
background-color: #219150; /* Darker green on hover */
}
/* Learn More link */
.learn-more {
display: block;
font-size: 1.2vw; /* Responsive font size */
color: #2980b9; /* Blue for learn more link */
text-decoration: underline;
margin-top: 10px;
transition: color 0.3s ease;
text-align: center; /* Center the link */
}
.learn-more:hover {
color: #1abc9c; /* Teal on hover */
}
.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 */
}
/* Image container styling */
.image-container {
display: flex; /* Use flexbox to align images in a row */
justify-content: center; /* Center images */
margin-top: 20px; /* 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 20px; /* Add margin between image blocks */
}
.image-container img {
width: 50px; /* Adjust the size of the images */
height: auto; /* Maintain aspect ratio */
margin-bottom: 5px; /* Space between image and link */
}
/* Enroll button */
.enroll-button {
display: inline-block;
padding: 12px 25px;
background-color: #27ae60; /* Green for enroll button */
color: white;
border: none;
border-radius: 5px;
font-size: 1.2vw;
cursor: pointer;
transition: background-color 0.3s ease;
text-align: center;
margin: 20px auto; /* Center align button */
width: 60%; /* Button width */
}
.enroll-button:hover {
background-color: #219150; /* Darker green on hover */
}
</style>
</head>
<body>
<!-- Logo in the top-left corner -->
<div class="icon">
<img src="icon.png" alt="Logo">
</div>
<div class="container">
<!-- Page header -->
<div class="header">
<h1>Cyber Security Course</h1>
</div>
<!-- Course details -->
<div class="course-details">
<img src="cs.jpg" alt="Cyber Security Course">
<div class="course-info">
<h2>Course Description</h2>
<p>This course covers the essential concepts of cyber security. You will learn how to protect networks, prevent attacks, and secure sensitive data using modern tools and strategies.</p>
<div class="course-stats">
<div class="stat">Price: $199</div>
<div class="stat">Rating: ★★★★★</div>
<div class="stat">Duration: 8 weeks</div>
</div>
<a class="learn-more" href="cs-details.html">Learn More</a> <!-- Learn More link -->
<button class="enroll-button">Enroll</button> <!-- Enroll button added here -->
</div>
</div>
</div>
</body>
</html>