diff options
| author | Elias Haugsbakk <[email protected]> | 2026-07-21 22:54:08 +0200 |
|---|---|---|
| committer | Elias Haugsbakk <[email protected]> | 2026-07-21 22:59:57 +0200 |
| commit | e36f49c7d90bed4b8c2e3edb1225ca1b9720da4d (patch) | |
| tree | 04e2752f5bcd70054ba007a7e58d85dc9d8e62c5 /clams-server/src/main/resources/public/css/article.css | |
| parent | ae5f5b3c0b3c4af6b842f3ccd95bfe0607ac0610 (diff) | |
swap blog and post for article
Diffstat (limited to 'clams-server/src/main/resources/public/css/article.css')
| -rw-r--r-- | clams-server/src/main/resources/public/css/article.css | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/clams-server/src/main/resources/public/css/article.css b/clams-server/src/main/resources/public/css/article.css new file mode 100644 index 0000000..faf6f90 --- /dev/null +++ b/clams-server/src/main/resources/public/css/article.css @@ -0,0 +1,50 @@ +.article-header { + display: flex; + justify-content: space-between; + margin-top: 45px; + margin-bottom: 40px; + font-size: 0.9rem; + opacity: 0.7; + border-bottom: 1px solid var(--border-color); + padding-bottom: 10px; +} + +.article-content { + line-height: 1.8; + margin-bottom: 80px; +} + +.article-content p { + margin-bottom: 1.5rem; +} + +.article-content p:has(img) { + margin: 40px 0; + text-align: center; +} + +.article-content img { + width: 100%; + max-width: 550px; + height: auto; + border: 1px solid var(--border-color); + border-radius: 8px; + display: inline-block; +} + +.article-nav { + display: flex; + justify-content: space-between; + margin-top: 60px; + padding-top: 30px; + border-top: 1px dashed var(--border-color); +} + +@media (max-width: 768px) { + .article-header { + margin-top: 10px; + flex-direction: column; + align-items: center; + gap: 10px; + } +} |
