From 8b15ae849ceedb09d4667dad19ec80ecba2fc1fa Mon Sep 17 00:00:00 2001 From: Vincent Calame Date: Thu, 9 Jan 2020 22:17:13 +0100 Subject: [PATCH] Positionnement et taille des images --- css/ajout.css | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/css/ajout.css b/css/ajout.css index fbd59e3..c0daddd 100644 --- a/css/ajout.css +++ b/css/ajout.css @@ -39,7 +39,16 @@ margin-top: 30px; } -@media screen and (max-width: 600px) { +@media screen and (max-width: 1240px) { + + .spip_documents_right img { + width: 160px; + height: auto; + } +} + + +@media screen and (max-width: 980px) { .spip_documents_right img { width: 120px; @@ -47,3 +56,43 @@ } } + + +@media screen and (max-width: 760px) { + + .spip_documents_right img { + width: 100px; + height: auto; + } + +} + +@media screen and (max-width: 640px) { + + .spip_documents_right img { + width: 80px; + height: auto; + } + +} + +@media screen and (max-width: 512px) { + + .spip_documents_right img { + width: 60px; + height: auto; + } +} + + .spip_documents_right { + margin-left: 5px; + display: block; + } + +.spip_documents_center { + display: block; + margin-top: 15px; + margin-bottom: 15px; + text-align: center; + clear: both; +}