first commit

This commit is contained in:
2025-11-02 18:08:53 +01:00
commit cb045fb9e1
23 changed files with 1363 additions and 0 deletions

127
assets/add.css Normal file
View File

@@ -0,0 +1,127 @@
/* --- Body --- */
body {
font-family: 'Segoe UI', Roboto, Arial, sans-serif;
background-color: #f3f0f9;
color: #333;
margin: 0;
padding: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* --- Bande violette en haut --- */
header {
background: linear-gradient(135deg, #6a11cb, #8e2de2);
color: #fff;
padding: 12px 0;
display: flex;
justify-content: center; /* titre centré */
align-items: center;
font-size: 1.3rem;
font-weight: 700;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
/* --- Espace distinct entre header et formulaire --- */
section.form-section {
margin-top: 40px; /* espace entre bande et formulaire */
flex: 1;
display: flex;
justify-content: center;
padding: 20px;
}
/* --- Formulaire stylé --- */
form {
display: flex;
flex-direction: column;
gap: 15px;
background: #fff;
padding: 30px 25px;
border-radius: 10px;
border: 1px solid #e0d4f7;
box-shadow: 0 3px 6px rgba(0,0,0,0.08);
width: 90%;
max-width: 600px;
}
/* --- Labels et Inputs --- */
form label {
display: flex;
flex-direction: column;
font-weight: 600;
color: #5b1dbb;
text-align: left;
}
form input[type="text"],
form textarea {
padding: 12px 15px;
border: 1px solid #dcd0f5;
border-radius: 6px;
font-size: 1rem;
resize: vertical;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
form input[type="text"]:focus,
form textarea:focus {
outline: none;
border-color: #8e2de2;
box-shadow: 0 0 5px rgba(142,45,226,0.5);
}
/* --- Boutons Publier et Annuler --- */
.form-buttons {
display: flex;
justify-content: center;
gap: 15px;
}
button,
a.btn {
padding: 12px 25px;
background: linear-gradient(135deg, #6a11cb, #8e2de2);
color: #fff;
border: none;
border-radius: 6px;
font-size: 1rem;
font-weight: 600;
text-decoration: none;
cursor: pointer;
transition: background 0.3s ease, transform 0.2s ease;
}
button:hover,
a.btn:hover {
background: linear-gradient(135deg, #8e2de2, #6a11cb);
transform: translateY(-2px);
}
/* --- Messages d'erreur --- */
.error {
color: #721c24;
background: #f8d7da;
border: 1px solid #f5c6cb;
padding: 12px;
border-radius: 6px;
width: 90%;
max-width: 600px;
margin-bottom: 15px;
text-align: center;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
/* --- Footer violet --- */
footer {
background: #6a11cb;
color: #fff;
text-align: center;
padding: 15px 0;
width: 100%;
box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
font-size: 0.95rem;
position: fixed;
bottom: 0;
}

81
assets/article.css Normal file
View File

@@ -0,0 +1,81 @@
/* --- Body --- */
body {
font-family: 'Segoe UI', Roboto, Arial, sans-serif;
background-color: #f3f0f9;
color: #333;
margin: 0;
padding: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* --- Bande violette en haut --- */
header {
background: linear-gradient(135deg, #6a11cb, #8e2de2);
height: 50px; /* hauteur réduite */
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
/* --- Main --- */
main {
flex: 1;
margin-top: 20px; /* espace sous header */
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
}
/* --- Titre de l'article --- */
.article-title {
color: #5b1dbb;
font-size: 2rem;
font-weight: 700;
margin-bottom: 20px;
text-align: center;
}
/* --- Article --- */
article {
background: #fff;
padding: 25px 20px;
border-radius: 10px;
border: 1px solid #e0d4f7;
box-shadow: 0 3px 6px rgba(0,0,0,0.08);
width: 90%;
max-width: 800px;
margin-bottom: 20px;
}
/* --- Bouton Retour --- */
a.btn {
padding: 12px 25px;
background: linear-gradient(135deg, #6a11cb, #8e2de2);
color: #fff;
border: none;
border-radius: 6px;
font-size: 1rem;
font-weight: 600;
text-decoration: none;
cursor: pointer;
transition: background 0.3s ease, transform 0.2s ease;
}
a.btn:hover {
background: linear-gradient(135deg, #8e2de2, #6a11cb);
transform: translateY(-2px);
}
/* --- Footer --- */
footer {
background: #6a11cb;
color: #fff;
text-align: center;
padding: 15px 0;
width: 100%;
font-size: 0.95rem;
box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
position: fixed;
bottom: 0;
}

109
assets/board.css Normal file
View File

@@ -0,0 +1,109 @@
/* --- Body --- */
body {
font-family: 'Segoe UI', Roboto, Arial, sans-serif;
background-color: #f3f0f9;
color: #333;
margin: 0;
padding: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* --- Header violet --- */
header {
background: linear-gradient(135deg, #6a11cb, #8e2de2);
color: #fff;
padding: 30px 0 15px 0;
display: flex;
flex-direction: column;
align-items: center;
position: fixed;
top: 0;
left: 0;
width: 100%;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
z-index: 1000;
}
/* --- Titre Tableau de bord --- */
header h1 {
margin: 0;
font-size: 2rem;
font-weight: 700;
}
/* --- Conteneur boutons --- */
.header-buttons {
margin-top: 10px;
display: flex;
gap: 10px;
}
/* --- Boutons violet --- */
.btn {
padding: 10px 20px;
background: linear-gradient(135deg, #6a11cb, #8e2de2);
color: #fff;
border: none;
border-radius: 6px;
font-weight: 600;
text-decoration: none;
cursor: pointer;
transition: background 0.3s ease, transform 0.2s ease;
}
.btn:hover {
background: linear-gradient(135deg, #8e2de2, #6a11cb);
transform: translateY(-2px);
}
/* --- Main contenu --- */
main {
flex: 1;
margin-top: 140px; /* hauteur du header */
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
}
/* --- Tableau stylé --- */
table {
width: 90%;
max-width: 900px;
border-collapse: collapse;
background: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
margin-top: 20px;
}
table th, table td {
padding: 12px 15px;
border-bottom: 1px solid #ddd;
text-align: left;
}
table th {
background-color: #8e2de2;
color: #fff;
}
table tr:hover {
background-color: #f5e9ff;
}
/* --- Footer violet --- */
footer {
background: #6a11cb;
color: #fff;
text-align: center;
padding: 15px 0;
width: 100%;
box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
font-size: 0.95rem;
position: fixed;
bottom: 0;
}

75
assets/delete.css Normal file
View File

@@ -0,0 +1,75 @@
/* --- Body --- */
body {
font-family: 'Segoe UI', Roboto, Arial, sans-serif;
background-color: #f3f0f9;
color: #333;
margin: 0;
padding: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* --- Bande violette en haut --- */
header {
background: linear-gradient(135deg, #6a11cb, #8e2de2);
color: #fff;
padding: 12px 0;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.3rem;
font-weight: 700;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
/* --- Section principale distincte --- */
section.form-section {
margin-top: 40px; /* espace sous header */
flex: 1;
display: flex;
justify-content: center;
padding: 20px;
}
/* --- Formulaire confirmation --- */
form {
display: flex;
flex-direction: column;
gap: 20px;
background: #fff;
padding: 25px 20px;
border-radius: 10px;
border: 1px solid #e0d4f7;
box-shadow: 0 3px 6px rgba(0,0,0,0.08);
width: 90%;
max-width: 500px;
text-align: center;
}
/* --- Boutons Supprimer / Annuler --- */
.form-buttons {
display: flex;
justify-content: center;
gap: 15px;
}
button,
a.btn {
padding: 12px 25px;
background: linear-gradient(135deg, #6a11cb, #8e2de2);
color: #fff;
border: none;
border-radius: 6px;
font-size: 1rem;
font-weight: 600;
text-decoration: none;
cursor: pointer;
transition: background 0.3s ease, transform 0.2s ease;
}
button:hover,
a.btn:hover {
background: linear-gradient(135deg, #8e2de2, #6a11cb);
transform: translateY(-2px);
}

119
assets/login.css Normal file
View File

@@ -0,0 +1,119 @@
/* --- Body --- */
body {
font-family: 'Segoe UI', Roboto, Arial, sans-serif;
background-color: #f3f0f9;
color: #333;
margin: 0;
padding: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center; /* CENTRAGE VERTICAL */
}
/* --- Header fixe violet --- */
nav {
background: linear-gradient(135deg, #6a11cb, #8e2de2);
color: #fff;
padding: 15px 30px;
display: flex;
justify-content: flex-start; /* Accueil à gauche */
align-items: center;
position: fixed;
top: 0;
left: 0;
width: 100%;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
z-index: 1000;
}
nav a {
color: #fff;
text-decoration: none;
font-weight: 600;
font-size: 1.1rem;
}
nav a:hover {
opacity: 0.8;
}
/* --- Conteneur du formulaire et du titre --- */
.login-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 80px; /* espace pour nav fixe */
}
/* --- Titre Connexion --- */
.login-container h1 {
color: #5b1dbb;
margin-bottom: 30px;
text-align: center;
}
/* --- Formulaire centré --- */
form {
display: flex;
flex-direction: column;
gap: 15px;
background: #fff;
padding: 40px 30px;
border-radius: 10px;
border: 1px solid #e0d4f7;
box-shadow: 0 3px 6px rgba(0,0,0,0.08);
width: 90%;
max-width: 400px;
text-align: center;
}
/* --- Inputs --- */
form input[type="text"],
form input[type="password"] {
padding: 12px 15px;
border: 1px solid #dcd0f5;
border-radius: 6px;
font-size: 1rem;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
form input[type="text"]:focus,
form input[type="password"]:focus {
outline: none;
border-color: #8e2de2;
box-shadow: 0 0 5px rgba(142,45,226,0.5);
}
/* --- Bouton Se connecter --- */
form button {
padding: 12px;
background: linear-gradient(135deg, #6a11cb, #8e2de2);
color: #fff;
border: none;
border-radius: 6px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: background 0.3s ease, transform 0.2s ease;
}
form button:hover {
background: linear-gradient(135deg, #8e2de2, #6a11cb);
transform: translateY(-2px);
}
/* --- Footer violet --- */
footer {
background: #6a11cb;
color: #fff;
text-align: center;
padding: 15px 0;
width: 100%;
box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
font-size: 0.95rem;
position: fixed;
bottom: 0;
}

127
assets/modif.css Normal file
View File

@@ -0,0 +1,127 @@
/* --- Body --- */
body {
font-family: 'Segoe UI', Roboto, Arial, sans-serif;
background-color: #f3f0f9;
color: #333;
margin: 0;
padding: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* --- Bande violette en haut --- */
header {
background: linear-gradient(135deg, #6a11cb, #8e2de2);
color: #fff;
padding: 12px 0;
display: flex;
justify-content: center; /* titre centré */
align-items: center;
font-size: 1.3rem;
font-weight: 700;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
/* --- Espace distinct entre header et formulaire --- */
section.form-section {
margin-top: 40px; /* espace entre bande et formulaire */
flex: 1;
display: flex;
justify-content: center;
padding: 20px;
}
/* --- Formulaire stylé --- */
form {
display: flex;
flex-direction: column;
gap: 15px;
background: #fff;
padding: 30px 25px;
border-radius: 10px;
border: 1px solid #e0d4f7;
box-shadow: 0 3px 6px rgba(0,0,0,0.08);
width: 90%;
max-width: 600px;
}
/* --- Labels et Inputs --- */
form label {
display: flex;
flex-direction: column;
font-weight: 600;
color: #5b1dbb;
text-align: left;
}
form input[type="text"],
form textarea {
padding: 12px 15px;
border: 1px solid #dcd0f5;
border-radius: 6px;
font-size: 1rem;
resize: vertical;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
form input[type="text"]:focus,
form textarea:focus {
outline: none;
border-color: #8e2de2;
box-shadow: 0 0 5px rgba(142,45,226,0.5);
}
/* --- Boutons Publier et Annuler --- */
.form-buttons {
display: flex;
justify-content: center;
gap: 15px;
}
button,
a.btn {
padding: 12px 25px;
background: linear-gradient(135deg, #6a11cb, #8e2de2);
color: #fff;
border: none;
border-radius: 6px;
font-size: 1rem;
font-weight: 600;
text-decoration: none;
cursor: pointer;
transition: background 0.3s ease, transform 0.2s ease;
}
button:hover,
a.btn:hover {
background: linear-gradient(135deg, #8e2de2, #6a11cb);
transform: translateY(-2px);
}
/* --- Messages d'erreur --- */
.error {
color: #721c24;
background: #f8d7da;
border: 1px solid #f5c6cb;
padding: 12px;
border-radius: 6px;
width: 90%;
max-width: 600px;
margin-bottom: 15px;
text-align: center;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
/* --- Footer violet --- */
footer {
background: #6a11cb;
color: #fff;
text-align: center;
padding: 15px 0;
width: 100%;
box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
font-size: 0.95rem;
position: fixed;
bottom: 0;
}

137
assets/style.css Normal file
View File

@@ -0,0 +1,137 @@
/* --- Style global --- */
body {
font-family: 'Segoe UI', Roboto, Arial, sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background-color: #f3f0f9;
color: #333;
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* --- En-tête --- */
header {
background: linear-gradient(135deg, #6a11cb, #8e2de2); /* Dégradé violet */
color: #fff;
padding: 15px 30px;
display: flex;
justify-content: space-between; /* Accueil à gauche, Admin à droite */
align-items: center;
position: fixed; /* Fixé en haut */
top: 0;
left: 0;
width: 100%;
z-index: 1000;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
/* --- Liens dans le header --- */
header a {
color: #fff;
text-decoration: none;
font-weight: 600;
font-size: 1.1rem;
transition: opacity 0.2s ease;
}
header a:hover {
opacity: 0.8;
}
/* --- Espace pour éviter que le contenu passe sous le header --- */
main {
flex: 1;
margin-top: 80px; /* Hauteur du header */
padding: 20px;
}
/* --- Titres --- */
h1, h2, h3 {
color: #5b1dbb;
}
/* --- Articles --- */
article {
background: #fff;
padding: 20px;
margin: 15px auto;
width: 90%;
max-width: 800px;
border-radius: 10px;
border: 1px solid #e0d4f7;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
article:hover {
transform: translateY(-3px);
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
/* --- Liens darticles --- */
article h2 a {
color: #8e2de2;
text-decoration: none;
transition: color 0.2s ease;
}
article h2 a:hover {
color: #5b1dbb;
text-decoration: underline;
}
/* --- Tableaux --- */
table {
width: 90%;
margin: 25px auto;
border-collapse: collapse;
background: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
table th, table td {
padding: 12px 15px;
border-bottom: 1px solid #ddd;
}
table th {
background-color: #8e2de2;
color: #fff;
text-align: left;
}
table tr:hover {
background-color: #f5e9ff;
}
/* --- Messages derreur --- */
.error {
color: #721c24;
font-weight: 600;
border: 1px solid #f5c6cb;
background: #f8d7da;
padding: 12px;
border-radius: 6px;
width: 90%;
max-width: 800px;
margin: 10px auto;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
/* --- Pied de page --- */
footer {
background: #6a11cb;
color: #fff;
text-align: center;
padding: 15px 0;
position: fixed; /* Collé en bas */
bottom: 0;
left: 0;
width: 100%;
box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
font-size: 0.95rem;
}