This commit is contained in:
Simon CATANESE 2022-12-15 17:42:13 +01:00
parent d3d502e85c
commit 00420416c1
15 changed files with 689 additions and 10 deletions

16
css/cat_all.css Normal file
View File

@ -0,0 +1,16 @@
.Liste{
width:100%;
height:100vh;
overflow: scroll;
}
.Product{
float:center;
margin : 5vw;
}
.Product p, .Product h3{
margin-top: -5px;
}

47
css/categories.css Normal file
View File

@ -0,0 +1,47 @@
main{
margin-top: 10%;
}
article{
margin-top: auto;
border: solid;
border-width: 1%;
border-radius: 5%;
background-color: pink;
}
article h2{
text-align: center;
}
.caramels{
float:left;
width:40%;
margin:2%;
}
.sirops{
float:left;
width:40%;
margin:2%;
}
.pubimg{
float:left;
width:40%;
margin:2%;
}
.PD{
float:left;
width:40%;
margin:2%;
}
.Product{
float:left;
margin : 3%;
}
.Product p, .Product h3{
margin-top: -5px;
width:150px;
}

112
css/header copy.css Normal file
View File

@ -0,0 +1,112 @@
header{
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-auto-rows: minmax(auto, 10);
width:100%;
text-align: center;
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
background-color: lightsalmon;
}
.Titre {
grid-column-start:2;
grid-row-start:1;
width:80%;
margin:auto;
margin-top:2%;
z-index:2;
}
.rotate{
position: absolute;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
width:70%;
margin-top: -30%;
z-index:1;
animation: rotation 50s infinite linear;
}
@keyframes rotation {
from {
transform: rotate(0deg);
}
to {
transform: rotate(359deg);
}
}
.rotate2{
position: absolute;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
width:40%;
margin : auto;
margin-top: -15%;
z-index:1;
animation: rotation2 10s infinite linear;
}
@keyframes rotation2 {
from {
transform: rotate(359deg);
}
to {
transform: rotate(0deg);
}
}
.intro{
grid-column-start: 2;
grid-row-start : 2;
}
/*.navbar{
background-color: whitesmoke;
padding-bottom: 10px;
}
.navbar li{
list-style-type: none;
display: inline-block;
}*/
nav{
grid-column-start: 1;
grid-column-end: 4;
z-index:6;
}
.navbar ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
.navbar li {
float: left;
margin-left: 2.7%;
}
.navbar li #tab{
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
.navbar li a:hover {
background-color: #111;
}
.login, .panier{
margin-left: -15px;
background-color: pink;
}
.navbar li #login, #panier{
padding-top: 16px;
}
.active {
background-color: darkred;
}
.active_icon {
background-color: darkred;
margin-left: -15px;
}

View File

