Skip to content

Commit 2318a98

Browse files
authored
feat: adds Dwight's css changes
* Lesson 22: add files, css still incomplete * Lesson 22: update files, css still incomplete 1230 * Lesson 22: update files, css still incomplete 1230-2 * Lesson 22: update files, css still incomplete 1230-3 * Lesson 22: update files, css complete 1231-01 * Lesson 22: update files, css complete 0108-01
1 parent 4f9e5e0 commit 2318a98

File tree

4 files changed

+256
-0
lines changed

4 files changed

+256
-0
lines changed

lesson_22/cdbluejr_template/hero.jpg

329 KB
Loading
Lines changed: 63 additions & 0 deletions
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/cdbluejr_template/logo.png

29.2 KB
Loading

lesson_22/cdbluejr_template/style.css

Lines changed: 193 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
box-sizing: border-box;
5+
font-family: 'Montserrat', 'Poppins';
6+
scroll-behavior: smooth;
7+
}
8+
9+
.header {
10+
display: flex;
11+
justify-content: space-between;
12+
align-items: center;
13+
position: fixed;
14+
padding: 16px 52px;
15+
background-color: white;
16+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
17+
width: 100%;
18+
z-index: 10;
19+
}
20+
.header-top-menu a {
21+
color: #444;
22+
text-decoration: none;
23+
font-family: 'Poppins';
24+
font-weight: bold;
25+
}
26+
.header-logo {
27+
position: absolute; /* Fixes the logo in place when scrolling */
28+
top: 15px;
29+
left: 5px;
30+
background-color: white;
31+
32+
33+
}
34+
.header-cta .sign-up-button {
35+
background-color: rgb(255, 128, 0);
36+
color: white;
37+
padding: 8px 16px;
38+
border-radius: 4px;
39+
text-decoration: none;
40+
font-weight: 500;
41+
font-family: 'Poppins';
42+
}
43+
img {
44+
width: 200px;
45+
height: auto;
46+
}
47+
.header-top-menu {
48+
list-style: none;
49+
height: 75px;
50+
background-color: white;
51+
padding: 0;
52+
margin: 0 auto; /* Centers the menu horizontally */
53+
width: 100% auto; /* Makes the width based on the content */
54+
display: flex; /* Align items horizontally */
55+
margin-left: 250px;
56+
57+
58+
}
59+
.header-top-menu li {
60+
margin-top: 5px;
61+
margin-left: 50px;
62+
width: 25px;
63+
text-align: center;
64+
font-size: 22;
65+
font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
66+
67+
}
68+
.header-cta {
69+
margin-left: 300px;
70+
font-size: 22;
71+
font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
72+
73+
}
74+
75+
sign-up-botton {
76+
}
77+
.body {
78+
79+
}
80+
.content {
81+
82+
83+
}
84+
.hero-section {
85+
padding:100px 20px;
86+
padding-top: 5%;
87+
background-image: url('hero.jpg'); /* Path to the image */
88+
background-size: cover; /* Makes sure the image covers the full width and height */
89+
background-attachment: fixed;
90+
background-position: center; /* Left the image */
91+
background-repeat: no-repeat; /* Prevents the image from repeating */
92+
z-index: 0;
93+
}
94+
.hero-overlay {
95+
96+
}
97+
.hero-content {
98+
margin-top: 50px;
99+
height: 100%; /* Ensure the body takes the full height */
100+
width:100%;
101+
102+
}
103+
.hero-title {
104+
margin-top: 50px;
105+
background-color: (100,100,255,0.5);
106+
font-family: 'Arial', sans-serif;
107+
font-size: 52px;
108+
color: white;
109+
width: 60%;
110+
position:absolute;
111+
112+
}
113+
.hero-content div {
114+
background: #243e90;
115+
}
116+
117+
.hero-text {
118+
left:0.5%;
119+
top:50%;
120+
list-style: none;
121+
padding-top: 25;
122+
padding-left: 200;
123+
padding-bottom: 25;
124+
margin: 0 0; /* Centers the menu horizontally */
125+
max-width: 925px;
126+
font:18px;
127+
position:absolute;
128+
font-size: 19px;
129+
color: white;
130+
}
131+
.hero-text span {
132+
color: #f47d26;
133+
}
134+
135+
/* Programs section */
136+
.programs {
137+
display: grid;
138+
grid-template-columns: 1fr 1fr;
139+
/* Two columns */
140+
gap: 20px;
141+
max-width: fit-content;
142+
}
143+
144+
.programs-section {
145+
background-color: #fff;
146+
z-index: 2;
147+
}
148+
.programs-section li {
149+
width: 600px;
150+
display: inline-block;
151+
margin-right: 30px;
152+
padding: 10px;
153+
border-radius: 5px;
154+
}
155+
156+
.programs-section h2 {
157+
font-weight: 900;
158+
margin-bottom: 70px;
159+
}
160+
161+
.programs li h3 {
162+
margin-bottom: 40px;
163+
font-size: 22px;
164+
}
165+
166+
.programs li p {
167+
font-weight: lighter;
168+
font-family: 'Poppins';
169+
color: #676767;
170+
font-size: small;
171+
font-weight: 400;
172+
}
173+
174+
.hero-title .highlight {
175+
text-decoration: underline;
176+
text-decoration-color: #f47d26;
177+
text-decoration-thickness: 4px;
178+
}
179+
180+
.program {
181+
182+
font-family:'Poppins', sans-serif !important;
183+
font-size:14px !important;
184+
185+
}
186+
.footer {
187+
color: #444;
188+
font-family: 'Poppins';
189+
text-align: center;
190+
font-size: 13px;
191+
padding: 50px;
192+
margin-bottom: 10px;
193+
}

0 commit comments

Comments
 (0)