generated from avinay/discord-bot
<feat>(html+css) add blog html /css related to london 2026
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user