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 | |
| parent | ae5f5b3c0b3c4af6b842f3ccd95bfe0607ac0610 (diff) | |
swap blog and post for article
Diffstat (limited to 'clams-server/src/main/resources/public/css')
| -rw-r--r-- | clams-server/src/main/resources/public/css/article.css (renamed from clams-server/src/main/resources/public/css/post.css) | 14 | ||||
| -rw-r--r-- | clams-server/src/main/resources/public/css/articles.css (renamed from clams-server/src/main/resources/public/css/blog.css) | 10 | ||||
| -rw-r--r-- | clams-server/src/main/resources/public/css/home.css | 6 |
3 files changed, 12 insertions, 18 deletions
diff --git a/clams-server/src/main/resources/public/css/post.css b/clams-server/src/main/resources/public/css/article.css index 6a237e1..faf6f90 100644 --- a/clams-server/src/main/resources/public/css/post.css +++ b/clams-server/src/main/resources/public/css/article.css @@ -1,4 +1,4 @@ -.post-header { +.article-header { display: flex; justify-content: space-between; margin-top: 45px; @@ -9,21 +9,21 @@ padding-bottom: 10px; } -.post-content { +.article-content { line-height: 1.8; margin-bottom: 80px; } -.post-content p { +.article-content p { margin-bottom: 1.5rem; } -.post-content p:has(img) { +.article-content p:has(img) { margin: 40px 0; text-align: center; } -.post-content img { +.article-content img { width: 100%; max-width: 550px; height: auto; @@ -32,7 +32,7 @@ display: inline-block; } -.post-nav { +.article-nav { display: flex; justify-content: space-between; margin-top: 60px; @@ -41,7 +41,7 @@ } @media (max-width: 768px) { - .post-header { + .article-header { margin-top: 10px; flex-direction: column; align-items: center; diff --git a/clams-server/src/main/resources/public/css/blog.css b/clams-server/src/main/resources/public/css/articles.css index 2284182..b7b7b4f 100644 --- a/clams-server/src/main/resources/public/css/blog.css +++ b/clams-server/src/main/resources/public/css/articles.css @@ -4,7 +4,7 @@ margin: 0 auto 30px auto; } -.blog-section { +.articles-section { margin-bottom: 60px; } @@ -60,17 +60,17 @@ opacity: 0.7; } -.post-list { +.article-list { margin-top: 10px; padding-left: 35px !important; border-left: 2px solid var(--border-color); } -.post-list li { +.article-list li { margin-bottom: 0.8rem; } -.post-list a { +.article-list a { font-size: 1rem; font-weight: normal; } @@ -125,7 +125,7 @@ font-style: italic; } -.back-to-blog { +.back-to-articles { margin-top: 40px; display: inline-block; } diff --git a/clams-server/src/main/resources/public/css/home.css b/clams-server/src/main/resources/public/css/home.css index f76d93a..268e371 100644 --- a/clams-server/src/main/resources/public/css/home.css +++ b/clams-server/src/main/resources/public/css/home.css @@ -29,12 +29,6 @@ word-wrap: break-word; } -.study-line { - margin-top: 0.5rem; - font-size: 0.95rem; - opacity: 0.8; -} - @media (max-width: 768px) { .content-grid { grid-template-columns: 1fr; |
