From 2bf2098b5ace5b84a05f27a98926770f3897aaf9 Mon Sep 17 00:00:00 2001 From: Baptiste Date: Fri, 8 Apr 2022 17:42:31 +0200 Subject: [PATCH] coms mise en page --- assets/css/page/coms.css | 60 +++++++++++ assets/css/page/index.css | 14 +-- assets/css/template.css | 24 +++++ coms.php | 209 +++++++++++++++++++------------------- index.php | 2 +- 5 files changed, 188 insertions(+), 121 deletions(-) diff --git a/assets/css/page/coms.css b/assets/css/page/coms.css index e69de29..da4f400 100644 --- a/assets/css/page/coms.css +++ b/assets/css/page/coms.css @@ -0,0 +1,60 @@ +body { + color: white; + background-color: white; +} + +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; + padding: 30px; + font-size: 23px; +} + +section { + display: block; + width: 80%; + padding: 0; + margin: auto; + margin-top: 20px; + align-items: center; + border: 5px solid white; +} + +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: 40px; + font-size: 30px; +} \ No newline at end of file diff --git a/assets/css/page/index.css b/assets/css/page/index.css index 709ef49..e7a9e8b 100644 --- a/assets/css/page/index.css +++ b/assets/css/page/index.css @@ -6,16 +6,4 @@ margin-right: auto; padding: 50px; font-size: 23px; -} - -a.link { - text-decoration: none; - color: #FFDC00; - -webkit-text-stroke: 1px black; -} - -a.link:hover { - color: white; - -webkit-text-stroke: 1px white; -} - +} \ No newline at end of file diff --git a/assets/css/template.css b/assets/css/template.css index 333c2e9..b5cd692 100644 --- a/assets/css/template.css +++ b/assets/css/template.css @@ -26,6 +26,7 @@ main { #title_in_box { padding: 25px; + color: black; } .circle { @@ -48,4 +49,27 @@ main { position: relative; width: 100%; padding-top: 13%; +} + +a.link { + text-decoration: none; + color: #FFDC00; + -webkit-text-stroke: 1px black; +} + +a.link:hover { + color: white; + -webkit-text-stroke: 1px white; +} + +a.linkmail { + font-family: arial, sans-serif; + font-weight: bold; + text-decoration: none; + color: #FFDC00; +} + +a.linkmail:hover { + color: white; + -webkit-text-stroke: 1px white; } \ No newline at end of file diff --git a/coms.php b/coms.php index 149d4e8..8b0514f 100755 --- a/coms.php +++ b/coms.php @@ -1,145 +1,140 @@ - -
-
-

Les Com's

-

La liste de toutes les com's de ta semaine d'accueil, avec les contacts des responsables.

-
-
-

Le Bureau

- +
+
+
+

Les Com's


La liste des responsables (les meilleurs, objectivement ^^)
+
+
+
+
+
+
Le Bureau
+ "; - for($i = 0; $i < count($prenom); $i++) { - echo "
  • "; - echo "

    ".$fonction[$i]."

    "; - echo "

    ".$prenom[$i]." ".$nom[$i]."

    "; - echo "".$mail[$i].""; - echo "
  • "; - } - echo ""; - ?> -
    + echo "
      "; + for($i = 0; $i < count($prenom); $i++) { + echo "
    • "; + echo "
      ".$fonction[$i]."
      "; + echo "

      ".$prenom[$i]." ".$nom[$i]."

      "; + echo "".$mail[$i].""; + echo "
    • "; + } + echo "
    "; + ?> +
    - "; - echo "

    ".$name."

    "; - echo "
    + pkpeach.

    - Fais gagner des points à ton équipe durant la semaine pour lui faire remporter l'aventure ! + Fais gagner des points à ton équipe durant la semaine pour lui faire remporter les INSAGames !

    Si tu souhaite voir le détail des scores, c'est par ici.