Skip to content

Commit c36112b

Browse files
authored
feat: adds Ezra's css implementation (#556)
1 parent 8240919 commit c36112b

File tree

4 files changed

+278
-0
lines changed

4 files changed

+278
-0
lines changed

lesson_22/ezra/hero.jpg

329 KB
Loading

lesson_22/ezra/index.html

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<html>
2+
<head>
3+
<title>Homepage</title>
4+
<meta name="viewport" content="width=device-width, initial-scale=1" />
5+
<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">
6+
<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' />
7+
<link rel="stylesheet" type="text/css" href="style.css">
8+
</head>
9+
<body>
10+
<header class="header">
11+
<div class="header-logo">
12+
<a href="index.html">
13+
<img src="logo.png" alt="Code Differently Logo" />
14+
</a>
15+
</div>
16+
<ul class="header-top-menu">
17+
<li><a href="#">Home</a></li>
18+
<li><a href="#">About</a></li>
19+
<li><a href="#">Contact</a></li>
20+
</ul>
21+
<div class="header-cta">
22+
<a class="sign-up-button" href="#">Sign Up</a>
23+
</div>
24+
</header>
25+
<div class="main">
26+
<div class="content">
27+
<article>
28+
<section class="hero-section">
29+
<div class="hero-overlay"></div>
30+
<div class="hero-content">
31+
<h2 class="hero-title">Together we can move the needle of <em class="highlight">diversity in tech.</em></h2>
32+
<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>
33+
</div>
34+
</section>
35+
<section class="programs-section">
36+
<h2>Our <em class="highlight">Programs</em></h2>
37+
<ul class="programs">
38+
<li class="program">
39+
<h3>1000 Kids Coding</h3>
40+
<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>
41+
</li>
42+
<li class="program">
43+
<h3>Return Ready</h3>
44+
<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>
45+
</li>
46+
<li class="program">
47+
<h3>Pipeline DevShops</h3>
48+
<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>
49+
</li>
50+
<li class="program">
51+
<h3>Platform Programs</h3>
52+
<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>
53+
</li>
54+
</ul>
55+
</section>
56+
</article>
57+
</div>
58+
</div>
59+
<footer class="footer">
60+
&copy; 2024 Code Differently
61+
</footer>
62+
</body>
63+
</html>

lesson_22/ezra/logo.png

29.2 KB
Loading

lesson_22/ezra/style.css

+215
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,215 @@
1+
/* General Reset and Base Styles */
2+
* {
3+
margin: 0;
4+
padding: 0;
5+
box-sizing: border-box;
6+
}
7+
8+
body {
9+
font-family: 'Poppins', sans-serif;
10+
line-height: 1.6;
11+
color: #333;
12+
background-color: #fff;
13+
}
14+
15+
a {
16+
text-decoration: none;
17+
color: inherit;
18+
}
19+
20+
ul {
21+
list-style: none;
22+
}
23+
24+
/* Header */
25+
.header {
26+
display: flex;
27+
justify-content: space-between;
28+
align-items: center;
29+
padding: 20px 40px;
30+
background-color: white;
31+
position: sticky;
32+
top: 0;
33+
z-index: 3;
34+
}
35+
36+
.header-logo img {
37+
max-height: 50px;
38+
}
39+
.header-top-menu {
40+
display: flex;
41+
justify-content: space-between;
42+
align-items: center;
43+
width: 50%;
44+
font-size: 16px;
45+
46+
}
47+
48+
.header-top-menu li {
49+
list-style: none;
50+
margin: 0;
51+
padding: 0;
52+
}
53+
54+
.header-top-menu li a {
55+
position: relative;
56+
text-decoration: none;
57+
padding: 10px 20px;
58+
font-size: 16px;
59+
font-weight: 600;
60+
font-family: 'Poppins';
61+
color: #3c3c3c;
62+
63+
}
64+
65+
.header-top-menu li a::after {
66+
content: '';
67+
position: absolute;
68+
left: 0;
69+
bottom: 0;
70+
height: 2px;
71+
width: 0;
72+
background-color: #eb5b21;
73+
transition: width 0.3s ease;
74+
}
75+
76+
.header-top-menu li a:hover::after {
77+
width: 100%;
78+
}
79+
80+
.sign-up-button {
81+
background-color: #ff6600;
82+
color: #fff;
83+
padding: 10px 10px;
84+
border-radius: 6px;
85+
font-weight: 600;
86+
}
87+
88+
.sign-up-button:hover {
89+
background-color: #f97218;
90+
cursor: pointer;
91+
}
92+
93+
/* Hero Section */
94+
.hero-section {
95+
position: relative;
96+
background-image: url('hero.jpg');
97+
min-height: 60vh;
98+
display: flex;
99+
justify-content: center;
100+
padding-left: 40px;
101+
text-align: center;
102+
color: white;
103+
background-position: center;
104+
}
105+
106+
.hero-overlay {
107+
position: absolute;
108+
109+
z-index: 1;
110+
}
111+
112+
.hero-content {
113+
position: relative;
114+
z-index: 2;
115+
max-width: 500px;
116+
margin-right: auto;
117+
padding-bottom: 200px;
118+
}
119+
120+
.hero-title {
121+
font-size: 2.5rem;
122+
font-weight: 700;
123+
font-family: Montserrat;
124+
z-index: 4;
125+
max-width: 60%;
126+
text-align: left;
127+
128+
}
129+
130+
131+
132+
.highlight {
133+
position: relative;
134+
color: inherit;
135+
}
136+
137+
.highlight::after {
138+
content: '';
139+
position: absolute;
140+
left: 0;
141+
bottom: 0.3em;
142+
width: 100%;
143+
height: 8px;
144+
background-color: #ff6600;
145+
z-index: -1;
146+
}
147+
148+
149+
150+
.hero-text {
151+
font-size: 1.15rem;
152+
color: #eee;
153+
background-color: #3624ae;
154+
padding-top: 60px;
155+
padding-bottom: 40px;
156+
margin-top: 10 auto;
157+
max-width: 70%;
158+
159+
160+
161+
}
162+
.hero-content {
163+
max-width: 65%;
164+
margin-left: 20px;
165+
margin-top:200px;
166+
margin-bottom: 2px;
167+
168+
169+
}
170+
span {
171+
color: #ff6600;
172+
}
173+
174+
/* Programs Section */
175+
.programs-section {
176+
padding: 60px 40px;
177+
text-align: left;
178+
}
179+
180+
.programs-section h2 {
181+
font-size: 2rem;
182+
margin-bottom: 40px;
183+
}
184+
185+
.programs-section .highlight {
186+
color: black;
187+
}
188+
189+
.programs {
190+
display: flex;
191+
flex-wrap: wrap;
192+
justify-content: space-around;
193+
gap: 30px;
194+
}
195+
196+
.program {
197+
198+
padding: 50px;
199+
border-radius: 10px;
200+
max-width: 600px;
201+
}
202+
203+
.program h3 {
204+
font-size: 1.3rem;
205+
color: #222;
206+
margin-bottom: 10px;
207+
}
208+
209+
/* Footer */
210+
.footer {
211+
text-align: center;
212+
padding: 20px;
213+
color: #000000;
214+
font-size: 0.9rem;
215+
}

0 commit comments

Comments
 (0)