This commit is contained in:
Simon CATANESE 2023-01-06 20:35:34 +01:00
parent b1ea9420c7
commit bff2f903ec
8 changed files with 61 additions and 22 deletions

View File

@ -31,8 +31,7 @@
</main> </main>
<div class=pubD> <div class=pubD>
<a href="https://dwarves.iut-fbleau.fr/~catanese/SAE_WEB_2022/index.html" > <a href="https://dwarves.iut-fbleau.fr/~catanese/SAE_WEB_2022/index.html" >
<img src="img/sodaramel.png" alt="" height="100px" width="100px" > <img src="img/pubD.png" alt="">
<h5>Une glycémie trop basse venez voir notre boutique de sodaramel</h5>
</a> </a>
</div> </div>
<?php include("footer.php");?> <?php include("footer.php");?>

View File

@ -13,11 +13,21 @@ html{
body{ body{
display: grid; display: grid;
width:100%; width:100%;
grid-template-columns: 10vw 80vw 10vw; grid-template-columns: 10vw 78.5vw 10vw;
grid-template-rows: auto auto auto; grid-template-rows: auto auto auto;
grid-auto-rows: minmax(auto, auto); grid-auto-rows: minmax(auto, auto);
background:linear-gradient(lightgray, #775cff); background:linear-gradient(lightgray, #775cff);
} }
@media only screen and (max-width: 850px) {
body {
grid-template-columns: 10vw 78vw 10vw;
}
}
@media only screen and (max-width: 550px) {
body {
grid-template-columns: 10vw 77vw 10vw;
}
}
main{ main{
@ -55,16 +65,14 @@ main{
grid-row-start: 2; grid-row-start: 2;
grid-row-end: 2; grid-row-end: 2;
z-index:3; z-index:3;
background-color: green; margin:1%;
} }
.pubD img{
margin-top: 50%;
@media only screen and (max-width: 600px) {
main {
width:100%; width:100%;
background: none; border-color: black;
} border-width: 1px;
border-style: solid;
} }
footer { footer {

View File

@ -9,5 +9,38 @@
border-style:solid; border-style:solid;
border-width:10px; border-width:10px;
border-color: white; border-color: white;
border-radius:100px; border-radius:10px;
}
.title{
text-align: center;
font-size: 200%;
}
.dragndrop{
background: rgba(0, 0, 0, 0.212);
border-style:dotted;
border-width:7px;
border-radius:10px;
width:80%;
margin: auto;
}
.dragndrop:hover{
background: rgba(100, 100, 100, 0.212);
}
.dragndrop img{
margin-left: 46%;
margin-bottom: 20%;
width:8%;
}
.dragndrop:hover img{
margin-left: 45%;
margin-bottom: 17.34%;
width:10%;
}
.dragndrop-title{
text-align: center;
margin-top:10%;
}
.warning{
text-align: center;
color: white;
} }

BIN
img/pubD.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

After

Width:  |  Height:  |  Size: 130 KiB

BIN
img/upload.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -100,8 +100,7 @@
</main> </main>
<div class=pubD> <div class=pubD>
<a href="https://dwarves.iut-fbleau.fr/~catanese/SAE_WEB_2022/index.html" > <a href="https://dwarves.iut-fbleau.fr/~catanese/SAE_WEB_2022/index.html" >
<img src="img/sodaramel.png" alt="" height="100px" width="100px" > <img src="img/pubD.png" alt="">
<h5>Une glycémie trop basse venez voir notre boutique de sodaramel</h5>
</a> </a>
</div> </div>
<?php include("footer.php");?> <?php include("footer.php");?>

View File

@ -24,16 +24,16 @@
<main> <main>
<article class="generalPanel"> <article class="generalPanel">
<p class="title">Publiez votre Meme !</p> <p class="title">Publiez votre Meme !</p>
img drag&drop <div class="dragndrop">
boutons <p class="dragndrop-title">Glissez ou déposez votre image ici</p>
infos <img src="img/upload.png" alt="">
options </div>
<p class="warning">Attention, votre image doit respecter nos <a href="#">conditions d'utilisation</a> !</p>
</article> </article>
</main> </main>
<div class=pubD> <div class=pubD>
<a href="https://dwarves.iut-fbleau.fr/~catanese/SAE_WEB_2022/index.html" > <a href="https://dwarves.iut-fbleau.fr/~catanese/SAE_WEB_2022/index.html" >
<img src="img/sodaramel.png" alt="" height="100px" width="100px" > <img src="img/pubD.png" alt="">
<h5>Une glycémie trop basse venez voir notre boutique de sodaramel</h5>
</a> </a>
</div> </div>
<?php include("footer.php");?> <?php include("footer.php");?>