From aa8898ae00beaa0ac7e65e45c5f28199b25a9267 Mon Sep 17 00:00:00 2001 From: polo Date: Sat, 10 May 2025 20:16:56 +0200 Subject: =?UTF-8?q?modification=20de=20page=20en=20mode=20modif=20page,=20?= =?UTF-8?q?d=C3=A9placement=20modif=5Fpage=20js=20et=20css=20et=20MAJ=20BD?= =?UTF-8?q?D,=20vue=20page=20nouvelle=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/body.css | 147 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 146 insertions(+), 1 deletion(-) (limited to 'public/css/body.css') diff --git a/public/css/body.css b/public/css/body.css index 87f71f2..20e53e0 100644 --- a/public/css/body.css +++ b/public/css/body.css @@ -36,4 +36,149 @@ body .infobulle img { vertical-align: middle; -}*/ \ No newline at end of file +}*/ + +main +{ + margin: auto; + /*max-width: 1200px;*/ + background-color: #E3F3FF; + padding: 15px 0; +} +section > h3 +{ + padding: 15px; + margin: 0; + text-align: center; +} +.grid_columns +{ + display: grid; + grid-template-columns: repeat(3, 1fr); +} +@media screen and (max-width: 800px) +{ + .grid_columns + { + grid-template-columns: repeat(2, 1fr); + } +} +@media screen and (max-width: 550px) +{ + .grid_columns + { + display: block; + } +} +.galery_photos +{ + display: flex; + flex-wrap: wrap; + justify-content: space-evenly; +} +.galery_photos .html_from_editor img +{ + max-width: 300px; + max-height: 200px; +} +article +{ + /*display: flex;*/ + background-color: white; + margin: 15px; + padding: 0 15px; + /*min-height: 150px;*/ +} +article .logo2 +{ + vertical-align: middle; + max-width: 200px; + max-height: 200px; + margin-right: 15px; +} +.new_content, .article_content +{ + width: 100%; +} +.new_content +{ + /*max-height: 400;*/ + overflow: hidden; +} +article img +{ + max-width: 100%; /* règle compliquée, vérifier selon la page et la taille de l'image */ + height: auto; +} + +.action_icon +{ + width: 24px; + vertical-align: bottom; + border: transparent 2px solid; /* invisible */ +} +button .action_icon +{ + border: none; +} +.action_icon:hover +{ + background-color: #ffff00; + border-radius: 4px; + border: lightgrey 2px outset; + cursor: pointer; +} +button .action_icon:hover +{ + border: none; +} + +.button_zone +{ + display: flex; +} + +.share +{ + float: right; +} +.article_title_zone +{ + padding: 10px; +} +.under_an_article +{ + display: flex; + justify-content: space-between; + font-size: small; +} +.under_an_article img +{ + width: 24px; + margin-right: 5px; + vertical-align: middle; +} +.article_admin_zone +{ + display: flex; + justify-content: end; +} +section button +{ + color: #ff1d04; + font-size: medium; + border-radius: 4px; + background-color: white; + border: lightgrey 2px outset; /* rend identiques les boutons firefox et chromium */ +} +section button:hover +{ + background-color: #ffff00; + border-radius: 4px; + cursor: pointer; +} + +article a:hover +{ + cursor: pointer; +} \ No newline at end of file -- cgit v1.2.3