Compare commits

..

2 Commits

Author SHA1 Message Date
BlackAngelTV c0fd8353a6 Refactor contact page styling 2026-05-28 21:55:32 +02:00
BlackAngelTV 6456859e9e feat(contact): redesign contact page 2026-05-28 21:36:13 +02:00
2 changed files with 146 additions and 37 deletions
+111
View File
@@ -0,0 +1,111 @@
@import "./var.css";
html {
scroll-behavior: smooth;
}
body {
margin: 0;
min-height: 100vh;
font-family: "Trebuchet MS", "Segoe UI", sans-serif;
color: var(--generic-text-color);
background:
radial-gradient(circle at top left, rgba(0, 212, 255, 0.18), transparent 24%),
radial-gradient(circle at right center, rgba(255, 165, 0, 0.14), transparent 28%),
linear-gradient(160deg, var(--sidebar-background) 0%, var(--sidebar-select) 50%, var(--background-color) 100%);
}
.contact-header {
max-width: 1120px;
margin: 0 auto;
padding: clamp(2.5rem, 6vw, 5rem) 1.25rem 1.25rem;
text-align: center;
}
.contact-header h1 {
margin: 0;
font-family: "Georgia", "Times New Roman", serif;
font-size: clamp(2.5rem, 7vw, 5.2rem);
line-height: 0.95;
letter-spacing: -0.05em;
color: var(--highlighted-text-color);
}
.contact-header p {
max-width: 62ch;
margin: 1rem auto 0;
color: var(--generic-text-color);
opacity: 0.84;
font-size: 1.05rem;
line-height: 1.8;
}
hr {
width: min(1120px, calc(100% - 2.5rem));
margin: 0 auto;
border: 0;
height: 1px;
background: linear-gradient(90deg, transparent, var(--sidebar-text-highlight), var(--warning-text-color), transparent);
}
main {
width: min(1120px, calc(100% - 2.5rem));
margin: 1.5rem auto 0;
padding: 0 0 3rem;
}
main section {
padding: clamp(1.4rem, 3vw, 2rem);
border-radius: 1.6rem;
border: 1px solid rgba(224, 224, 224, 0.16);
background: linear-gradient(145deg, var(--sidebar-background), var(--sidebar-select));
box-shadow: 0 24px 70px rgba(2, 6, 23, 0.42);
}
main section h2 {
margin: 0 0 0.85rem;
color: var(--highlighted-text-color);
font-family: "Georgia", "Times New Roman", serif;
font-size: clamp(1.4rem, 3vw, 2.1rem);
}
main section p {
margin: 0 0 1rem;
color: var(--generic-text-color);
opacity: 0.9;
line-height: 1.8;
}
main section strong {
color: var(--highlighted-text-color);
}
main section a:not(.button) {
color: var(--sidebar-text-highlight);
text-decoration: underline;
text-underline-offset: 0.15em;
}
main section a:not(.button):hover,
main section a:not(.button):focus-visible {
color: var(--highlighted-text-color);
}
@media (max-width: 700px) {
.contact-header {
padding-top: 2rem;
}
main,
hr {
width: min(100% - 1rem, 1120px);
}
main section {
border-radius: 1.1rem;
}
main section a.button {
width: 100%;
}
}
+34 -36
View File
@@ -1,39 +1,37 @@
<!doctype html> <!DOCTYPE html>
<html lang="fr"> <html lang="fr">
<head> <head>
<meta charset="utf-8" /> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FWS Linux - Contact</title> <title>Contact - Linux OS</title>
<link rel="stylesheet" href="../assets/main-styles/main.css" /> <link rel="stylesheet" href="../assets/styles/styles.css">
</head> <link rel="stylesheet" href="../assets/styles/contact.css">
<body> </head>
<main data-page-content> <body>
<section class="hero">
<p class="eyebrow">Contact</p>
<h1>Tu veux nous joindre ?</h1>
<p class="lead">
Cette page centralise les moyens de contact et les liens utiles pour écrire, appeler, ou retrouver le projet ailleurs.
</p>
<div class="hero-actions">
<a class="button button-primary" href="mailto:contact@fwslinux.fr">Envoyer un mail</a>
<a class="button button-secondary" href="/?p/index/" data-route="index">Retour à l'accueil</a>
</div>
</section>
<section class="grid"> <header class="contact-header">
<article class="card"> <h1>Contactez l'équipe de développement</h1>
<h2>Email</h2> <p>Une question, un bug à signaler ou envie de contribuer ? Voici comment nous joindre.</p>
<p>contact@fwslinux.fr pour les demandes générales et les retours rapides.</p> </header>
</article>
<article class="card"> <hr>
<h2>Téléphone</h2>
<p>+33 0 00 00 00 00 pour les appels ou le support direct.</p> <main>
</article> <section>
<article class="card"> <h2>Notre seul canal officiel actuel</h2>
<h2>Réseaux</h2> <p>Le projet est en plein développement. Pour le moment, nous n'avons pas encore d'adresse email dédiée ni de réseaux sociaux.</p>
<p>Le footer te donne aussi les liens vers GitHub, Instagram et LinkedIn.</p> <p>
</article> <strong>Suivez le projet et ouvrez des Issues / PR ici :</strong>
</section> <br>
</main> <a class="button button-primary" href="https://github.com/You-re-like-Windows-a-bitch/ISO" target="_blank" rel="noopener noreferrer">Notre GitHub</a>
</body> </p>
</section>
<hr>
</main>
</body>
</html> </html>