Skip to content

Commit 8b6ef9e

Browse files
committed
feat: adds chukwumaibezim folder with style.css file
1 parent f588da9 commit 8b6ef9e

File tree

4 files changed

+380
-0
lines changed

4 files changed

+380
-0
lines changed

lesson_20/chukwumaibezim/hero.jpg

329 KB
Loading

lesson_20/chukwumaibezim/index.html

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<html>
2+
<head>
3+
<title>Homepage</title>
4+
<link rel="stylesheet" id="redux-google-fonts-salient_redux-css" href="https://fonts.googleapis.com/css?family=Poppins%3A600%2C400%7CMontserrat%3A800%2C900%2C700&amp;ver=1597678827" type="text/css" media="all">
5+
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Poppins%3A600%2C400%7CMontserrat%3A800%2C900%2C700&#038;ver=1597678827' type='text/css' media='all' />
6+
<link rel="stylesheet" type="text/css" href="style.css">
7+
</head>
8+
<body>
9+
<header class="header">
10+
<div class="header-logo">
11+
<a href="index.html">
12+
<img src="logo.png" alt="Code Differently Logo" />
13+
</a>
14+
</div>
15+
<ul class="header-top-menu">
16+
<li><a href="#">Home</a></li>
17+
<li><a href="#">About</a></li>
18+
<li><a href="#">Contact</a></li>
19+
</ul>
20+
<div class="header-cta">
21+
<a class="sign-up-button" href="#">Sign Up</a>
22+
</div>
23+
</header>
24+
<div class="main">
25+
<div class="content">
26+
<article>
27+
<section class="hero-section">
28+
<div class="hero-overlay"></div>
29+
<div class="hero-content">
30+
<h2 class="hero-title">Together we can move the needle of <em class="highlight">diversity in tech.</em></h2>
31+
<div class="hero-text"><span>Code Differently</span> provides hands on training and education through coding classes that gives participants the technical and cognitive skills they need to excel in technology-driven workplaces.</div>
32+
</div>
33+
</section>
34+
<section class="programs-section">
35+
<h2>Our <em class="highlight">Programs</em></h2>
36+
<ul class="programs">
37+
<li class="program">
38+
<h3>1000 Kids Coding</h3>
39+
<p>The Code Differently 1000 Kids Coding program was created to expose New Castle County students to computing and programming. The 1000 Kids Coding courses are designed for all experience levels, no experience required.</p>
40+
</li>
41+
<li class="program">
42+
<h3>Return Ready</h3>
43+
<p>The Code Differently Workforce Training Initiatives were created to help individuals underrepresented in tech reinvent their skills to align with the changing workforce market. If you are ready to start your tech journey, join our talent community today.</p>
44+
</li>
45+
<li class="program">
46+
<h3>Pipeline DevShops</h3>
47+
<p>Pipeline DevShop is a youth work-based learning program. Youth participants experience working in a real software development environment while sharpening their technology and soft skills.</p>
48+
</li>
49+
<li class="program">
50+
<h3>Platform Programs</h3>
51+
<p>Platform programs are designed for high school graduates, college students, career changers, or professionals looking to develop the technology job readiness skills for today’s workforce.</p>
52+
</li>
53+
</ul>
54+
</section>
55+
</article>
56+
</div>
57+
</div>
58+
<footer class="footer">
59+
&copy; 2024 Code Differently
60+
</footer>
61+
</body>
62+
</html>

lesson_20/chukwumaibezim/logo.png

29.2 KB
Loading

lesson_20/chukwumaibezim/style.css

