meilleur placement du bouton téléverser + support petits écrans

This commit is contained in:
thaaoblues 2024-09-13 14:23:52 +02:00
parent 99a21e4673
commit 0f0e0f92e3
2 changed files with 14 additions and 7 deletions

View file

@ -1,4 +1,4 @@
@media (hover: none){
@media (max-width: 1000px){
/* For mobile phones: */
.floating-action-btn{
width: auto;
@ -10,9 +10,13 @@
color: black;
background-color: rgba(224, 54, 54, 0.482);
border-bottom: 3px solid rgba(224, 54, 54, 0.482);
position: fixed;
bottom: 2vh;
margin-top: 50vh;
right: 1vw;
padding-left: 10px;
padding-right: 10px;
padding-bottom: 9px;
}
.card{
@ -24,7 +28,6 @@
/* For desktop: */
.floating-action-btn{
position: fixed;
bottom: 5%;
margin-left:1%;
padding: 10px;
padding-top: 0px;
@ -36,7 +39,11 @@
text-decoration: none;
color: black;
border-bottom: 3px solid rgba(224, 54, 54, 0.482);
right: 1vw;
padding-left: 10px;
padding-right: 10px;
padding-bottom: 9px;
bottom:2vh;
}
.card {

View file

@ -73,8 +73,8 @@
</form>
</div>
<a href="televerser.php" class="color-red-tr floating-action-btn">
<div class="ascii-art">
<a href="televerser.php">
<div class="ascii-art color-red-tr floating-action-btn">
============================================
| _ |
| _| |_ |