generated from avinay/discord-bot
<feat>(html+css) add blog html /css related to london 2026
This commit is contained in:
@@ -174,3 +174,4 @@ cython_debug/
|
||||
# PyPI configuration file
|
||||
.pypirc
|
||||
|
||||
avinay.ddns.net
|
||||
|
||||
@@ -0,0 +1,177 @@
|
||||
/* POST LAYOUT */
|
||||
.post {
|
||||
max-width: 780px;
|
||||
margin: 0 auto;
|
||||
padding: 3rem 2.5rem 5rem;
|
||||
}
|
||||
|
||||
.post-header {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.post-header h1 {
|
||||
font-family: 'EB Garamond', Georgia, serif;
|
||||
font-size: 2.8rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.04em;
|
||||
color: #111;
|
||||
line-height: 1.1;
|
||||
margin-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
.post-subtitle {
|
||||
font-family: 'EB Garamond', Georgia, serif;
|
||||
font-size: 1.05rem;
|
||||
font-style: italic;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/* COVER */
|
||||
.cover {
|
||||
margin: 2.5rem 0 2rem;
|
||||
}
|
||||
|
||||
.cover img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.cover figcaption {
|
||||
font-family: 'EB Garamond', Georgia, serif;
|
||||
font-size: 0.85rem;
|
||||
font-style: italic;
|
||||
color: #888;
|
||||
text-align: center;
|
||||
margin-top: 0.6rem;
|
||||
}
|
||||
|
||||
/* POST CONTENT */
|
||||
.post-content {
|
||||
font-size: 1rem;
|
||||
line-height: 1.85;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.post-content h2 {
|
||||
font-family: 'EB Garamond', Georgia, serif;
|
||||
font-size: 1.6rem;
|
||||
font-weight: 600;
|
||||
color: #111;
|
||||
margin: 2.5rem 0 1rem;
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
.post-content h3 {
|
||||
font-family: 'Source Sans 3', sans-serif;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
color: #111;
|
||||
margin: 1.5rem 0 0.75rem;
|
||||
}
|
||||
|
||||
.post-content p {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.post-content blockquote {
|
||||
font-family: 'EB Garamond', Georgia, serif;
|
||||
font-size: 1.2rem;
|
||||
font-style: italic;
|
||||
color: #444;
|
||||
border-left: 2px solid #111;
|
||||
padding: 0.5rem 0 0.5rem 1.5rem;
|
||||
margin: 1.5rem 0;
|
||||
}
|
||||
|
||||
/* GALLERIES */
|
||||
.gallery {
|
||||
display: grid;
|
||||
gap: 0.5rem;
|
||||
margin: 1.5rem 0;
|
||||
}
|
||||
|
||||
.gallery-2 {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
.gallery-3 {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
|
||||
.gallery figure {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.gallery img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
border-radius: 2px;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.gallery img:hover {
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
/* SINGLE IMAGE inline */
|
||||
.post-content figure {
|
||||
margin: 1.5rem 0;
|
||||
}
|
||||
|
||||
.post-content figure img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.post-content figcaption {
|
||||
font-family: 'EB Garamond', Georgia, serif;
|
||||
font-size: 0.85rem;
|
||||
font-style: italic;
|
||||
color: #888;
|
||||
text-align: center;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
/* MAP */
|
||||
.map-block {
|
||||
margin: 2rem 0;
|
||||
}
|
||||
|
||||
.map-block iframe {
|
||||
width: 100%;
|
||||
height: 380px;
|
||||
border: 0.5px solid #ddd;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
/* FOOTER */
|
||||
.post-footer {
|
||||
margin-top: 3rem;
|
||||
padding-top: 1.5rem;
|
||||
border-top: 0.5px solid #ddd;
|
||||
}
|
||||
|
||||
.back-link {
|
||||
font-family: 'Source Sans 3', sans-serif;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: #111;
|
||||
text-decoration: none;
|
||||
border-bottom: 0.5px solid #111;
|
||||
}
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.post { padding: 3rem 1.5rem 4rem; }
|
||||
.post-header h1 { font-size: 2rem; }
|
||||
.gallery-3 { grid-template-columns: 1fr 1fr; }
|
||||
.post-meta { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
|
||||
}
|
||||
+78
-15
@@ -18,6 +18,7 @@ body {
|
||||
padding: 3rem 2.5rem 5rem;
|
||||
}
|
||||
|
||||
/* BACK BUTTON */
|
||||
.back {
|
||||
position: fixed;
|
||||
top: 1.2rem;
|
||||
@@ -37,13 +38,14 @@ body {
|
||||
color: #111;
|
||||
}
|
||||
|
||||
/* HEADER */
|
||||
.page-header {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.page-header h1 {
|
||||
font-family: 'EB Garamond', Georgia, serif;
|
||||
font-size: 2rem;
|
||||
font-size: 2.2rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
@@ -64,30 +66,90 @@ hr.thick {
|
||||
margin: 1rem 0 0;
|
||||
}
|
||||
|
||||
.placeholder {
|
||||
margin-top: 3rem;
|
||||
padding: 2rem 0 2rem 1.5rem;
|
||||
border-left: 2px solid #111;
|
||||
/* POSTS LIST */
|
||||
.posts {
|
||||
margin-top: 2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.placeholder-status {
|
||||
.post-card {
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
padding: 2rem 0;
|
||||
border-bottom: 0.5px solid #ddd;
|
||||
transition: padding-left 0.2s;
|
||||
}
|
||||
|
||||
.post-card:hover {
|
||||
padding-left: 0.6rem;
|
||||
}
|
||||
|
||||
.post-card:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.post-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
|
||||
.post-date {
|
||||
font-family: 'Source Sans 3', sans-serif;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.18em;
|
||||
text-transform: uppercase;
|
||||
color: #aaa;
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
|
||||
.post-tags {
|
||||
display: flex;
|
||||
gap: 0.4rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.tag {
|
||||
font-family: 'Source Sans 3', sans-serif;
|
||||
font-size: 0.65rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: #888;
|
||||
border: 0.5px solid #ddd;
|
||||
padding: 0.15rem 0.5rem;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.post-title {
|
||||
font-family: 'EB Garamond', Georgia, serif;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
color: #111;
|
||||
line-height: 1.3;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.post-excerpt {
|
||||
font-size: 0.92rem;
|
||||
color: #555;
|
||||
line-height: 1.7;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.placeholder-message {
|
||||
font-family: 'EB Garamond', Georgia, serif;
|
||||
font-size: 1.1rem;
|
||||
font-style: italic;
|
||||
color: #555;
|
||||
line-height: 1.7;
|
||||
.post-readmore {
|
||||
font-family: 'Source Sans 3', sans-serif;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: #111;
|
||||
border-bottom: 0.5px solid #111;
|
||||
}
|
||||
|
||||
/* FOOTER */
|
||||
.page-footer {
|
||||
margin-top: 3rem;
|
||||
padding-top: 0.65rem;
|
||||
@@ -100,4 +162,5 @@ hr.thick {
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.page { padding: 3rem 1.5rem 4rem; }
|
||||
.post-meta { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
|
||||
}
|
||||
+35
-5
@@ -15,15 +15,45 @@
|
||||
|
||||
<div class="page-header">
|
||||
<h1>Blog</h1>
|
||||
<p> Bonjour à tous les curieux !</p>
|
||||
<p class="subtitle">Carnets de voyages & activités personnelles</p>
|
||||
</div>
|
||||
<hr class="thick" />
|
||||
|
||||
<div class="placeholder">
|
||||
<p class="placeholder-status">En construction</p>
|
||||
<p class="placeholder-message">
|
||||
Cette section accueillera prochainement mes carnets de voyages, expériences personnelles et autres réflexions.
|
||||
</p>
|
||||
<div class="posts">
|
||||
|
||||
<!-- =====================================================
|
||||
POST TEMPLATE — duplique ce bloc pour ajouter un voyage
|
||||
=====================================================
|
||||
<a class="post-card" href="/blog/nom-du-voyage/">
|
||||
<div class="post-meta">
|
||||
<span class="post-date">JJ Mois AAAA</span>
|
||||
<div class="post-tags">
|
||||
<span class="tag">Pays</span>
|
||||
<span class="tag">Catégorie</span>
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="post-title">Titre du voyage</h2>
|
||||
<p class="post-excerpt">Court extrait, 1 à 2 phrases pour donner envie.</p>
|
||||
<span class="post-readmore">Lire l'article →</span>
|
||||
</a>
|
||||
-->
|
||||
|
||||
<a class="post-card" href="/blog/london-01-2026/">
|
||||
<div class="post-meta">
|
||||
<span class="post-date">Janvier 2026</span>
|
||||
<div class="post-tags">
|
||||
<span class="tag">Royaume-Uni</span>
|
||||
<span class="tag">Week-end</span>
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="post-title">London 2026</h2>
|
||||
<p class="post-excerpt">
|
||||
Quelques jours dans la capitale britannique entre quartiers historiques, pubs et balades au bord de la Tamise.
|
||||
</p>
|
||||
<span class="post-readmore">Lire l'article →</span>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="page-footer">
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>London 2026 — Blog — Anthony Vinay</title>
|
||||
<link href="https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,600;1,400&family=Source+Sans+3:wght@400;600&display=swap" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="/css/blog.css" />
|
||||
<link rel="stylesheet" href="/css/blog-post.css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<a class="back" href="/blog">← Retour au blog</a>
|
||||
|
||||
<article class="post">
|
||||
|
||||
<header class="post-header">
|
||||
<div class="post-meta">
|
||||
<span class="post-date">06/2026</span>
|
||||
<div class="post-tags">
|
||||
<span class="tag">Royaume-Uni</span>
|
||||
<span class="tag">Week-end</span>
|
||||
</div>
|
||||
</div>
|
||||
<h1>London 2026</h1>
|
||||
<p class="post-subtitle">Carnet de voyage</p>
|
||||
</header>
|
||||
<hr class="thick" />
|
||||
<section class="post-content">
|
||||
|
||||
<!--
|
||||
===== AIDE-MÉMOIRE — Éléments disponibles =====
|
||||
|
||||
Paragraphe :
|
||||
<p>Texte...</p>
|
||||
|
||||
Sous-titre :
|
||||
<h2>Titre de section</h2>
|
||||
<h3>Sous-titre</h3>
|
||||
|
||||
Citation :
|
||||
<blockquote>Texte de la citation</blockquote>
|
||||
|
||||
Image unique avec légende :
|
||||
<figure>
|
||||
<img src="/blog/images/london-2026/photo.jpg" alt="Description" />
|
||||
<figcaption>Légende sous l'image</figcaption>
|
||||
</figure>
|
||||
|
||||
Galerie 2 colonnes :
|
||||
<div class="gallery gallery-2">
|
||||
<figure><img src="/blog/images/london-2026/a.jpg" alt="" /></figure>
|
||||
<figure><img src="/blog/images/london-2026/b.jpg" alt="" /></figure>
|
||||
</div>
|
||||
|
||||
Galerie 3 colonnes :
|
||||
<div class="gallery gallery-3">
|
||||
<figure><img src="/blog/images/london-2026/a.jpg" alt="" /></figure>
|
||||
<figure><img src="/blog/images/london-2026/b.jpg" alt="" /></figure>
|
||||
<figure><img src="/blog/images/london-2026/c.jpg" alt="" /></figure>
|
||||
</div>
|
||||
|
||||
Carte :
|
||||
<div class="map-block">
|
||||
<h3>Carte du voyage</h3>
|
||||
<iframe src="https://www.openstreetmap.org/export/embed.html?bbox=..."
|
||||
title="Carte" loading="lazy"></iframe>
|
||||
</div>
|
||||
|
||||
Lien externe :
|
||||
<a href="https://..." target="_blank">texte du lien</a>
|
||||
-->
|
||||
|
||||
</section>
|
||||
|
||||
<footer class="post-footer">
|
||||
<a class="back-link" href="/blog">← Tous les articles</a>
|
||||
</footer>
|
||||
|
||||
</article>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -23,12 +23,12 @@
|
||||
<span class="nav-label">Achievements</span>
|
||||
<span class="nav-desc">Expérimentations techniques</span>
|
||||
<span class="nav-arrow">→</span>
|
||||
</a>
|
||||
</a> -->
|
||||
<a href="/blog">
|
||||
<span class="nav-label">Blog</span>
|
||||
<span class="nav-desc">Carnets de voyages & activités</span>
|
||||
<span class="nav-arrow">→</span>
|
||||
</a> -->
|
||||
</a>
|
||||
<a href="/gitea">
|
||||
<span class="nav-label">Projets</span>
|
||||
<span class="nav-desc">Réalisations techniques</span>
|
||||
|
||||
Reference in New Issue
Block a user