Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaoes authored Oct 4, 2023
1 parent f88c1a0 commit d9ef51a
Show file tree
Hide file tree
Showing 6 changed files with 173 additions and 0 deletions.
Binary file added images/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/icon-cart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image-product-desktop.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image-product-mobile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&family=Roboto:wght@400;500&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],700&family=Montserrat:wght@500;700&family=Roboto:wght@400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">

<title>Essence</title>
</head>
<body>
<main>
<div class="left_image">
<img src="./images/image-product-desktop.jpg" alt="image-product-desktop">
</div>

<div clas>
<h3>
PERFUME
</h3>

<h1>
Gabrielle Essence Eau De Parfum
</h1>

<p>
A floral, solar and voluptuous interpretation composed by Oliver Polge,
Perfumer-Creator for the House of CHANEL.
</p>

<div class="prices">
<span class="priceAfter">$149.99</span>
<span class="priceBefore">$169.99</span>
</div>

<div class="btn">
<button>
<img src="./images/icon-cart.svg" alt="cart">
Add to Cart
</button>
</div>

</div>
</main>

</body>
</html>
120 changes: 120 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
body {
font-family: 'Montserrat', sans-serif;
font-family: 'Roboto', sans-serif;
font-family: 'Fraunces', serif;
font-family: 'Montserrat', sans-serif;
font-family: 'Roboto', sans-serif;
margin: 0;
background-color: hsl(30, 38%, 92%);
display:flex;
flex-direction:column;
justify-content:center;
}

main {
background-color: hsl(0, 0%, 100%);
display: flex;
height: 500px;
width: 660px;
border-radius: 12px;
margin: auto;
margin-top: 80px;
}

main .left_image img {
border-radius: 12px 0 0 12px;
height: 500px;
width: auto;
}

main h3 {
letter-spacing: 0.4em;
font-family: Montserrat;
font-weight: 500;
color: hsl(228, 12%, 48%);
padding: 28px 0 0px 28px;
font-size: 14px;
margin: 0;
}

main h1 {
margin: 0;
padding: 20px 28px 4px 28px;
font-size: 38px;
font-family: Fraunces;
font-weight: 700;
line-height: 1em;
color: hsl(212, 21%, 14%);
}

main p {
margin: 0;
padding: 20px 28px 4px 28px;
font-size: 16px;
font-family: Montserrat;
font-weight: 500;
color: hsl(228, 12%, 48%);
line-height: 1.5em;
}

main div.prices {
padding: 20px 28px 4px 28px;
display: flex;
align-items: center;
}

main div.prices .priceAfter {
font-family: Fraunces;
color: hsl(158, 36%, 37%);
font-size: 34px;
padding-right: 18px;

}

main div.prices .priceBefore{
text-decoration:line-through;
font-family: Montserrat;
font-size: 14px;
color: hsl(228, 12%, 48%);
}

main .btn {
display: flex;
justify-content: center;
align-items: center;
width: 326.67px;
height: 30px;
margin-top: 50px;
}

main .btn button {
display: flex;
justify-content: center;
align-items: center;
font-family: montserrat;
font-weight: 700;
width: 270.67px;
height: 50px;
background-color: hsl(158, 36%, 37%);
border: none;
border-radius: 8px;
color: #fff;
font-size: 16px;
gap: 10px;
cursor: pointer;
}

main .btn button i {
font-weight: 700;
}

main .btn button:hover {
background-color: hsl(158, 100%, 16%);
}

@media (max-width: 375px) {



}

0 comments on commit d9ef51a

Please sign in to comment.