From 0fff477e3bf0975781f3bd8363e0c4d3eb1ce7ad Mon Sep 17 00:00:00 2001 From: thaaoblues Date: Sat, 29 Apr 2023 15:48:49 +0200 Subject: [PATCH] meilleur mise en page --- assets/css/page/coms.css | 64 ---------------------------------------- coms.php | 14 ++++++--- 2 files changed, 10 insertions(+), 68 deletions(-) diff --git a/assets/css/page/coms.css b/assets/css/page/coms.css index 2c16906..e69de29 100644 --- a/assets/css/page/coms.css +++ b/assets/css/page/coms.css @@ -1,64 +0,0 @@ -body { - color: white; - background-color: white; -} - -.box-jaune h1 { - margin: 0 0 0.5em; - padding: 0; -} - -section h1 { - margin: 0; - padding: 10px; -} - -section h4 { - margin: 0; - padding: 10px; -} - -#main_content { - display: block; - background-color: rgba(255,255,255,0); //pour mettre un magnifique fond - width: 40%; - margin-left: auto; - margin-right: auto; - font-size: 1.2rem; -} - -section { - display: block; - width: 80%; - padding: 0; - margin: 20px auto auto; - align-items: center; - border: 5px solid white; - background: rgba(0,0,0,0.5); -} - -section ul { - list-style-type: none; -} - -section li { - margin-bottom: 30px; -} - -section .title_com { - width: 100%; - background-color: white; - color: black; - margin: 0px; - padding: 10px 0px 10px 0px; - -} - -.fonction_bureau { - display: inline-block; - background-color: white; - color: black; - padding: 10px; - margin-top: 0; - font-size: 1.5rem; -} \ No newline at end of file diff --git a/coms.php b/coms.php index b729dee..395e71b 100755 --- a/coms.php +++ b/coms.php @@ -1,11 +1,14 @@
-
Le Bureau
+
+
".$prenom[$i]." ".$nom[$i].""; echo "".$mail[$i].""; echo ""; + echo "
"; } echo ""; ?> @@ -26,8 +30,9 @@ ob_start(); // Start reading html "; - echo "
".$name."
"; + echo "
"; + echo "
".colored_text($name)."
"; + echo "
"; echo "
    "; for($i = 0; $i < count($prenom); $i++) { echo "
  • "; @@ -36,7 +41,8 @@ ob_start(); // Start reading html echo "
  • "; } echo "
"; - echo ""; + + echo "
"; } ?>