@ -5,7 +5,7 @@ header{
width:100%;
text-align: center;
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
background-color: lightsalmon;
background-color: rgb(134, 196, 221);
}
.Titre {
grid-column-start:2;

84
css/index.css Normal file
View File

@ -0,0 +1,84 @@
main{
}
.text-intro{
width:80%;
margin:auto;
border: solid;
border-width: 5px;
background-color: darkorange;
}
.content{
display:grid;
grid-template-columns: auto auto;
grid-template-rows: auto auto;
margin-left: 8%;
}
@media only screen and (min-width: 600px) {
.content{
margin-left: 8%;
}
}
article{
border: solid;
border-width: 1%;
border-radius: 45px;
background-color: rosybrown;
}
article h2{
text-align: center;
}
.NewsLetter{
grid-column-start: 1;
grid-column-end: 1;
grid-row-start: 1;
grid-row-end: 1;
width:35%;
margin:2%;
}
@media only screen and (max-width: 600px) {
.NewsLetter{
margin-left:-8%;
width:45%;
}
}
.Vedette{
grid-column-start: 1;
grid-column-end: 2;
grid-row-start: 1;
grid-row-end: 1;
width:58%;
margin:2%;
margin-left: 40%;
}
.Product{
float:left;
margin : 1.5%;
}
.Product p, .Product h3{
margin-top: -5px;
width:150px;
}
.Product .desc{
font-size: 10px;
}
.Pack{
grid-column-start: 1;
grid-column-end: 2;
grid-row-start: 2;
grid-row-end: 2;
width:96%;
margin:2%;
}
.Pack .Product{
float:left;
}

108
css/panier.css Normal file
View File

@ -0,0 +1,108 @@
main{
display: grid;
grid-template-columns: 1fr, 1fr;
}
.Liste{
grid-column-start: 1;
grid-row-start:1;
background-color: rgba(226, 180, 127, 0.3);
border:solid;
border-color: brown;
border-width:15px;
width:100%;
height:100vh;
overflow: scroll;
}
.Product{
float:left;
margin : 3%;
width:25%;
}
.Product p, .Product h3{
margin-top: -5px;
width:150px;
}
#panier1{
grid-column-start: 2;
grid-row-start:1;
width:80%;
margin:auto;
}
#panier2{
grid-column-start: 1;
grid-column-end: 2;
grid-row-start:1;
width:80%;
height: 100%;
margin:auto;
}
#panier2 form div{
margin:4%;
margin-left: 35%;
}
#panier2 button{
margin:4%;
margin-left: 35%;
}
#panier2 form{
border:solid;
border-color:tan;
margin:4%;
}
#panier3{
height:100vh;
}
.panier h1{
text-align: center;
font-weight: bold;
}
.panier p{
font-weight: bold;
}
.panier li{
margin-left:15%;
}
.panier h1{
text-align: center;
}
.panier button{
position: center;
width:20%;
}
.Ariane{
margin:auto;
margin-left: 25%;
}
.ligne{
width:21%;
height: 2px;
background-color: black;
float:left;
margin-left:2%;
margin-right:2%;
margin-bottom: 10%;
margin-top: 10%;
}
.point{
width:10px;
height:10px;
background-color: white;
border:solid;
border-color: black;
border-width:1px;
border-radius: 50%;
float: left;
margin-bottom: 10%;
margin-top: 10%;
}
#active{
background-color: crimson;
}

103
css/style.css Normal file
View File

@ -0,0 +1,103 @@
html{
font-family: Arial, Helvetica, sans-serif;
background:black;
width:100%;
}
body{
display: grid;
width:100%;
grid-template-columns: 5% 1fr 5%;
grid-template-rows: auto auto auto;
grid-auto-rows: minmax(auto, auto);
background:linear-gradient(lightgray, sandybrown);
}
header{
grid-column-start: 1;
grid-column-end: 4;
grid-row-start: 1;
grid-row-end: 1;
position: static;
}
.rotate{
z-index:1;
pointer-events: none;
}
.rotate2{
z-index:1;
pointer-events: none;
}
.page{
grid-column-start: 1;
grid-column-end: 4;
background:linear-gradient(rgb(189, 184, 184), sandybrown);
z-index:2;
display: grid;
grid-template-columns: auto, auto, auto;
grid-template-rows: 5%, auto, 5%;
grid-auto-rows: minmax(auto, auto);
}
.pubG{
grid-column-start : 1;
grid-column-end: 1;
grid-row-start: 2;
grid-row-end: 2;
z-index:3;
background-color: red;
margin:4%;
}
.pubD{
grid-column-start : 3;
grid-column-end: 3;
grid-row-start: 2;
grid-row-end: 2;
z-index:3;
background-color: green;
}
main{
grid-column-start: 2;
grid-column-end: 2;
grid-row-start: 2;
grid-row-end: 2;
width: 85%;
background: rgba(255, 0, 0, 0.1);
margin-left:1.5%;
margin-right:1.5%;
z-index:3;
}
@media only screen and (max-width: 600px) {
main {
width:100%;
background: none;
}
}
footer {
font-size: 11px;
grid-column-start: 1;
grid-column-end: 4;
grid-row-start: 3;
grid-row-end: 3;
background:rgb(86, 85, 177);
bottom:100vh;
width:100%;
}
footer .divfooter{
float:left;
margin:3%;
}
footer img{
margin-left:10%;
}
form input{
background-color: rgba(255, 255, 255, 0.2);
border: solid;
border-radius: 15px;
}

28
footer.php Normal file
View File

