Skip to content

Commit 30fdc43

Browse files
feat: implements custom css file and website replica (#555)
* feat: implements custom css file and website replica * feat: adds additional changes to custom style.css file
1 parent 93c668c commit 30fdc43

File tree

4 files changed

+214
-0
lines changed

4 files changed

+214
-0
lines changed

lesson_22/karenscss/hero.jpg

329 KB
Loading

lesson_22/karenscss/index.html

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/karenscss/logo.png

29.2 KB
Loading

lesson_22/karenscss/style.css

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
/* General Reset */
2+
* {
3+
margin: 0;
4+
padding: 0;
5+
box-sizing: border-box;
6+
font-family: 'Poppins', sans-serif;
7+
}
8+
9+
/* Header Styles */
10+
.header {
11+
display: flex;
12+
justify-content: space-between;
13+
align-items: center;
14+
padding: 20px;
15+
background-color: rgba(218, 83, 50, 0);
16+
color: #fff;
17+
position: sticky;
18+
top: 0;
19+
background-color: white;
20+
}
21+
22+
.header-logo img {
23+
max-width: 200px;
24+
margin-bottom: 20px;
25+
padding-top: 10px;
26+
}
27+
28+
.header-top-menu {
29+
display: flex;
30+
list-style: none;
31+
gap: 20px;
32+
margin: 0;
33+
padding: 10px;
34+
align-items: center;
35+
justify-content: space-between;
36+
}
37+
38+
.header-top-menu a {
39+
color: black;
40+
text-decoration: none;
41+
font-weight: 600;
42+
}
43+
44+
.header-cta .sign-up-button {
45+
background-color: #ff7b00;
46+
color: #fff;
47+
padding: 10px 20px;
48+
border-radius: 5px;
49+
text-decoration: none;
50+
font-weight: 600;
51+
}
52+
53+
/* Hero Section Styles */
54+
.hero-section {
55+
position: relative;
56+
background-image: url(hero.jpg);
57+
background-size: cover;
58+
background-repeat: no-repeat;
59+
background-position: center 20%;
60+
height: 500px;
61+
display: flex;
62+
justify-content: left;
63+
align-items: center;
64+
color: #fff;
65+
text-align: left;
66+
display: flex;
67+
}
68+
69+
.hero-overlay {
70+
position: absolute;
71+
top: 0;
72+
left: 0;
73+
width: 100%;
74+
height: 100%
75+
}
76+
77+
.hero-content {
78+
position: absolute;
79+
top: 50%;
80+
left: 0;
81+
transform: translateY(-50%);
82+
text-align: left;
83+
padding-left: 0%;
84+
z-index: 2;
85+
}
86+
87+
.hero-title {
88+
font-size: 36px;
89+
font-weight: 700;
90+
margin-bottom: 20px;
91+
}
92+
93+
.hero-text {
94+
align-content: center;
95+
margin: 0;
96+
padding: 0;
97+
box-sizing: border-box;
98+
font-size: 18px;
99+
line-height: 1.5;
100+
max-width: 800px;
101+
text-align: left;
102+
background-color: rgb(53, 53, 193);
103+
}
104+
105+
106+
/* Programs Section Styles */
107+
.programs-section {
108+
padding: 50px 20px;
109+
background-color: #f4f4f4;
110+
text-align: center;
111+
}
112+
113+
.programs-section h2 {
114+
font-size: 36px;
115+
margin-bottom: 20px;
116+
}
117+
118+
.programs {
119+
display: flex;
120+
justify-content: space-around;
121+
flex-wrap: wrap;
122+
}
123+
124+
.program {
125+
background-color: #fff;
126+
padding: 20px;
127+
margin: 10px;
128+
width: 22%;
129+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
130+
border-radius: 8px;
131+
text-align: left;
132+
}
133+
134+
.program h3 {
135+
font-size: 24px;
136+
margin-bottom: 10px;
137+
}
138+
139+
.program p {
140+
font-size: 16px;
141+
line-height: 1.5;
142+
}
143+
144+
/* Footer Styles */
145+
.footer {
146+
text-align: center;
147+
padding: 20px;
148+
background-color: #333;
149+
color: #fff;
150+
margin-top: 50px;
151+
}

0 commit comments

Comments
 (0)