-
Notifications
You must be signed in to change notification settings - Fork 0
/
gd.html
252 lines (221 loc) · 8.32 KB
/
gd.html
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
<!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>Graphic Design 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); /* Slight transparency for elegance */
border-radius: 15px; /* Rounded corners */
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
}
.header {
text-align: center;
margin-bottom: 30px;
}
.header h1 {
font-size: 3vw; /* Responsive font size */
color: #34495e; /* Elegant dark blue */
font-weight: 700; /* Bold font weight */
letter-spacing: 1px; /* Spacing between letters */
text-transform: uppercase; /* Uppercase letters */
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
/* Course details */
.course-details {
display: flex;
align-items: center;
margin-bottom: 20px;
padding: 20px; /* More padding for spacing */
border-radius: 10px; /* Match border radius */
background: rgba(255, 255, 255, 0.85); /* White background with slight transparency */
}
.course-details img {
width: 40%; /* Adjusted size */
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: #2980b9; /* New color for course title */
margin-bottom: 10px;
}
.course-info p {
font-size: 1.2vw;
color: #7f8c8d; /* Grey for text */
line-height: 1.5; /* Improved line height for readability */
margin-bottom: 15px;
}
/* Pricing, Rating, and Duration */
.course-stats {
display: flex;
justify-content: space-between;
margin: 15px 0;
}
.stat {
background-color: #e74c3c; /* Red color for stats */
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 */
}
/* Footer links */
.footer {
text-align: center;
margin-top: 40px;
padding: 20px 0;
background-color: rgba(255, 255, 255, 0.9);
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.footer a {
text-decoration: none;
color: #2980b9; /* Matching footer link color */
margin: 0 15px;
font-size: 1.2vw;
transition: color 0.3s ease;
}
.footer a:hover {
color: #e74c3c; /* Red 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>Graphic Design Course</h1>
</div>
<!-- Course details -->
<div class="course-details">
<img src="gd.jpg" alt="Graphic Design Course">
<div class="course-info">
<h2>Course Description</h2>
<p>This course introduces the principles of graphic design, focusing on visual communication, typography, and layout using tools like Adobe Illustrator and Photoshop.</p>
<div class="course-stats">
<div class="stat">Price: $179</div>
<div class="stat">Rating: ★★★★☆</div>
<div class="stat">Duration: 7 weeks</div>
</div>
</div>
</div>
<!-- Image container with navigation links -->
<div class="image-container">
<div>
<img src="home.png" alt="Home"> <!-- 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="About Us"> <!-- 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="Contact"> <!-- 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="FAQs"> <!-- Replace with your image path -->
<a class="explore-link" href="faqs.html">FAQs</a> <!-- Link under Image 4 -->
</div>
</div>
</div>
</body>
</html>