Skip to content

Commit

Permalink
css
Browse files Browse the repository at this point in the history
  • Loading branch information
olgatenison committed Jul 22, 2023
1 parent 7492cbc commit bdf0206
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 41 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 5 additions & 7 deletions scc/reviews.css → css/reviews.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
background-size: contain;
height: 500px; /* You must set a specified height */
background-position: right; /* Center the image */
background-color: #ffffff;
background-color: #fff;
}
.testing__container {
}
Expand All @@ -15,6 +15,7 @@
.testing__wrapper {
display: grid;
grid-template-columns: repeat(2, 1fr);

gap: 30px;
max-width: 700px;
}
Expand All @@ -26,16 +27,13 @@
.testing__txt {
color: #1d1d1d;
opacity: 0.6;
margin-bottom: 30px;
}
.testing__txt:last-child {
color: #1d1d1d;
opacity: 0.6;
margin-bottom: 30px;
margin-bottom: 50px;
}

.testing__img {
}
.testing__btn {
}

.btn {
}
File renamed without changes.
4 changes: 2 additions & 2 deletions how.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
href="https://fonts.googleapis.com/css2?family=Marcellus+SC&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./scc/main.css" />
<link rel="stylesheet" href="./scc/how.css" />
<link rel="stylesheet" href="./css/main.css" />
<link rel="stylesheet" href="./css/how.css" />
<title>How it’s made</title>
</head>

Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
href="https://fonts.googleapis.com/css2?family=Marcellus+SC&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./scc/main.css" />
<link rel="stylesheet" href="./scc/index.css" />
<link rel="stylesheet" href="./css/main.css" />
<link rel="stylesheet" href="./css/index.css" />
<title>Choco</title>
</head>

Expand Down
49 changes: 21 additions & 28 deletions reviews.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
href="https://fonts.googleapis.com/css2?family=Marcellus+SC&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./scc/main.css" />
<link rel="stylesheet" href="./scc/reviews.css" />
<link rel="stylesheet" href="./css/main.css" />
<link rel="stylesheet" href="./css/reviews.css" />
<title>Choco</title>
</head>
<body>
Expand Down Expand Up @@ -57,7 +57,25 @@
<main class="main">
<!-- reviews section -->
<section class="reviews" id="#reviews">
<div class="reviews__container container"></div>
<div class="reviews__container container">
<h2 class="reviews__title title">Tasting with all five senses</h2>

<div class="reviews__wrapper">
<img
class="reviews__photo"
src="paris.jpg"
alt="reviews__photo"
/>
<h3 class="reviews__name">John Smith</h3>
<p class="reviews__txt">
But let's start at the very beginning. Not only how we taste
chocolate is important, but also in which order. Perhaps you
have already had the pleasure of a wine tasting at some point in
your life. As with wine, we start our chocolate tastings with
the lightest white chocolate product,
</p>
</div>
</div>
</section>
<section class="testing">
<div class="testing__container container">
Expand All @@ -83,32 +101,7 @@ <h2 class="testing__title title">Tasting with all five senses</h2>
light varieties and you would no longer be able to taste the
multi-layered aromas.
</p>
<p class="testing__txt">
When it comes to the actual tasting, we always use our five
senses. We start with our eyes. Look at the chocolate bar, the
praline or the SchoggiPlättli. Is the surface nice and smooth
and does it have a nice sheen? Then your sense of touch comes
into play. Chocolate should feel firm and smooth in your hands.
As soon as it has landed in your mouth, it can melt with
pleasure. And don't forget your sense of hearing. Especially if
you have a chocolate bar in front of you, it should make a nice
cracking sound when you break it next to your ear. This
indicates that the chocolate has been well stored and carefully
processed. As a fourth sense, our nose is of course also very
important. Do you smell the products first, what notes and
tastes can you make out? In many cases, flavors even seem more
intense or different to us when we perceive them only with our
nose. Finally, we dedicate ourselves extensively to our sense of
taste. Let the products slowly melt in your mouth and use your
tongue to absorb all the different tastes that the product
offers you. This doesn't just mean ingredients like fruits or
nuts, but also the different flavors you can taste from the
chocolate itself. From fruity sweet to smoky and tart, the
spectrum of cocoa bouquets and intensities is huge.
</p>
</div>

<button type="button" class="testing__btn btn">Buy now</button>
</div>
</section>
</main>
Expand Down
4 changes: 2 additions & 2 deletions shop.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
href="https://fonts.googleapis.com/css2?family=Marcellus+SC&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./scc/main.css" />
<link rel="stylesheet" href="./scc/index.css" />
<link rel="stylesheet" href="./css/main.css" />
<link rel="stylesheet" href="./css/index.css" />
<title>Choco</title>
</head>
<body>
Expand Down

0 comments on commit bdf0206

Please sign in to comment.