Refactor contact page styling
This commit is contained in:
+75
-157
@@ -1,193 +1,111 @@
|
||||
@import "./var.css";
|
||||
|
||||
.contact-page {
|
||||
display: grid;
|
||||
gap: 1.25rem;
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
.contact-hero {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
|
||||
gap: 1.25rem;
|
||||
padding: clamp(1.25rem, 3vw, 2rem);
|
||||
border-radius: 1.25rem;
|
||||
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 right, rgba(125, 211, 252, 0.18), transparent 32%),
|
||||
linear-gradient(180deg, rgba(11, 19, 36, 0.92), rgba(8, 16, 29, 0.96));
|
||||
border: 1px solid rgba(148, 163, 184, 0.16);
|
||||
box-shadow: var(--shadow);
|
||||
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-hero-copy,
|
||||
.contact-hero-card,
|
||||
.contact-card,
|
||||
.contact-panel {
|
||||
position: relative;
|
||||
.contact-header {
|
||||
max-width: 1120px;
|
||||
margin: 0 auto;
|
||||
padding: clamp(2.5rem, 6vw, 5rem) 1.25rem 1.25rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.contact-hero-copy h1 {
|
||||
margin: 0 0 0.75rem;
|
||||
font-family: "Georgia", "Palatino Linotype", serif;
|
||||
font-size: clamp(2.3rem, 5vw, 4rem);
|
||||
line-height: 0.98;
|
||||
letter-spacing: -0.02em;
|
||||
.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-hero-copy .lead {
|
||||
.contact-header p {
|
||||
max-width: 62ch;
|
||||
margin-bottom: 1.25rem;
|
||||
margin: 1rem auto 0;
|
||||
color: var(--generic-text-color);
|
||||
opacity: 0.84;
|
||||
font-size: 1.05rem;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.contact-hero-card {
|
||||
align-self: stretch;
|
||||
padding: 1.25rem;
|
||||
border-radius: 1rem;
|
||||
background: rgba(15, 23, 42, 0.72);
|
||||
border: 1px solid rgba(125, 211, 252, 0.16);
|
||||
display: grid;
|
||||
align-content: center;
|
||||
gap: 0.75rem;
|
||||
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);
|
||||
}
|
||||
|
||||
.contact-hero-label,
|
||||
.contact-kicker {
|
||||
margin: 0;
|
||||
color: var(--accent);
|
||||
font-size: 0.82rem;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
font-weight: 700;
|
||||
main {
|
||||
width: min(1120px, calc(100% - 2.5rem));
|
||||
margin: 1.5rem auto 0;
|
||||
padding: 0 0 3rem;
|
||||
}
|
||||
|
||||
.contact-hero-card strong {
|
||||
font-size: clamp(1.2rem, 2vw, 1.55rem);
|
||||
color: var(--text);
|
||||
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);
|
||||
}
|
||||
|
||||
.contact-hero-card p,
|
||||
.contact-help,
|
||||
.contact-card p,
|
||||
.contact-panel p,
|
||||
.contact-panel li {
|
||||
color: var(--muted);
|
||||
line-height: 1.7;
|
||||
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);
|
||||
}
|
||||
|
||||
.contact-grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.6fr) minmax(290px, 0.9fr);
|
||||
gap: 1.25rem;
|
||||
align-items: start;
|
||||
main section p {
|
||||
margin: 0 0 1rem;
|
||||
color: var(--generic-text-color);
|
||||
opacity: 0.9;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.contact-main,
|
||||
.contact-sidebar {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
main section strong {
|
||||
color: var(--highlighted-text-color);
|
||||
}
|
||||
|
||||
.contact-main h2 {
|
||||
margin: 0;
|
||||
font-family: "Georgia", "Palatino Linotype", serif;
|
||||
font-size: clamp(1.5rem, 2.8vw, 2rem);
|
||||
}
|
||||
|
||||
.contact-methods {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.contact-card,
|
||||
.contact-panel {
|
||||
padding: 1.1rem;
|
||||
border-radius: 1rem;
|
||||
border: 1px solid rgba(148, 163, 184, 0.16);
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
box-shadow: 0 16px 30px rgba(2, 6, 23, 0.22);
|
||||
}
|
||||
|
||||
.contact-card h3,
|
||||
.contact-panel h2 {
|
||||
margin: 0.25rem 0 0.65rem;
|
||||
color: var(--text);
|
||||
font-family: "Georgia", "Palatino Linotype", serif;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.contact-card a,
|
||||
.contact-inline-links a {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.contact-link {
|
||||
display: inline-flex;
|
||||
margin-top: 0.5rem;
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.contact-link:hover {
|
||||
main section a:not(.button) {
|
||||
color: var(--sidebar-text-highlight);
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 0.15em;
|
||||
}
|
||||
|
||||
.contact-checklist,
|
||||
.contact-steps {
|
||||
margin: 0.75rem 0 0;
|
||||
padding-left: 1.15rem;
|
||||
display: grid;
|
||||
gap: 0.45rem;
|
||||
}
|
||||
|
||||
.contact-inline-links {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.contact-inline-links a {
|
||||
text-decoration: none;
|
||||
padding: 0.45rem 0.7rem;
|
||||
border-radius: 999px;
|
||||
background: rgba(125, 211, 252, 0.08);
|
||||
border: 1px solid rgba(125, 211, 252, 0.18);
|
||||
}
|
||||
|
||||
.contact-inline-links a:hover {
|
||||
background: rgba(125, 211, 252, 0.14);
|
||||
}
|
||||
|
||||
.contact-panel-soft {
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
}
|
||||
|
||||
.contact-quick-links {
|
||||
display: grid;
|
||||
gap: 0.7rem;
|
||||
margin: 1rem 0 0.85rem;
|
||||
}
|
||||
|
||||
.contact-help {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.contact-hero,
|
||||
.contact-grid,
|
||||
.contact-methods {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
main section a:not(.button):hover,
|
||||
main section a:not(.button):focus-visible {
|
||||
color: var(--highlighted-text-color);
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.contact-page {
|
||||
gap: 1rem;
|
||||
.contact-header {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
|
||||
.contact-hero,
|
||||
.contact-card,
|
||||
.contact-panel {
|
||||
border-radius: 0.9rem;
|
||||
main,
|
||||
hr {
|
||||
width: min(100% - 1rem, 1120px);
|
||||
}
|
||||
|
||||
main section {
|
||||
border-radius: 1.1rem;
|
||||
}
|
||||
|
||||
main section a.button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
+29
-93
@@ -1,101 +1,37 @@
|
||||
<!doctype html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Contactez FWS Linux par email, via les réseaux, ou pour proposer une amélioration du projet."
|
||||
/>
|
||||
<title>Contact - FWS Linux</title>
|
||||
<link rel="stylesheet" href="../assets/styles/main.css" />
|
||||
<link rel="stylesheet" href="../assets/styles/contact.css" />
|
||||
<link rel="icon" type="image/png" href="/p/assets/img/logo.png" />
|
||||
</head>
|
||||
<body>
|
||||
<main data-page-content>
|
||||
<section class="contact-page">
|
||||
<header class="contact-hero">
|
||||
<div class="contact-hero-copy">
|
||||
<p class="eyebrow">Contact</p>
|
||||
<h1>Parle-nous de ton besoin, on te répond vite.</h1>
|
||||
<p class="lead">
|
||||
Pour une question technique, une idée d'amélioration ou un retour sur la distribution, utilise le canal le plus simple pour toi.
|
||||
</p>
|
||||
<div class="hero-actions">
|
||||
<a class="button button-primary" href="mailto:contact@fwslinux.fr?subject=Contact%20FWS%20Linux">Envoyer un mail</a>
|
||||
<a class="button button-secondary" href="/?p/dl/" data-route="dl">Voir les téléchargements</a>
|
||||
</div>
|
||||
</div>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Contact - Linux OS</title>
|
||||
<link rel="stylesheet" href="../assets/styles/styles.css">
|
||||
<link rel="stylesheet" href="../assets/styles/contact.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<aside class="contact-hero-card">
|
||||
<p class="contact-hero-label">Canal recommandé</p>
|
||||
<strong>contact@fwslinux.fr</strong>
|
||||
<p>
|
||||
Idéal pour les demandes générales, les bugs, les suggestions et les questions sur l'installation.
|
||||
</p>
|
||||
</aside>
|
||||
<header class="contact-header">
|
||||
<h1>Contactez l'équipe de développement</h1>
|
||||
<p>Une question, un bug à signaler ou envie de contribuer ? Voici comment nous joindre.</p>
|
||||
</header>
|
||||
|
||||
<section class="contact-grid" aria-labelledby="contact-methods-title">
|
||||
<div class="contact-main">
|
||||
<h2 id="contact-methods-title">Moyens de contact</h2>
|
||||
<hr>
|
||||
|
||||
<div class="contact-methods">
|
||||
<article class="contact-card contact-card-highlight">
|
||||
<p class="contact-kicker">Email</p>
|
||||
<h3>Réponse la plus rapide</h3>
|
||||
<p>Écris à <a href="mailto:contact@fwslinux.fr">contact@fwslinux.fr</a> pour les questions générales, les bugs ou les retours produit.</p>
|
||||
<a class="contact-link" href="mailto:contact@fwslinux.fr?subject=Contact%20FWS%20Linux">Ouvrir un mail</a>
|
||||
</article>
|
||||
|
||||
<article class="contact-card">
|
||||
<p class="contact-kicker">Support projet</p>
|
||||
<h3>Dis-nous ce que tu veux faire</h3>
|
||||
<p>Installation, compatibilité, environnement de bureau ou packaging: précise ton contexte pour qu’on puisse aller droit au but.</p>
|
||||
<ul class="contact-checklist">
|
||||
<li>Version utilisée</li>
|
||||
<li>Matériel concerné</li>
|
||||
<li>Étape où le souci apparaît</li>
|
||||
</ul>
|
||||
</article>
|
||||
|
||||
<article class="contact-card">
|
||||
<p class="contact-kicker">Réseaux</p>
|
||||
<h3>Suivre le projet</h3>
|
||||
<p>Tu peux aussi retrouver FWS Linux sur les pages liées au projet et dans le footer du site.</p>
|
||||
<div class="contact-inline-links">
|
||||
<a href="https://github.com/" target="_blank" rel="noreferrer">GitHub</a>
|
||||
<a href="https://www.instagram.com/" target="_blank" rel="noreferrer">Instagram</a>
|
||||
<a href="https://www.linkedin.com/" target="_blank" rel="noreferrer">LinkedIn</a>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<aside class="contact-sidebar">
|
||||
<article class="contact-panel">
|
||||
<p class="contact-kicker">Avant d'écrire</p>
|
||||
<h2>Le message parfait tient en 4 lignes</h2>
|
||||
<ol class="contact-steps">
|
||||
<li>Explique ce que tu essayes de faire.</li>
|
||||
<li>Précise ton environnement ou ta version.</li>
|
||||
<li>Ajoute le message d'erreur si tu en as un.</li>
|
||||
<li>Indique si tu veux une réponse par mail ou une piste publique.</li>
|
||||
</ol>
|
||||
</article>
|
||||
|
||||
<article class="contact-panel contact-panel-soft">
|
||||
<p class="contact-kicker">Navigation rapide</p>
|
||||
<div class="contact-quick-links">
|
||||
<a class="button button-secondary" href="/?p/index/" data-route="index">Retour à l'accueil</a>
|
||||
<a class="button button-secondary" href="/?p/dl/" data-route="dl">Téléchargements</a>
|
||||
</div>
|
||||
<p class="contact-help">Si tu hésites, envoie d'abord un mail: on te redirigera vers le bon endroit.</p>
|
||||
</article>
|
||||
</aside>
|
||||
</section>
|
||||
<main>
|
||||
<section>
|
||||
<h2>Notre seul canal officiel actuel</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>
|
||||
<strong>Suivez le projet et ouvrez des Issues / PR ici :</strong>
|
||||
<br>
|
||||
<a class="button button-primary" href="https://github.com/You-re-like-Windows-a-bitch/ISO" target="_blank" rel="noopener noreferrer">Notre GitHub</a>
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<hr>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user