Skip to content
Merged
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
84 changes: 83 additions & 1 deletion homework/week-3-project/CSS/style.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
body {
background-color: #f7f7f7;
font-family: "Montserrat", "sans-serif";
color: #9a9a9a;
color: #9a9a9a;

}

/* Header */
Expand Down Expand Up @@ -224,4 +225,85 @@ opacity:1;
width: 50%;
}

/* Third Page */

.thirdpage {
height: 50%;
width: 100%;
border: 1px solid steelblue;
margin: 0 auto;
background-color: #f5a339;
text-align: center;
position: relative;
font: inherit;
font-size: 14px;
font-weight: 400;
vertical-align: baseline;
margin-top: 10%;
}

.thirdpage h1 {

width: 50%;
display: block;
margin: 25px auto;
margin-top: 100px;
/* border: 1px solid red; */
height: 100px;
font-size: 40px;
line-height: 50px;
text-align: center;
font-weight: 700;
color: #fff;
text-shadow: 0 1px 4px rgba(0,0,0,0.1);

}
.thirdpage p {
width: 50%;
height: 70px;
/* border: 1px solid darkmagenta; */
margin: 10px auto;
text-align: center;
font-size: 22px;
line-height: 30px;
padding-top: .25em;
padding-bottom: .25em;
color: rgb(255, 255, 255);
text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

#thirdpage_area{
width: 20%;
margin: 5px auto 0;
color:#fff;
background: rgba(0,0,0,0.4) !important;
font-size: 18px;
display: inline-block;
border-radius: 4px;
text-align: center;
position: relative;
text-shadow: 0 1px 1px rgba(255,255,255,0.1);
cursor: pointer;
white-space: nowrap;
padding: 12px 16px;
font-weight: 600;
box-sizing: content-box;
transition: all 0.5s ease-in-out;
}
#thirdpage-area:hover{
background: rgba(0,0,0,0.6) !important;
}
#thirdpage_image img {
position: relative;
bottom: 0;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
max-width: 100%;
max-height: 100%;
height: 100%;
width: 50%;
}


16 changes: 16 additions & 0 deletions homework/week-3-project/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,21 @@ <h1>We don’t store your <br>personal information. Ever.</h1>
</div>
</section>

<section>
<div class="thirdpage">
<h1>We don’t follow you <br>around with ads.</h1>
<p>We don’t store your search history. We therefore have nothing <br>
to sell to advertisers that track you across the Internet.</p>

<a href="">
<div id="thirdpage_area">Add DuckDuckGo to Chrome</div>
</a>
<div id="thirdpage_image">
<img src="https://duckduckgo.com/assets/onboarding/bathroomguy/2-ghost-v2.svg" alt="">

</div>
</div>
</section>