/* ---- 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-state { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; padding: 8px 16px; background-color: rgba(39, 255, 83, 0.10); color: #7dff98; border: 2px solid #39ff5a; border-radius: 16px; font-size: 13px; font-weight: bold; line-height: 1; } .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; } .project-banner { position: relative; overflow: hidden; } .project-form-card input[type="text"], .project-form-card input[type="url"], .project-form-card input[type="password"], .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; transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; } /* 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; } } /* ---- PAGE HOME ---- */ .quick-links-section { max-width: 1200px; margin: 70px auto; padding: 0 40px; } .quick-links-header { margin-bottom: 28px; } .quick-links-header h2 { margin: 0 0 10px; font-size: 42px; font-weight: 800; color: white; } .quick-links-header p { margin: 0; color: #aaaaaa; font-size: 18px; } .quick-links-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } .quick-link-card { display: flex; flex-direction: column; justify-content: flex-start; min-height: 230px; padding: 30px; background: linear-gradient(180deg, #111116 0%, #0f1420 100%); border: 1px solid #2a2a3e; border-radius: 20px; text-decoration: none; color: white; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; } .quick-link-card:hover { transform: translateY(-6px); border-color: #6c63ff; box-shadow: 0 18px 40px rgba(108, 99, 255, 0.18); } .quick-link-icon { width: 62px; height: 62px; display: flex; align-items: center; justify-content: center; margin-bottom: 26px; border-radius: 16px; background: rgba(108, 99, 255, 0.14); border: 1px solid rgba(108, 99, 255, 0.28); color: #8f88ff; font-size: 26px; } .quick-link-card h3 { margin: 0 0 14px; font-size: 30px; font-weight: 800; color: white; } .quick-link-card p { margin: 0; color: #aaaaaa; font-size: 18px; line-height: 1.7; } /* Responsive */ @media (max-width: 1100px) { .quick-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 700px) { .quick-links-section { padding: 0 20px; margin: 50px auto; } .quick-links-header h2 { font-size: 32px; } .quick-links-header p { font-size: 16px; } .quick-links-grid { grid-template-columns: 1fr; } .quick-link-card { min-height: auto; padding: 24px; } .quick-link-card h3 { font-size: 24px; } .quick-link-card p { font-size: 16px; } }