Skip to content

feat: adds Meiko's style.css #552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added lesson_22/meikostephens/hero.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
63 changes: 63 additions & 0 deletions lesson_22/meikostephens/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<html>
<head>
<title>Homepage</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<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">
<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' />
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be extra padding on the left and right.

<header class="header">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Header seems too tall

<div class="header-logo">
<a href="index.html">
<img src="logo.png" alt="Code Differently Logo" />
</a>
</div>
<ul class="header-top-menu">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
<div class="header-cta">
<a class="sign-up-button" href="#">Sign Up</a>
</div>
</header>
<div class="main">
<div class="content">
<article>
<section class="hero-section">
<div class="hero-overlay"></div>
<div class="hero-content">
<h2 class="hero-title">Together we can move the needle of <em class="highlight">diversity in tech.</em></h2>
<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>
</div>
</section>
<section class="programs-section">
<h2>Our <em class="highlight">Programs</em></h2>
<ul class="programs">
<li class="program">
<h3>1000 Kids Coding</h3>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Program titles are to be left aligned.

<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>
</li>
<li class="program">
<h3>Return Ready</h3>
<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>
</li>
<li class="program">
<h3>Pipeline DevShops</h3>
<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>
</li>
<li class="program">
<h3>Platform Programs</h3>
<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>
</li>
</ul>
</section>
</article>
</div>
</div>
<footer class="footer">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't match the website.

&copy; 2024 Code Differently
</footer>
</body>
</html>
Binary file added lesson_22/meikostephens/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
197 changes: 197 additions & 0 deletions lesson_22/meikostephens/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@

.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px 20px;
width: 100%;
box-sizing: border-box;
height: 131px;
background-color: #fff;
position: sticky;
top:0;
z-index:4;
}
.header-logo {
width: 70px;

}
.header-logo img:hover {
cursor: pointer;
}
.header-logo img {
width: 226px;
height: 75px;
background-color: #fff;
}
.header-top-menu {
display: flex;
justify-content: space-between;
align-items: center;
width: 50%;
font-family: Poppins;
font-size: 16px;

}
.header-top-menu li {
list-style: none;
font-weight: 600;

}
.header-top-menu a {
text-decoration: none;
color: #3C3C3C;


}
.header-top-menu li:first-of-type a{
text-decoration:underline;
text-decoration-color: #F47D26;
text-decoration-thickness: 2px;
}
.header-top-menu li a {
position: relative;
text-decoration: none;
color: #3C3C3C;
}
.header-top-menu li a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
left: 0;
bottom: 0;
background-color: #F47D26;
transition: width 0.3s ease;
}
.header-top-menu li a:hover::after {
width: 100%;
}

.header-cta {
display:flex;

}
.sign-up-button {
text-decoration:none;
display: flex;
color:#FFFFFF;
background-color:#F47D26;
font-family: Poppins;
border-radius:5px;
width: 85px;
height:37px;
font-size: 16px;
text-align: center;
justify-content: center;
align-items:center;
font-weight: 500;
}
.sign-up-button:hover {
background-color: #f7954f;
color: #FFFFFF;
cursor: pointer;
}
main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100vh;
padding: 0 20px;
}

.hero-section {
background-image: url(hero.jpg);
height: 600px;
width: 100%;
background-size: cover;
top: 0px;
padding-top: 40px;
background-position: center;
}
.hero-title {
font-family: 'Montserrat', sans-serif;
font-size: 40.5px;
font-weight: 800;
line-height: 1.2;
color: #fff;
margin:0 0 7px;
padding: 40px 20px;
z-index:5;
max-width:60%;
}

.highlight{
position: relative;
display: inline-block;
font-style: normal;
z-index: 1;
}
.highlight::after{
content:"";
position: absolute;
left: 0;
bottom: 0.05em;
width: 100%;
height: 8px;
background-color:#F47D26;
z-index:-1;
}

.hero-text{
background-color:#243890;
font-family:Poppins;
color:#ffffff;
font-size: 20px;
height:50px;
justify-content: center;
align-items: center;
padding: 4%;
background-position: fixed;
max-width: 50%;

}
span{
color:#F47D26;
}
h2{
text-align:left;
font-family: Montserrat;
font-size: 28.9px;
font-weight: 900;
padding-left: 250px;
padding-top: 50px;
}
h3{
font-size: 18.7px;
}
.programs-section ul.programs{
width:60%;
text-decoration: none;
color: #676767;
font-family: Poppins;
display: grid;
grid-template-columns: repeat(2,1fr);
gap: 1.5rem;
list-style: none;
padding-left: 200px;
margin-left: 50px;
}
.programs{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding-top: 20px;
padding-left: 70px;
}
p {
font-size: 18px;
padding-right: 20px;
}
.program {
align-items: center;
justify-items: center;
}