London 2026
+Carnet de voyage
++
diff --git a/.gitignore b/.gitignore index 36b13f1..74a40da 100644 --- a/.gitignore +++ b/.gitignore @@ -174,3 +174,4 @@ cython_debug/ # PyPI configuration file .pypirc +avinay.ddns.net diff --git a/assets/css/blog-post.css b/assets/css/blog-post.css new file mode 100644 index 0000000..d6c06cf --- /dev/null +++ b/assets/css/blog-post.css @@ -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; } +} \ No newline at end of file diff --git a/assets/css/blog.css b/assets/css/blog.css index f971efb..dea917e 100644 --- a/assets/css/blog.css +++ b/assets/css/blog.css @@ -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; } } \ No newline at end of file diff --git a/blog/index.html b/blog/index.html index 4a7913f..929f3bf 100644 --- a/blog/index.html +++ b/blog/index.html @@ -15,15 +15,45 @@
Bonjour à tous les curieux !
Carnets de voyages & activités personnelles