feat: Mise à jour du style

This commit is contained in:
Simon 2024-02-02 13:49:39 +01:00
parent fc5c2f4972
commit 5cdf4f4104
5 changed files with 42 additions and 41 deletions

14
assets/styles/footer.scss Normal file
View File

@ -0,0 +1,14 @@
.footer, .footer .content {
min-height: inherit;
width: inherit;
}
.footer p {
padding: 0;
}
.footer a {
font-family: 'Tox Typewriter';
font-weight: normal;
font-style: normal;
}

22
assets/styles/header.scss Normal file
View File

@ -0,0 +1,22 @@
.header {
height: var(--header-height);
/* background-image: url(https://source.unsplash.com/random/1080x720/?Kombucha); */
background-image: url(/images/fond.webp);
background-repeat: none;
background-size: cover;
background-position: center;
text-align: center;
.title {
padding: calc(var(--h1-size) / 4);
background-color: var(--color-red3);
color: var(--color-white);
line-height: .5;
text-align: right;
small {
color: var(--color-yellow2);
font-size: calc(var(--h1-size) / 2);
}
}
}

View File

@ -1,2 +1,4 @@
@import "reset.scss";
@import "style.scss";
@import "style.scss";
@import "header.scss";
@import "footer.scss";

View File

@ -42,7 +42,7 @@ body {
--color-black: black;
--gutter: 4rem;
--header-height: 90vh;
--header-height: 60vh;
--bottle-width: 100px;
--bottle-height: 300px;
@ -86,29 +86,7 @@ body {
/* DESIGN */
.header {
height: var(--header-height);
/* background-image: url(https://source.unsplash.com/random/1080x720/?Kombucha); */
background-image: url(../images/fond.webp);
background-repeat: none;
background-size: cover;
background-position: center;
text-align: center;
}
.header h1 {
padding: calc(var(--h1-size) / 4);
background-color: var(--color-red3);
color: var(--color-white);
line-height: .5;
text-align: right;
}
.header h1 small {
color: var(--color-yellow2);
font-size: calc(var(--h1-size) / 2);
}
.container, header, footer {
.box, .container {
margin: 0;
padding: 0;
display: flex;
@ -173,21 +151,6 @@ body {
z-index: -1;
}
.footer, .footer .content {
min-height: inherit;
width: inherit;
}
.footer p {
padding: 0;
}
.footer a {
font-family: 'Tox Typewriter';
font-weight: normal;
font-style: normal;
}
.gamme h2 { text-align: center }
.gamme .boxes { flex-wrap: wrap; gap: calc(var(--gutter) * 2) var(--gutter); max-width: 1400px; margin: 0 auto; }
.gamme .box {

View File

@ -1,4 +1,4 @@
<footer class="footer color -red3">
<footer class="box footer color -red3">
<div class="content">
<p>
E-mail : <a href="mailto:murielle@takubeh.fr">murielle@takubeh.fr</a><br>