From f35ac9367393a07a7f1b975983315d74797f3849 Mon Sep 17 00:00:00 2001 From: p2405951 Date: Sat, 21 Jun 2025 13:23:17 +0200 Subject: [PATCH] bouton retour html --- index.html | 2 +- mainwindow.cpp | 37 ++++++++++++++++++++++++++++++++++--- 2 files changed, 35 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 085c33d..1ffcd3c 100644 --- a/index.html +++ b/index.html @@ -45,7 +45,7 @@

Liste des parcours

diff --git a/mainwindow.cpp b/mainwindow.cpp index 61c7ef6..ea2ff65 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -250,21 +250,52 @@ void MainWindow::exportHTMLMap(int index) background-color:brown; border-radius:12px; height: 75px; +width:80%; } #fiche h2, #fiche h3, #fiche p, #fiche li { color: white; } #fiche img { - max-width: 100%; - height: auto; + max-width: 50%; + height: 60px; margin-top: 10px; border-radius: 5px; } +.navbar { + display: flex; + width: 100%; + height:60px; + align-items: center; +margin-bottom:20px; + } + + .navbar a { + width: 18%; + text-decoration: none; + } + + .navbar a button { + height: 60px; + background-color: blue; + width: 100%; + border-radius: 12px; + color: white; + font-size: 16px; + padding-right:20px; + } + + .navbar h1 { + width: 80%; + margin-left:20px; + font-size: 24px; + } - +