548 lines
9.8 KiB
CSS
548 lines
9.8 KiB
CSS
/* ---- LE CSS EST SOIT GÉNÉRÉ PAR INTEL ARTI SOIT RÉUTILISÉ D'UN AUTRE PROJET ---- */
|
|
|
|
/* ---- En général ---- */
|
|
|
|
/* Background de page */
|
|
body {
|
|
background-color: #0d0d0d;
|
|
margin: 0;
|
|
font-family: Arial, sans-serif;
|
|
color: white;
|
|
}
|
|
|
|
/* ---- Header de la page ---- */
|
|
|
|
/* header */
|
|
header {
|
|
background-color: #111111;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 15px 40px;
|
|
}
|
|
|
|
/* Titre de la page ou même le Logo */
|
|
.titre-de-page {
|
|
font-weight: bold;
|
|
font-size: 20px;
|
|
text-decoration: none;
|
|
color: white;
|
|
}
|
|
|
|
/* Barre de navigation */
|
|
nav a {
|
|
color: #aaaaaa;
|
|
text-decoration: none;
|
|
margin-left: 10px;
|
|
padding: 8px 15px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
nav a:hover {
|
|
background-color: #1a1a24;
|
|
color: white;
|
|
}
|
|
|
|
/* ---- PAGE LOGIN ---- */
|
|
|
|
/* Centre la carte au milieu de la page */
|
|
.login-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 80vh;
|
|
}
|
|
|
|
/* La carte blanche/grise */
|
|
.login-card {
|
|
background-color: #1a1a2e;
|
|
border-radius: 16px;
|
|
padding: 40px;
|
|
width: 340px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Titre dans la carte */
|
|
.login-card .logo-blanc {
|
|
color: white;
|
|
font-size: 26px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.login-card .logo-violet {
|
|
color: #6c63ff;
|
|
font-size: 26px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Sous-titre */
|
|
.login-card p {
|
|
color: #aaaaaa;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
/* Labels */
|
|
.login-card label {
|
|
display: block;
|
|
text-align: left;
|
|
color: white;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
/* Champs de texte */
|
|
.login-card input[type="text"],
|
|
.login-card input[type="password"] {
|
|
width: 100%;
|
|
background-color: #2a2a3e;
|
|
border: 1px solid #3a3a5e;
|
|
border-radius: 8px;
|
|
color: white;
|
|
padding: 12px;
|
|
margin-bottom: 20px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Bouton connexion */
|
|
.login-card input[type="submit"] {
|
|
width: 100%;
|
|
background-color: #6c63ff;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 8px;
|
|
padding: 14px;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.login-card input[type="submit"]:hover {
|
|
background-color: #5a52e0;
|
|
}
|
|
|
|
/* ---- PAGE AJOUT PROJET ---- */
|
|
.project-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 10px 20px;
|
|
}
|
|
|
|
.project-form-card {
|
|
background-color: #111116; /* Fond très sombre comme sur l'image */
|
|
border: 1px dashed #3a3a5e; /* Bordure pointillée */
|
|
border-radius: 12px;
|
|
padding: 30px;
|
|
width: 800px;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.project-header h2 {
|
|
margin-top: 0;
|
|
margin-bottom: 20px;
|
|
font-size: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.badge-admin {
|
|
color: #6c63ff; /* Ton violet */
|
|
font-size: 14px;
|
|
margin-left: 10px;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.form-row {
|
|
display: flex;
|
|
gap: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.half-width {
|
|
flex: 1;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
color: #aaaaaa;
|
|
margin-bottom: 8px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Inputs reprenant ton style login */
|
|
.project-form-card input[type="text"],
|
|
.project-form-card input[type="url"],
|
|
.project-form-card textarea {
|
|
width: 100%;
|
|
background-color: #1a1a24;
|
|
border: 1px solid #2a2a3e;
|
|
border-radius: 6px;
|
|
color: white;
|
|
padding: 12px;
|
|
margin-bottom: 16px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Correction ici : project-form-card au lieu de project-card */
|
|
.project-form-card textarea {
|
|
min-height: 100px;
|
|
resize: vertical;
|
|
}
|
|
|
|
/* Zone pour l'URL (qui remplace l'upload de fichier) */
|
|
.url-input-zone {
|
|
border: 1px dashed #3a3a5e;
|
|
border-radius: 6px;
|
|
padding: 40px 20px;
|
|
text-align: center;
|
|
background-color: #15151c;
|
|
}
|
|
|
|
.url-input-zone input {
|
|
width: 80%;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
/* Bouton violet */
|
|
.btn-submit {
|
|
background-color: #6c63ff;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 8px;
|
|
padding: 12px 24px;
|
|
font-size: 15px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn-submit:hover {
|
|
background-color: #5a52e0;
|
|
}
|
|
|
|
.projects-title {
|
|
color: white;
|
|
font-size: 22px;
|
|
font-weight: bold;
|
|
margin: 0;
|
|
padding: 0 40px 20px 40px;
|
|
}
|
|
|
|
.projects-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: 24px;
|
|
padding: 0 40px 40px 40px;
|
|
}
|
|
|
|
.projects-list .project-card {
|
|
background-color: #111116;
|
|
border: 1px solid #2a2a3e;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.projects-list .project-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.project-banner img {
|
|
width: 100%;
|
|
height: 220px;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.project-content {
|
|
padding: 20px;
|
|
}
|
|
|
|
.project-content h2 {
|
|
margin: 0 0 12px;
|
|
font-size: 22px;
|
|
color: white;
|
|
}
|
|
|
|
.project-content p {
|
|
margin: 0;
|
|
color: #b8b8c7;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.project-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.tag {
|
|
background-color: rgba(108, 99, 255, 0.15);
|
|
color: #8f88ff;
|
|
border: 1px solid rgba(108, 99, 255, 0.35);
|
|
padding: 6px 12px;
|
|
border-radius: 999px;
|
|
font-size: 13px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* ---- Panel admin ---- */
|
|
|
|
.admin-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-top: 20px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.admin-actions .btn-submit {
|
|
display: inline-block;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btn-edit {
|
|
background-color: #6c63ff;
|
|
}
|
|
|
|
.btn-delete {
|
|
background-color: #a12c2f;
|
|
}
|
|
|
|
.btn-delete:hover {
|
|
background-color: #7e2023;
|
|
}
|
|
|
|
/* ---- FORCER LE FOOTER EN BAS (STICKY FOOTER) ---- */
|
|
html, body {
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
main {
|
|
flex: 1; /* Pousse le footer vers le bas si le contenu est court */
|
|
}
|
|
|
|
/* ---- STYLES DU FOOTER ---- */
|
|
.site-footer {
|
|
background-color: #111116;
|
|
border-top: 1px solid #2a2a3e;
|
|
margin-top: 0;
|
|
padding: 30px 40px 20px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.footer-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 20px;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.footer-copyright {
|
|
color: #aaaaaa;
|
|
margin: 0;
|
|
}
|
|
|
|
.footer-links {
|
|
display: flex;
|
|
gap: 24px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.footer-links a,
|
|
.footer-links .discord-handle {
|
|
color: #aaaaaa;
|
|
text-decoration: none;
|
|
transition: color 0.2s ease, background-color 0.2s ease;
|
|
padding: 6px 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.footer-links a:hover,
|
|
.footer-links .discord-handle:hover {
|
|
color: #6c63ff;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Responsive : mobile */
|
|
@media (max-width: 700px) {
|
|
.footer-content {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
.footer-links {
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
/* ---- PAGE CONTACT ---- */
|
|
|
|
.contact-page {
|
|
width: 100%;
|
|
padding: 60px 20px 80px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.contact-wrapper {
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.contact-card {
|
|
display: grid;
|
|
grid-template-columns: 320px 1fr;
|
|
gap: 32px;
|
|
background-color: #111116;
|
|
border: 1px solid #2a2a3e;
|
|
border-radius: 20px;
|
|
padding: 32px;
|
|
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
|
|
}
|
|
|
|
.contact-info {
|
|
background: linear-gradient(180deg, #161622 0%, #111116 100%);
|
|
border: 1px solid #2a2a3e;
|
|
border-radius: 16px;
|
|
padding: 28px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.contact-title {
|
|
margin: 0 0 10px;
|
|
font-size: 32px;
|
|
font-weight: bold;
|
|
color: white;
|
|
}
|
|
|
|
.contact-name {
|
|
margin: 0 0 18px;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: #cfcfff;
|
|
}
|
|
|
|
.contact-line {
|
|
margin: 0 0 10px;
|
|
font-size: 15px;
|
|
color: #aaaaaa;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.contact-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.contact-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 16px;
|
|
}
|
|
|
|
.contact-form input[type="text"],
|
|
.contact-form input[type="email"],
|
|
.contact-form textarea {
|
|
width: 100%;
|
|
background-color: #1a1a24;
|
|
border: 1px solid #2a2a3e;
|
|
border-radius: 10px;
|
|
color: white;
|
|
padding: 14px 16px;
|
|
font-size: 15px;
|
|
box-sizing: border-box;
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
|
|
}
|
|
|
|
.contact-form textarea {
|
|
min-height: 180px;
|
|
resize: vertical;
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
.contact-form input::placeholder,
|
|
.contact-form textarea::placeholder {
|
|
color: #8f8fa8;
|
|
}
|
|
|
|
.contact-form input:focus,
|
|
.contact-form textarea:focus {
|
|
outline: none;
|
|
border-color: #6c63ff;
|
|
box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.18);
|
|
background-color: #202030;
|
|
}
|
|
|
|
.contact-form input[type="submit"] {
|
|
width: fit-content;
|
|
min-width: 220px;
|
|
background-color: #6c63ff;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 10px;
|
|
padding: 14px 24px;
|
|
font-size: 15px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease, transform 0.2s ease;
|
|
}
|
|
|
|
.contact-form input[type="submit"]:hover {
|
|
background-color: #5a52e0;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.contact-form input[type="submit"]:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
.contact-card {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.contact-info {
|
|
padding: 24px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.contact-page {
|
|
padding: 30px 14px 50px;
|
|
}
|
|
|
|
.contact-card {
|
|
padding: 18px;
|
|
gap: 18px;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.contact-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.contact-title {
|
|
font-size: 26px;
|
|
}
|
|
|
|
.contact-form input[type="submit"] {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
} |