Skip to content

done #2122

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 1 commit into
base: master
Choose a base branch
from
Open

done #2122

Show file tree
Hide file tree
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
35 changes: 20 additions & 15 deletions starter_code/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<div>
<img src="./images/slack-logo.png" alt="Slack logo" />

<ul>
<ul class="menu">
<li>
<a href="#">Product</a>
</li>
Expand All @@ -38,7 +38,7 @@
</ul>
</div>

<div>
<div class="nav-buttons">
<button>
<img src="./images/icon-search.png" alt="Search icon">
</button>
Expand All @@ -64,12 +64,11 @@
<div>
<h1>Great teamwork starts with a digital HQ</h1>

<p>Slack is free to try for as long as you'd like.</p>
<p><span class="yellow-text">Slack is free</span> to try for as long as you'd like.</p>

<div>
<div class="header-buttons">
<button>Sign up with email</button>

<button>
<button class="google-button">
<img src="./images/logo-google.png" alt="Google logo" />
<span>Sign up with Google</span>
</button>
Expand All @@ -83,7 +82,7 @@ <h1>Great teamwork starts with a digital HQ</h1>
</header>

<main>
<section>
<section class="companies">
<p>Trusted by companies all over the world</p>

<div>
Expand All @@ -97,7 +96,7 @@ <h1>Great teamwork starts with a digital HQ</h1>

</section>

<section>
<section class="teams">
<h3>Teams large and small rely on Slack</h3>
<p>Slack securely scales up to support collaboration at the world’s biggest companies.</p>

Expand Down Expand Up @@ -129,29 +128,35 @@ <h3>Teams large and small rely on Slack</h3>
</ul>
</section>

<section>
<section class="welcome">
<h3>Welcome to your new digital HQ</h3>

<button>Try for free</button>
<button>Talk to sales</button>
<button class="invert-button">Talk to sales</button>
</section>

</main>

<footer>
<ul>
<hr>
<ul class="menu-footer">
<li>Status</li>
<li>Privacy</li>
<li>Terms</li>
<li>Cookie Preferences</li>
<li>Contact Us</li>
<li>Change Region</li>
<li>Download Slack</li>
<li class="icons">
<img src="./images/icon-region.png" alt="change region icon">
<span>Change Region</span>
</li>
<li class="icons blue-text">
<img src="./images/icon-download.png" alt="">
<span>Download Slack</span>
</li>
</ul>

<hr>

<ul>
<ul class="menu-social">
<li>
<i class="fab fa-twitter"></i>
</li>
Expand Down
226 changes: 226 additions & 0 deletions starter_code/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,229 @@ paragraph yellow: #ECB12F
links blue: #2E71A6
footer links grey: #454245
*/
* {
box-sizing: border-box;
}

body {
font-family: sans-serif;
margin: 0;
font-weight: bold;
}

img {
width: 100%;
}

header {
background-color: #540B51;
color: #ffffff;
text-align: center;
display: flex;
flex-direction: column;
}


h1 {
margin: 0;
color: #ffffff;
font-size: 2.5em;
}

nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background-color: #540B51;
}

nav img {
width: 110px;
}

button {
text-align: center;
text-transform: uppercase;
font-weight: bold;
background-color: #ffffff;
color: #540B51;
padding: 15px 0;
width: 100%;
box-shadow: none;
border: 1px solid #fff;
border-radius: 5px;
margin-bottom: 15px;
}

ul {
list-style: none;
padding: 0;
}

footer {
padding: 20px;
color: #454245;
}

footer small {
margin: 20px 0;
}

hr {
margin: 0;
border: 1px solid #d9d9d9;
}

small {
font-weight: lighter;
display: block;
color: #6f6c6f;
text-align: center;
}

.menu {
display: none;
}

.nav-buttons {
display: flex;
justify-content: space-between;
align-items: center;
}

.nav-buttons button {
background-color: transparent;
border: none;
}

.nav-buttons button img {
width: 22px;
margin-left: 20px;
}

.header-buttons {
display: flex;
flex-direction: column;
padding: 20px;
}

.invert-button {
background-color: transparent;
color: #ffffff;
}

.google-button {
background-color: #4285F4;
/*position: relative;*/
}

.google-button img {
width: 40px;
/*position: absolute;
top: 0;
left: 0;*/
}

.yellow-text {
color: #ECB12F;
}

.blue-text {
color: #2E71A6;
}

.companies {
padding: 20px;
background-color: #F3EAE2;
}

.companies p {

text-align: center;
text-transform: uppercase;
font-size: 0.9em;
}

.companies div {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}

.companies div img {
height: 35px;
width: auto;
margin: 15px 0;
}

.teams {
text-align: center;
padding: 20px;
}

.teams h3 {
font-size: 2em;
color: #540B51;

}

.teams ul {
display: flex;
flex-direction: column;
}

.teams ul li {
padding: 0 70px;
margin: 20px 0;
}

.teams ul li p {
margin: 0;
}

.teams ul span {
font-size: 3.5em;
color: #540B51;
}

.welcome {
background-color: #540B51;
color: #ffffff;
text-align: center;
padding: 20px;
}

.welcome h3 {
font-size: 2em;
}

.menu-footer {
display: flex;
flex-direction: column;
}

.menu-footer li {
margin: 15px 0;
}

.menu-footer .icons {
display: flex;
align-items: center;
}


.menu-footer .icons img {
width: 18px;
height: auto;
margin-right: 8px;
}

.menu-social {
display: flex;
justify-content: space-between;
}

.menu-social .fab {
font-size: 1.5em;
}