travail en colab avec alexis et nicolas sur un partage

This commit is contained in:
Ghouar-Toussaint Rafael 2024-06-13 20:17:56 +02:00
parent 5b9fd61d1c
commit 4f3635529d
4 changed files with 54 additions and 44 deletions

View File

@ -1,40 +1,41 @@
/*Pour toutes les pages : */ /*Pour toutes les pages : */
html, body {
html, body {
height: 100%; height: 100%;
margin: 0; margin: 0;
} }
body { body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-height: 100%; min-height: 100%;
} }
#content.index { #content.index {
flex: 1; flex: 1;
} }
footer { footer {
font-size: 15px; /* Taille de police réduite */ font-size: 15px; /* Taille de police réduite */
color: #ffffff; color: #ffffff;
text-align: center; text-align: center;
background-color: #000000e2; background-color: #000000e2;
padding: 5px 0; /* Padding réduit pour moins d'espace vertical */ padding: 5px 0; /* Padding réduit pour moins d'espace vertical */
margin-top: auto; /* Assure que le footer pousse vers le bas */ margin-top: auto; /* Assure que le footer pousse vers le bas */
} }
footer .licence p { footer .licence p {
margin: 5px 0; /* Réduit les marges des paragraphes */ margin: 5px 0; /* Réduit les marges des paragraphes */
} }
footer .licence a { footer .licence a {
color: #ffffff; color: #ffffff;
} }
header {
header {font-size: 23px; font-size: 23px;
background-image: url(../img/ouiouibaguette.jpg); background-image: url(../img/ouiouibaguette.jpg);
padding: 10px; padding: 10px 0;
text-align: center; text-align: center;
} }
@ -43,7 +44,8 @@ footer .licence a {
background-color: #FFFF; background-color: #FFFF;
padding: 6px;} padding: 6px;}
header nav {margin-left: auto; header nav {
margin-left: auto;
margin-right: auto; margin-right: auto;
width: 90%; width: 90%;
display: flex; display: flex;
@ -51,16 +53,17 @@ footer .licence a {
justify-content: space-between; justify-content: space-between;
} }
header nav a {color : black; header nav a {
color : black;
text-decoration: none; text-decoration: none;
} }
/* index.php */ /* index.php */
h1.Hello {font-size: 50px; h1.Hello {
font-size: 50px;
text-align: center; text-align: center;
color: white; color: white;
} }
@ -72,3 +75,4 @@ footer .licence a {
margin-left: 5%; margin-left: 5%;
line-height: 135%; line-height: 135%;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

@ -53,7 +53,7 @@ if (!empty($_REQUEST['login']) && !empty($_REQUEST['password'])) {
<div id="content_cours"> <div class="content_cours">
<header> <header>
<nav> <nav>
@ -73,6 +73,8 @@ if (!empty($_REQUEST['login']) && !empty($_REQUEST['password'])) {
<input type="submit" value="Se connecter"> <input type="submit" value="Se connecter">
</form> </form>
</div>
<footer> <footer>
<div class="licence"> <div class="licence">
@ -86,7 +88,7 @@ if (!empty($_REQUEST['login']) && !empty($_REQUEST['password'])) {
<a href="mailto:alexis.hadjem-brancher@etu.u-pec.fr">Alexis Hadjem-Brancher</a> - <a href="mailto:alexis.hadjem-brancher@etu.u-pec.fr">Alexis Hadjem-Brancher</a> -
<a href="mailto:nicolas1.laurent@etu.u-pec.fr">Nicolas Laurent</a> <a href="mailto:nicolas1.laurent@etu.u-pec.fr">Nicolas Laurent</a>
</p><br> </p><br>
</div>
</footer> </footer>
</body> </body>

View File

@ -1,3 +1,13 @@
<html lang="fr">
<head>
<meta charset="utf-8">
<link rel="icon" href="../img/jo2024.jpg" >
<link rel="stylesheet" href="../css/style.css">
<title>Inscription - Jeux Olympiques</title>
</head>
<body>
<?php <?php
// Informations de connexion à la base de données // Informations de connexion à la base de données
@ -37,16 +47,8 @@ if (!empty($_REQUEST['login']) && !empty($_REQUEST['password'])) {
?> ?>
<html lang="fr">
<head>
<meta charset="utf-8">
<link rel="icon" href="../img/jo2024.jpg" >
<link rel="stylesheet" href="../css/style.css">
<title>Inscription - Jeux Olympiques</title>
</head>
<body>
<div id="content_cours"> <div class="content_cours">
<header> <header>
<nav> <nav>
@ -70,6 +72,8 @@ if (!empty($_REQUEST['login']) && !empty($_REQUEST['password'])) {
</select><br><br> </select><br><br>
<input type="submit" value="Se connecter"> <input type="submit" value="Se connecter">
</form> </form>
</div>
<footer> <footer>
<div class="licence"> <div class="licence">
@ -83,7 +87,7 @@ if (!empty($_REQUEST['login']) && !empty($_REQUEST['password'])) {
<a href="mailto:alexis.hadjem-brancher@etu.u-pec.fr">Alexis Hadjem-Brancher</a> - <a href="mailto:alexis.hadjem-brancher@etu.u-pec.fr">Alexis Hadjem-Brancher</a> -
<a href="mailto:nicolas1.laurent@etu.u-pec.fr">Nicolas Laurent</a> <a href="mailto:nicolas1.laurent@etu.u-pec.fr">Nicolas Laurent</a>
</p><br> </p><br>
</div>
</footer> </footer>
</body> </body>