1
0
Fork 0

add resp + desc prod

This commit is contained in:
KEZEL BENOIT p1907091 2019-12-12 11:55:42 +01:00
parent 3e4c95bdff
commit b1ad8b9b38
8 changed files with 52 additions and 13 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

View file

@ -8,6 +8,7 @@
a{ a{
color: black; color: black;
text-decoration: none;
} }
.header{ .header{
@ -167,7 +168,7 @@ div#slider figure {
} }
/*============================================*/ /*============================================*/
/* TOUT NOS PRODUITS*/
.flex-container { .flex-container {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
@ -178,21 +179,44 @@ div#slider figure {
.flex-container>div { .flex-container>div {
box-shadow: 0.3vw 0.3vw 2px grey; box-shadow: 0.3vw 0.3vw 2px grey;
width: 20%; width: 40%;
margin: 1vw; margin: 1vw;
text-align: center; text-align: center;
font-size: 30px; font-size: 30px;
} }
.flex-container>div>img{ .flex-container>div>a>img{
width: 85%; width: 50%;
} }
.flex-container>div>p{ .flex-container>div>a>p{
font-size: 0px; font-size: 0px;
} }
.flex-container>div:hover p{ .flex-container>div:hover a>p{
font-size: 40px; font-size: 40px;
transition-duration: 0.2s; transition-duration: 0.2s;
} }
.content>h1{
font-size: 60px;
text-align: center;
}
.spec{
text-align: left;
font-size: 20px;
background-color: rgba(255, 255, 255, 0.651);
color: black;
width: 50%;
}
.rupt{
text-align: right;
float: right;
background-color: black;
color: white;
width : 58%;
font-size: 20px;
}
/*============================================*/

View file

@ -1,4 +1,5 @@
@media (min-width:48em){ @media (min-width:48em){
/* NAVBAR */
.header li{ .header li{
float: left; float: left;
} }
@ -16,4 +17,17 @@
.header .menu-icon{ .header .menu-icon{
display: none; display: none;
} }
/*============================================*/
/* TOUT NOS PRODUITS*/
.flex-container>div {
width: 20%;
margin: 1vw;
}
.flex-container>div>a>img{
width: 80%;
}
/*============================================*/
} }

View file

@ -34,13 +34,14 @@
</div> </div>
<div class="content"> <div class="content">
<h1>Nos produits :</h1>
<div class="flex-container"> <div class="flex-container">
<div><img src="Assets/Images/Produits/nao.png" alt><p>Nao</p></div> <div><a href="Assets/Pages/Produits/nao.html"><img src="Assets/Images/Produits/nao.png" alt><p>Nao</p></a></div>
<div><img src="Assets/Images/Produits/valkyrie.png" alt><p>Valkyrie</p></div> <div><div class="rupt">Rutpure de stock</div><a href="#"><img src="Assets/Images/Produits/valkyrie.png" alt><p>Valkyrie</p></a></div>
<div><img src="Assets/Images/Produits/soldat.png" alt><p>Soldat</p></div> <div><a href="Assets/Pages/Produits/r2d2.html"><img src="Assets/Images/Produits/pepper.png" alt><p>Pepper</p></a></div>
<div><img src="Assets/Images/Produits/r2d2.png" alt><p>R2D2</p></div> <div><a href="#"><img src="Assets/Images/Produits/soldat.png" alt><p>Soldat</p></a></div>
<div><img src="Assets/Images/Produits/pepper.png" alt><p>Pepper</p></div> <div><div class="spec">N°1 des ventes</div><a href="Assets/Pages/Produits/r2d2.html"><img src="Assets/Images/Produits/r2d2.png" alt><p>R2D2</p></a></div>
<div><img src="Assets/Images/Produits/terminator.png" alt><p>Terminator</p></div> <div><a href="Assets/Pages/Produits/r2d2.html"><img src="Assets/Images/Produits/terminator.png" alt><p>Terminator</p></a></div>
</div> </div>
</div> </div>