Skip to content

Feat:upload mbtempcopy add css file to html #550

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

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open
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/mbtempcopy/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/mbtempcopy/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>
<header class="header">
<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>
Copy link
Contributor

Choose a reason for hiding this comment

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

The font looks too big compared to the original.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also indentation is quite right either.

<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">
Copy link
Contributor

Choose a reason for hiding this comment

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

The width of these boxes look wrong.

<h3>1000 Kids Coding</h3>
<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; 2024 Code Differently
Copy link
Contributor

Choose a reason for hiding this comment

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

This isn't appearing in the right place

</footer>
</body>
</html>
Binary file added lesson_22/mbtempcopy/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
255 changes: 255 additions & 0 deletions lesson_22/mbtempcopy/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,255 @@
.body{
width: 100%;
height: 5000px;
}

.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
background-color: #fff;
width: 100%;
box-sizing: border-box;
height: 131px;
position: sticky;
top: 0;
z-index: 2;
}
.header-logo {
width: 70px;
height: 75px;
margin-bottom: 0;
display: block;
transition: opacity 0.4s ease;
}
.header-logo a {
display: block;
cursor: pointer;
}
.header-logo img {
width: 226px;
height: 75px;
}
.header-top-menu {
display: flex;
justify-content: space-between;
align-items: center;
width: 50%;
font-size: 16px;

}

.header-top-menu li {
list-style: none;
margin: 0;
padding: 0;
}

.header-top-menu li a {
position: relative;
text-decoration: none;
padding: 10px 20px;
font-size: 16px;
font-weight: 600;
font-family: 'Poppins';
color: #3c3c3c;

}

.header-top-menu li a::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
height: 2px;
width: 0;
background-color: #f39e61;
transition: width 0.3s ease;
}

.header-top-menu li a:hover::after {
width: 100%;
}


.header-cta {
display: flex;
}
.sign-up-button {
background-color: #f47d26;
border: none;
border-radius: 4px;
color: #fff;
width: 100px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
font-weight: 600;
text-decoration: none;
}

.sign-up-button:hover {
background-color: #f39e61;
color: #fff;
}
.main{
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 1570px;

}

.hero-section {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 1000px;
position: relative;
}

.hero-content {
background-image: url(hero.jpg);
background-position: center;
width: 100%;
height: 800px;
background-size: cover;
position: relative;
padding: -100px 0 40px 0;
margin: 0;
color: #fff;
font-size: 40px;
font-weight: bolder;

}
.hero-title {
width: 60%;
height: 100px;
margin: 100px 0 0 -20px;
font-family: 'Montserrat', sans-serif;
font-size: 65px;
font-weight: 800;
line-height: 1.2;
color: #fff;
padding: 100px 20px 20px 20px;
text-align: left;


}
.hero-title .highlight {
position: relative;
display: inline-block;
font-style: normal; /* Optional: removes italic styling */
font-weight: bold;
z-index: 1;
}

.hero-title .highlight::after {
content: "";
position: absolute;
left: 0;
bottom: 10px;
width: 100%;
height: 15px;
background-color: orange; /* Customize your underline color */
z-index: -1;

}


.hero-text{
background-color: #243e90;
background-position: center;
height: 100px;
width: 55%;
padding: 30px 120px;
font-size: 35px;
font-weight: 100;
margin-top: 70px;

}
.hero-text span {
color: #f39e61;
}

.programs-section {
display: flex;
flex-direction: column;

justify-content: center;
align-items: center;
width: 100%;
height: 600px;
margin-left: 40px;
margin-right: 0px;
}

.programs-section h2 {
font-family: "Montserrat", sans-serif;
font-size: 34px;
font-weight: 900;
color: #3c3c3c;
margin-bottom: 1.5rem;
text-align: center;
width: 70%;
display: flex;
flex-direction: flexStart;
padding-left: 30px;
padding-top: 200px;
}

.highlight {
font-family: "Montserrat", sans-serif;
position: relative;
display: inline-block;
font-style: normal; /* Optional: removes italic styling */
font-weight: 900;
padding-left: 30px;
z-index: 1;
}

.highlight::after {
content: "";
position: absolute;
left: 0;
bottom: 0.05em; /* Adjust as needed */
width: 100%;
height: 8px; /* Thickness of the underline */
background-color: orange; /* Customize your underline color */
z-index: -1;
}

.programs-section ul.programs {
width: 60%;
text-decoration: none;
color: #3c3c3c;
font-family: "Montserrat";
font-size: 18px;
font-weight: 600;
font-family: "Poppins";
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1.5rem;
}

.programs-section ul li {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
align-items: center;
width: 50%;
color: #a9a9a9;
font-weight: 100;
}.program h3 {
font-size: 22px;
font-weight: 900;
color: #3c3c3c;
padding: 0 20px;
}