From 0f0e0f92e3972866556c2cfddcb56026ff1a13d5 Mon Sep 17 00:00:00 2001 From: thaaoblues Date: Fri, 13 Sep 2024 14:23:52 +0200 Subject: [PATCH] =?UTF-8?q?meilleur=20placement=20du=20bouton=20t=C3=A9l?= =?UTF-8?q?=C3=A9verser=20+=20support=20petits=20=C3=A9crans?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/index.css | 17 ++++++++++++----- index.php | 4 ++-- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/css/index.css b/css/index.css index 2cd959a..015b47e 100644 --- a/css/index.css +++ b/css/index.css @@ -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 { diff --git a/index.php b/index.php index b7a5823..ce819bc 100644 --- a/index.php +++ b/index.php @@ -73,8 +73,8 @@ - -
+ +
============================================ | _ | | _| |_ |