-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1d86785
commit 924881a
Showing
7 changed files
with
254 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" href="style.css"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png"> | ||
|
||
<title>Frontend Mentor | Four card feature section</title> | ||
|
||
</head> | ||
|
||
<body> | ||
<header> | ||
<div class="wrapper"> | ||
|
||
<h1>Reliable, efficient delivery <span>Powered by Technology</span></h1> | ||
|
||
<p class="desc">Our Artificial Intelligence powered tools use millions of project data points to ensure that | ||
your | ||
project is successful</p> | ||
|
||
</div> | ||
</header> | ||
|
||
<div class="content"> | ||
|
||
<div class="col"> | ||
<div class="card cyan-border"> | ||
<h3>Supervisor</h3> | ||
<p class="summ">Monitors activity to identify project roadblocks</p> | ||
<img src="./images/icon-supervisor.svg" alt=""> | ||
</div> | ||
</div> | ||
|
||
<div class="col"> | ||
|
||
<div class="card red-border"> | ||
<h3>Team Builder</h3> | ||
<p class="summ">Scans our talent network to create the optimal team for your project</p> | ||
<img src="./images/icon-team-builder.svg" alt=""> | ||
</div> | ||
|
||
<div class="card orange-border"> | ||
<h3>Karma</h3> | ||
<p class="summ">Regularly evaluates our talent to ensure quality</p> | ||
<img src="./images/icon-karma.svg" alt=""> | ||
</div> | ||
|
||
</div> | ||
|
||
<div class="col"> | ||
<div class="card blue-border"> | ||
<h3>Calculator</h3> | ||
<p class="summ">Uses data from past projects to provide better delivery estimates</p> | ||
<img src="./images/icon-calculator.svg" alt=""> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
</body> | ||
|
||
<!-- Reliable, efficient delivery | ||
Powered by Technology | ||
Our Artificial Intelligence powered tools use millions of project data points | ||
to ensure that your project is successful | ||
Supervisor | ||
Monitors activity to identify project roadblocks | ||
Team Builder | ||
Scans our talent network to create the optimal team for your project | ||
Karma | ||
Regularly evaluates our talent to ensure quality | ||
Calculator | ||
Uses data from past projects to provide better delivery estimates --> | ||
|
||
|
||
<!-- <footer> | ||
<p class="attribution"> | ||
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>. | ||
Coded by <a href="#">Your Name Here</a>. | ||
</p> | ||
</footer> --> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); | ||
|
||
:root { | ||
|
||
--Red: hsl(0, 78%, 62%); | ||
--Cyan: hsl(180, 62%, 55%); | ||
--Orange: hsl(34, 97%, 64%); | ||
--Blue: hsl(212, 86%, 64%); | ||
|
||
--Very_Dark_Blue: hsl(234, 12%, 34%); | ||
--Grayish_Blue: hsl(229, 6%, 66%); | ||
--Very_Light_Gray: hsl(0, 0%, 98%); | ||
|
||
--fw_poppins_light: 200; | ||
--fw_poppins_normal: 400; | ||
--fw_poppins_bold: 600; | ||
|
||
--gap: 2rem | ||
} | ||
|
||
*{ | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
img{ | ||
display: block; | ||
max-width: 100%; | ||
} | ||
|
||
h1, h2, h3{ | ||
color: var(--Very_Dark_Blue); | ||
} | ||
|
||
p{ | ||
color: var(--Grayish_Blue); | ||
} | ||
|
||
body{ | ||
font-size: 15px; | ||
font-family: "Poppins", sans-serif; | ||
min-height: 100vh; | ||
background-color: #fafafa; | ||
margin: 2rem; | ||
} | ||
|
||
/* Wrapper */ | ||
|
||
.wrapper{ | ||
text-align: center; | ||
max-width: 500px; | ||
padding-top: 3rem; | ||
margin: auto; | ||
} | ||
|
||
.wrapper h1{ | ||
font-size: 2.3rem; | ||
font-weight: var(--fw_poppins_light); | ||
line-height: 1.45; | ||
} | ||
|
||
.wrapper span{ | ||
font-weight: var(--fw_poppins_bold); | ||
} | ||
|
||
.desc{ | ||
padding: 1rem 0; | ||
line-height: 1.6; | ||
} | ||
|
||
/* Grid section */ | ||
|
||
.content{ | ||
max-width: 1110px; | ||
margin: 3rem auto; | ||
display: flex; | ||
gap: var(--gap); | ||
} | ||
|
||
.content > *{ | ||
flex: 1; | ||
} | ||
|
||
.col{ | ||
display: grid; | ||
gap: var(--gap); | ||
align-items: center; | ||
} | ||
|
||
.card{ | ||
padding: 2rem; | ||
background-color: white; | ||
border-top: 5px solid; | ||
border-radius: 0.5rem; | ||
box-shadow: -5px 5px 1rem hsl(234, 12%, 34%, 0.3); | ||
} | ||
|
||
.card h3{ | ||
font-size: 1.2rem; | ||
margin-bottom: 0.6rem; | ||
} | ||
|
||
.card p{ | ||
font-size: 0.82rem; | ||
line-height: 1.6; | ||
} | ||
|
||
.card img{ | ||
display: block; | ||
margin-left: auto; | ||
margin-top: 2.3rem; | ||
} | ||
|
||
/* Border color */ | ||
|
||
.cyan-border{ | ||
border-color: var(--Cyan); | ||
} | ||
.red-border{ | ||
border-color: var(--Red); | ||
} | ||
.orange-border{ | ||
border-color: var(--Orange); | ||
} | ||
.blue-border{ | ||
border-color: var(--Blue); | ||
} | ||
|
||
/* Footer */ | ||
|
||
.attribution { | ||
font-size: 11px; | ||
text-align: center; | ||
} | ||
|
||
.attribution a { | ||
color: hsl(228, 45%, 44%); | ||
} | ||
|
||
@media screen and (max-width: 750px){ | ||
.wrapper h1{ | ||
font-size: 1.6rem; | ||
} | ||
.wrapper span{ | ||
display: block; | ||
} | ||
.content{ | ||
display: flex; | ||
flex-direction: column; | ||
margin: 2rem auto; | ||
} | ||
.col{ | ||
display: grid; | ||
} | ||
.card img{ | ||
margin-top: 1.3rem; | ||
} | ||
} |