@ -0,0 +1,28 @@
<footer>
<div class="divfooter">
<h3>Les conditions générales :</h3>
<hr class="hr-line">
<p>© 2022, Sodaramel.com, Sodaramel®, <a href="./mentions_legales.html">tous droits réservée.</a></p>
<p>Voir les <a href="cgu.html">Conditions générales d'utilisation</a><p>
<p>Voir les <a href="cgv.html">Conditions générales de vente</a><p>
</div>
<div class="divfooter">
<h3>Catégories importantes</h3>
<hr class="hr-line">
<p><a href="faq.html">Foire au Questions</a></p>
<p><a href="contact.html">Contact</a></p>
<p><a href="about.html">Qui sommes nous ?</a></p>
</div>
<div class="divfooter">
<h3>Nos réseaux sociaux:</h3>
<hr class="hr-line">
<a href="https://twitter.com/home"><img src="img/reseaux/twitter.png" alt="image de Twitter" height="20px" width="20px"></a>
<a href="https://youtube.com"><img src="img/reseaux/youtube.png" alt="image de Youtube" height="20px" width="20px"></a>
<a href="https://instagram.com"><img src="img/reseaux/instagram.png" alt="image de Instagram" height="20px" width="20px"></a>
<a href="https://facebook.com"><img src="img/reseaux/facebook.png" alt="image de facebook" height="20px" width="20px"></a>
</div>
<div class="divfooter">
<a href=#><img src="./img/arrow_up.png" alt="" width=50px></a>
<p>Retour en haut-de-page</p>
</div>
</footer>

19
header.php Normal file
View File

@ -0,0 +1,19 @@
<header>
<img class=rotate src="img/roue.png" alt="">
<img class=rotate2 src="img/roue.png" alt="">
<img class=Titre src="img/sodaramel.png" alt="Créé par Simon Catanese, propriété intellectuelle de Sodaramel®">
<p class="intro">Insuline, quand le caramel ne suffit plus !</p>
<nav class="navbar">
<ul>
<li><a id="tab" href="../index.html">Accueil</a></li>
<li><a class="active" id="tab" href="../Produits/cat_all.html">Tous les produits</a></li>
<li><a id="tab" href="../Produits/categories.html">Catégories</a></li>
<li><a id="tab" href="../newsletter.html">News Letter</a></li>
<li><a id="tab" href="../faq.html">F.A.Q</a></li>
<li><a id="tab" href="../about.html">Qui sommes-nous ?</a></li>
<li><a id="tab" href="../contact.html">Nous contacter</a></li>
<li><a id="login" href="../login.html"><img src="../img/login.png" alt="" width="40px"></a> </li>
<li><a id="panier" href="../panier1.html"><img src="../img/panier.png" alt="" width="40px"></a> </li>
</ul>
</nav>
</header>

BIN
img/arrow_up.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

BIN
img/reseaux/facebook.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
img/reseaux/instagram.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

BIN
img/reseaux/twitter.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
img/reseaux/youtube.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

180
index.php
View File

