Skip to content

Dmytro and Lucas lab #2127

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
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
12 changes: 6 additions & 6 deletions starter_code/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<body>
<!-- NAVBAR -->
<nav>
<div>
<div class="slack-image">
<img src="./images/slack-logo.png" alt="Slack logo" />

<ul>
Expand All @@ -38,7 +38,7 @@
</ul>
</div>

<div>
<div class="buttons">
<button>
<img src="./images/icon-search.png" alt="Search icon">
</button>
Expand All @@ -64,12 +64,12 @@
<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>Slack is free to try</span> for as long as you'd like.</p>

<div>
<div class="googleb">
<button>Sign up with email</button>

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

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

<div>
Expand Down
102 changes: 102 additions & 0 deletions starter_code/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,105 @@ paragraph yellow: #ECB12F
links blue: #2E71A6
footer links grey: #454245
*/


@media (max-width: 768px) {

nav{
display: flex;
justify-content: space-between;

}


body {
background-color:#540B51;
}
nav > div > img{

width: 100px;
height: 25px;


}
nav > div >ul{
display: none;
}

nav .buttons{

align-items: end;
}

h1{
width: 100vw;
color: white;
font-size: 4em;
font-weight: bold;
text-align: center;
width: 100%;
}
p{
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-weight: bold;
color:white;
text-align: center;
}

span{
color:#ECB12F;
}
img {
max-width: 700px;
}
.googleb{
width: 100%;
flex-direction: column;


}
.googleb > button{
background-color: white;
color: purple;
height: 60px;
border-radius: 15px;
margin-bottom: 20px;
width: 100%;
}

.googleb > span{
align-self: center;
justify-self: center;
}

.googleb img{
display:flex;
width: 50px;
height: 50px;
background-color: #F3EAE2;
align-self: flex-start;
justify-self: start;

}
.googleblue{
align-items: center;
justify-content: center;
background-color: #4285F4 !important;
}
.sponsors {
background-color: #F3EAE2;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.sponsors > p {
color: black;
text-align: center;
font-size: 2em;
}

.sponsors > div > img {
height: 100px;
width: 200px;
}
}