Skip to content

Commit 1ab8730

Browse files
feat: adds Khayla's Styled CSS Assignment (#561)
* Feat: tiktok content creator system * Feat adds ./ksaunders-cd-clone/ folder * Feat: updates styles css to match orginal link * Chore: removing extra file: styles.css * feat: updating styles css * chore: restore settings file Signed-off-by: Anthony D. Mays <[email protected]> --------- Signed-off-by: Anthony D. Mays <[email protected]> Co-authored-by: Anthony D. Mays <[email protected]>
1 parent f269391 commit 1ab8730

File tree

4 files changed

+320
-0
lines changed

4 files changed

+320
-0
lines changed

lesson_22/ksaunders-cd-clone/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/ksaunders-cd-clone/logo.png

29.2 KB
Loading
Lines changed: 257 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,257 @@
1+
/* === Reset and Base === */
2+
* {
3+
margin: 0;
4+
padding: 0;
5+
box-sizing: border-box;
6+
}
7+
8+
body {
9+
font-family: 'Poppins', sans-serif;
10+
background-color: #fff; /* You can change this */
11+
color: #222; /
12+
p {
13+
line-height: 24px;
14+
}
15+
}
16+
17+
/* === Header === */
18+
.header {
19+
top: 0;
20+
position: sticky;
21+
display: flex;
22+
justify-content: space-between;
23+
align-items: center;
24+
padding: 20px;
25+
color: #3c3c3c;
26+
}
27+
28+
.header-logo img {
29+
max-width: 150px;
30+
}
31+
32+
.header-top-menu {
33+
list-style: none;
34+
display: flex;
35+
}
36+
37+
.header-top-menu li {
38+
margin: 0 15px;
39+
}
40+
41+
42+
43+
.header-top-menu a {
44+
color: #3c3c3c;
45+
text-decoration: none;
46+
font-weight: 600;
47+
}
48+
49+
.header-top-menu li::after {
50+
content: "";
51+
position: relative;
52+
display: block;
53+
width: 100%;
54+
height: 2px;
55+
background-color: #f47d26;
56+
transform: scaleX(0);
57+
transition: transform 0.3s ease;
58+
}
59+
60+
.header-top-menu li:hover::after {
61+
transform: scaleX(1);
62+
}
63+
64+
.header-cta .sign-up-button {
65+
background-color: #f47d26; /* Secondary color */
66+
color: #fff;
67+
padding: 10px 20px;
68+
text-decoration: none;
69+
border-radius: 5px;
70+
font-weight: bold;
71+
}
72+
73+
74+
.hero-section {
75+
background: url('hero.jpg') center/cover no-repeat;
76+
color: #fff;
77+
padding: 4rem 2rem;
78+
position: relative;
79+
min-height: 60vh;
80+
padding-left: 0;
81+
82+
}
83+
84+
.hero-overlay {
85+
position: absolute;
86+
top: 0;
87+
left: 0;
88+
right: 0;
89+
bottom: 0;
90+
background-color: rgba(0, 0, 0, 0.5);
91+
}
92+
93+
.hero-content {
94+
position: relative;
95+
z-index: 2;
96+
max-width: 800px;
97+
text-align: center;
98+
}
99+
100+
.hero-title {
101+
font-size: 54px;
102+
margin: 0px 0px 7px ;
103+
font-family: 'Montserrat';
104+
font-weight: 800;
105+
line-height: 1.4;
106+
margin-bottom: 20px;
107+
color: #fff;
108+
}
109+
110+
em.highlight{
111+
color: #fff;
112+
text-decoration: underline;
113+
text-underline-offset: 4px;
114+
text-decoration-color: #f47d26;
115+
text-decoration-thickness: 10px;
116+
text-decoration-skip-ink: none;
117+
}
118+
119+
120+
121+
.hero-text {
122+
font-size: 20px;
123+
font-family: 'poppins';
124+
background-color: #243e90;
125+
padding-top: 3%;
126+
padding-bottom: 3%;
127+
padding-right: 8%;
128+
padding-left: 8%;
129+
}
130+
131+
/* Programs section styles */
132+
133+
.programs {
134+
display: grid;
135+
grid-template-columns: 1fr 1fr;
136+
/* Two columns */
137+
gap: 20px;
138+
max-width: fit-content;
139+
}
140+
141+
.programs-section {
142+
padding: 160px;
143+
margin-left: 60px;
144+
font-size: 25px;
145+
color: #444;
146+
}
147+
148+
.programs-section h2 {
149+
font-weight: 900;
150+
margin-bottom: 70px;
151+
color: #444444;
152+
font-size: 27.2;
153+
font-family: 'Montserrat';
154+
}
155+
156+
.programs-section h2 .highlight {
157+
font-style: normal;
158+
color: #444444;
159+
font-size: 27.2;
160+
font-family: 'Montserrat';
161+
padding: 0px 3px;
162+
text-underline-offset: 1px;
163+
}
164+
165+
.programs-section li {
166+
list-style: none;
167+
}
168+
169+
.programs li h3 {
170+
margin-bottom: 40px;
171+
font-size: 22px;
172+
}
173+
174+
.programs li p {
175+
font-weight: lighter;
176+
font-family: 'Poppins';
177+
color: #676767;
178+
font-size: small;
179+
font-weight: 400;
180+
}
181+
.footer {
182+
text-align: center;
183+
color: #3c3c3c;
184+
margin: 3px 0px 0px;
185+
font: 14px 'Poppins';
186+
}
187+
/* === Media Queries for Responsiveness === */
188+
189+
/* Tablets */
190+
@media (max-width: 768px) {
191+
.header {
192+
flex-direction: column;
193+
align-items: flex-start;
194+
padding: 15px;
195+
}
196+
197+
.header-top-menu {
198+
flex-direction: column;
199+
align-items: flex-start;
200+
width: 100%;
201+
gap: 10px;
202+
}
203+
204+
.hero-title {
205+
font-size: 36px;
206+
}
207+
208+
.hero-text {
209+
font-size: 18px;
210+
padding: 20px;
211+
}
212+
213+
.programs {
214+
grid-template-columns: 1fr; /* Stack programs vertically */
215+
padding: 0 20px;
216+
}
217+
218+
.programs-section {
219+
padding: 60px 20px;
220+
margin-left: 0;
221+
font-size: 20px;
222+
}
223+
}
224+
225+
/* Phones */
226+
@media (max-width: 480px) {
227+
.header-logo img {
228+
max-width: 120px;
229+
}
230+
231+
.hero-title {
232+
font-size: 28px;
233+
}
234+
235+
.hero-text {
236+
font-size: 16px;
237+
padding: 15px;
238+
}
239+
240+
.programs-section h2 {
241+
font-size: 22px;
242+
}
243+
244+
.programs li h3 {
245+
font-size: 18px;
246+
margin-bottom: 20px;
247+
}
248+
249+
.programs li p {
250+
font-size: 14px;
251+
}
252+
253+
.header-top-menu {
254+
gap: 5px;
255+
}
256+
257+
}

0 commit comments

Comments
 (0)