@ -10,15 +10,177 @@
<meta charset="UTF-8">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="css/header.css" >
<link rel="stylesheet" href="css/style.css" >
<link rel="stylesheet" href="css/index.css" >
<link rel="stylesheet" href="css/cat_all.css" >
</head>
<header>
<img class=rotate src="img/roue.png" alt="">
<img class=rotate2 src="img/roue.png" alt="">
<img class=Titre src="img/sodaramel.png" alt="Créé par Simon Catanese, propriété intellectuelle de Sodaramel®">
<p class="intro">Sodaramel, quand le caramel est coule !</p>
</header>
<body>
<div class="></div>
<?php include("header.php");?>
<div class="page">
<div class=pubG>
<img src="../img/produits/caramel7up.jpg" alt="" height="150px" width="150px">
</div>
<div class=pubD>
<img src="../img/produits/caramel7up.jpg" alt="" height="90px" width="90px">
</div>
<main>
<section class=Liste>
<div class="Product">
<img src="../img/produits/caramel7up.jpg" alt="" height="500vw" width="500vw">
<p>Caramel 7up</p>
<p>4,99 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/caramelbeurresale.jpg" alt="" height="500vw" width="500vw">
<p>Caramel Beurre Salé</p>
<p>4,99 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/caramelcocacola.jpg" alt="" height="500vw" width="500vw">
<p>Caramel Coca-Cola</p>
<p>4,99 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/carameldrpepper.jpg" alt="" height="500vw" width="500vw">
<p>Caramel Dr Pepper</p>
<p>4,99 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/caramelfanta.jpg" alt="" height="500vw" width="500vw">
<p>Caramel Fanta</p>
<p>4,99 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/caramelmonster.jpg" alt="" height="500vw" width="500vw">
<p>Caramel Monster</p>
<p>4,99 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/carameloasis.jpg" alt="" height="500vw" width="500vw">
<p>Cramel Oasis</p>
<p>4,99 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/caramelorangina.jpg" alt="" height="500vw" width="500vw">
<p>Caramel Orangina</p>
<p>4,99 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/caramelpepsi.jpg" alt="" height="500vw" width="500vw">
<p>Caramel Pepsi</p>
<p>4,99 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/caramelredbull.jpg" alt="" height="500vw" width="500vw">
<p>Caramel Redbull</p>
<p>4,99 - En stock</p>
</div><div class="Product">
<img src="../img/produits/caramelsprite.jpg" alt="" height="500vw" width="500vw">
<p>Caramel Sprite</p>
<p>4,99 - En stock</p>
</div><div class="Product">
<img src="../img/produits/caramelswhepps.jpg" alt="" height="500vw" width="500vw">
<p>Caramel Swhepps</p>
<p>4,99 - En stock</p>
</div><div class="Product">
<img src="../img/produits/caramrelmountaindew.jpg" alt="" height="500vw" width="500vw">
<p>Caramel Mountain Dew</p>
<p>4,99 - En stock</p>
</div><div class="Product">
<img src="../img/produits/sirop7up.jpg" alt="" height="500vw" width="500vw">
<p>Sirop 7up</p>
<p>6,85 - En stock</p>
</div><div class="Product">
<img src="../img/produits/siropcocacola.jpg" alt="" height="500vw" width="500vw">
<p>Sirop Coca-Cola</p>
<p>6,85 - En stock</p>
</div><div class="Product">
<img src="../img/produits/siropdrpepper.jpg" alt="" height="500vw" width="500vw">
<p>Sirop DrPepper</p>
<p>6,85 - En stock</p>
</div><div class="Product">
<img src="../img/produits/siropfanta.jpg" alt="" height="500vw" width="500vw">
<p>Sirop Fanta</p>
<p>6,85 - En stock</p>
</div><div class="Product">
<img src="../img/produits/siropmonster.jpg" alt="" height="500vw" width="500vw">
<p>Sirop Monster</p>
<p>6,85 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/siropmountaindew.jpg" alt="" height="500vw" width="500vw">
<p>Sirop Mountain Dew</p>
<p>6,85 - En stock</p>
</div><div class="Product">
<img src="../img/produits/siropoasis.jpg" alt="" height="500vw" width="500vw">
<p>Sirop Oasis</p>
<p>6,85 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/siroporangina.jpg" alt="" height="500vw" width="500vw">
<p>Sirop Orangina</p>
<p>6,85 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/siroppepsi.jpg" alt="" height="500vw" width="500vw">
<p>Sirop Pepsi</p>
<p>6,85 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/siropredbull.jpg" alt="" height="500vw" width="500vw">
<p>Sirop Red Bull</p>
<p>6,85 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/siropsprite.jpg" alt="" height="500vw" width="500vw">
<p>Sirop Sprite</p>
<p>6,85 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/siropswhepps.jpg" alt="" height="500vw" width="500vw">
<p>Sirop Swhepps</p>
<p>6,85 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/packcocaoasis.png" alt="" height="500vw" width="500vw">
<p>Pack Coca Oasis</p>
<p>24,99 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/packcaramel.png" alt="" height="500vw" width="500vw">
<p>Pack 5 paquet Caramel Coca</p>
<p>30,99 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/packcocaoasis.png" alt="" height="500vw" width="500vw">
<p>Pack 5 paquet Caramel Coca</p>
<p>30,99 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/packcaramel.png" alt="" height="500vw" width="500vw">
<p>Pack 5 paquet Caramel Coca</p>
<p>30,99 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/discover.png" alt="" height="500vw" width="500vw">
<p>Figurines Sodaramel pour embouts de crayons</p>
<p>0,99 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/discover.png" alt="" height="500vw" width="500vw">
<p>Peluche Samuel Caramel</p>
<p>8,99 - En stock</p>
</div>
<div class="Product">
<img src="../img/produits/discover.png" alt="" height="500vw" width="500vw">
<p>Figurine Samuel Caramel</p>
<p>6.99 - En stock</p>
</div>
</section>
</main>
</div>
<?php include("footer.php");?>
</body>
</html>