+318
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,318 @@
1+
2+
* {
3+
box-sizing: border-box;
4+
margin: 0;
5+
padding: 0;
6+
}
7+
8+
9+
:root {
10+
11+
font-size: 62.5%; /* 10px for easier rem calculations */
12+
--font-main: 'Poppins', sans-serif;
13+
--font-alt: 'Montserrat', sans-serif;
14+
15+
16+
--color-background: #f5f5f5;
17+
--color-primary: #f47d26;
18+
--color-text: black;
19+
--color-white: white;
20+
--color-overlay: rgba(0, 0, 0, 0.25);
21+
22+
23+
--spacing-main: 3rem;
24+
--spacing-small: 1rem;
25+
--spacing-medium: 2rem;
26+
--spacing-large: 5rem;
27+
28+
29+
--font-weight-bold: bold;
30+
--font-weight-bolder: bolder;
31+
}
32+
33+
34+
body {
35+
font-size: 1.6rem;
36+
background-color: var(--color-background);
37+
font-family: var(--font-main);
38+
-webkit-font-smoothing: antialiased;
39+
}
40+
41+
42+
.header {
43+
display: flex;
44+
justify-content: space-between;
45+
align-items: center;
46+
padding: var(--spacing-main);
47+
position: sticky;
48+
top: 0;
49+
background-color: var(--color-white);
50+
box-shadow: 0 20px 20px rgba(0, 0, 0, 0.1);
51+
max-height: 13rem;
52+
z-index: 1000;
53+
}
54+
55+
.header-logo img {
56+
height: 7.5rem;
57+
}
58+
59+
.header-top-menu {
60+
display: flex;
61+
list-style: none;
62+
gap: var(--spacing-small);
63+
padding-left: var(--spacing-large);
64+
}
65+
66+
.header-top-menu a {
67+
text-decoration: none;
68+
color: var(--color-text);
69+
font-family: var(--font-main);
70+
font-weight: var(--font-weight-bold);
71+
letter-spacing: 0.1rem;
72+
}
73+
74+
.header-top-menu a:hover {
75+
border-bottom: 2px solid var(--color-primary);
76+
}
77+
78+
.sign-up-button {
79+
background-color: var(--color-primary);
80+
color: var(--color-white);
81+
padding: var(--spacing-small) var(--spacing-medium);
82+
border-radius: 0.5rem;
83+
font-family: var(--font-main);
84+
font-weight: var(--font-weight-bold);
85+
letter-spacing: 0.1rem;
86+
text-decoration: none;
87+
}
88+
89+
90+
.hero-section {
91+
position: relative;
92+
background-image: url("hero.jpg");
93+
background-size: cover;
94+
background-position: center top 90px;
95+
height: 71.5rem;
96+
display: flex;
97+
align-items: center;
98+
justify-content: center;
99+
overflow: hidden;
100+
background-attachment: fixed;
101+
}
102+
103+
.hero-overlay {
104+
position: absolute;
105+
width: 100%;
106+
height: 100%;
107+
background-color: var(--color-overlay);
108+
z-index: 1;
109+
}
110+
111+
.hero-content {
112+
position: relative;
113+
color: var(--color-white);
114+
z-index: 3;
115+
font-family: var(--font-main);
116+
line-height: 1.2;
117+
padding-bottom: var(--spacing-large);
118+
}
119+
120+
.hero-title {
121+
font-size: 5.4rem;
122+
z-index: 3;
123+
font-family: var(--font-alt);
124+
padding-left:20rem;
125+
letter-spacing: 0;
126+
}
127+
128+
.hero-title .highlight {
129+
position: relative;
130+
display: inline-block;
131+
font-style: normal;
132+
}
133+
134+
.hero-title .highlight::after {
135+
content: " ";
136+
position: absolute;
137+
display: flex;
138+
width: 50%;
139+
height: 1.5rem;
140+
background-color: var(--color-primary);
141+
padding-left: 23.5rem;
142+
bottom: 0.5rem;
143+
z-index: -1;
144+
}
145+
146+
.hero-text {
147+
font-size: 2rem;
148+
margin-top: var(--spacing-small);
149+
z-index: 3;
150+
background: rgb(36, 62, 144);
151+
padding: var(--spacing-large) var(--spacing-large) var(--spacing-large) 20rem;
152+
max-width: 90%;
153+
height: 12.5rem;
154+
}
155+
156+
.hero-text span {
157+
color: var(--color-primary);
158+
}
159+
160+
/* Programs Section */
161+
.programs-section {
162+
display: flex;
163+
flex-wrap: wrap;
164+
align-items: center;
165+
padding-bottom: var(--spacing-large);
166+
margin: 0 20rem;
167+
}
168+
169+
.programs-section h2 {
170+
font-family: var(--font-alt);
171+
font-size: 3.4rem;
172+
font-weight: var(--font-weight-bolder);
173+
padding-bottom: var(--spacing-large);
174+
padding-top: 20rem;
175+
}
176+
177+
.programs-section em::after {
178+
content: " ";
179+
position: absolute;
180+
display: flex;
181+
width: 50%;
182+
height: 1rem;
183+
background-color: var(--color-primary);
184+
padding-left: 8.9rem;
185+
bottom: 0.3rem;
186+
z-index: -1;
187+
}
188+
189+
.programs {
190+
display: flex;
191+
flex-wrap: wrap;
192+
justify-content: space-between;
193+
list-style: none;
194+
}
195+
196+
.program {
197+
width: 48%;
198+
margin-bottom: var(--spacing-small);
199+
}
200+
201+
.program h3 {
202+
font-family: var(--font-alt);
203+
font-size: 2.2rem;
204+
font-weight: var(--font-weight-bolder);
205+
}
206+
207+
.program p {
208+
font-family: var(--font-main);
209+
font-size: 1.8rem;
210+
padding-top: var(--spacing-main);
211+
}
212+
213+
/* Footer */
214+
.footer {
215+
height: 15rem;
216+
font-family: var(--font-main);
217+
font-size: 1.4rem;
218+
display: flex;
219+
justify-content: center;
220+
align-items: center;
221+
box-shadow: inset 0 20px 20px rgba(0, 0, 0, 0.1);
222+
}
223+
224+
225+
@media (min-width: 1440px){
226+
.hero-content {
227+
margin-right: 50rem;
228+
}
229+
.hero-text {
230+
padding: 3rem 5em 3rem 5rem;
231+
}
232+
}
233+
234+
@media (max-width: 1080px){
235+
.hero-content {
236+
margin-right: 0;
237+
}
238+
.hero-title {
239+
padding-left: 0;
240+
text-align: center;
241+
margin: 0 auto;
242+
font-size: 3.78rem;
243+
width: 80%;
244+
}
245+
.hero-section {
246+
background-size: contain;
247+
height: 45rem;
248+
}
249+
.hero-title .highlight::after {
250+
padding-left: 16.3rem;
251+
height: 1rem;
252+
}
253+
254+
.hero-text {
255+
max-width: 100%;
256+
text-align: left;
257+
padding: 2rem 4rem 2rem 0rem;
258+
}
259+
260+
.programs-section h2 {
261+
font-size: 2.7rem;
262+
padding: 4rem 0rem 2rem 0rem;
263+
}
264+
265+
.programs-section {
266+
margin: 0 8rem;
267+
}
268+
.programs {
269+
flex-direction: column;
270+
}
271+
.program h3 {
272+
font-size: 1.76rem;
273+
font-weight: 400;
274+
}
275+
.program {
276+
width: 100%;
277+
}
278+
.programs-section em::after {
279+
padding-left: 6.9rem;
280+
}
281+
}
282+
283+
@media (max-width: 675px) {
284+
.header-top-menu {
285+
display: none;
286+
}
287+
}
288+
289+
@media (max-width: 480px) {
290+
.header {
291+
padding: 1rem;
292+
}
293+
.header-logo img {
294+
height: 5rem;
295+
}
296+
.header-top-menu {
297+
display: none;
298+
}
299+
.hero-section {
300+
height: 70vh;
301+
background-size: cover;
302+
background-position: top right;
303+
}
304+
.hero-content {
305+
padding-bottom: 0;
306+
}
307+
.hero-title {
308+
font-size: 3.2rem;
309+
width: 100%;
310+
}
311+
.hero-text {
312+
height: fit-content;
313+
padding: 2rem 2rem 2rem 1rem;
314+
}
315+
.programs-section {
316+
margin: 0 2rem;
317+
}
318+
}

0 commit comments

Comments
 (0)