summaryrefslogtreecommitdiff
path: root/clams-server/src/main/resources/public
diff options
context:
space:
mode:
authorElias Haugsbakk <[email protected]>2026-07-22 14:14:24 +0200
committerElias Haugsbakk <[email protected]>2026-07-22 14:14:24 +0200
commit5ac83efd59ab85d0bdf82d5847fe9fe0b11232d9 (patch)
treed45dde720f638853695940b79a6eb6a2d978ded8 /clams-server/src/main/resources/public
parent8d86458282efae6c3fc26ab8fb4bd61d1a4e01e3 (diff)
update article to post on the backend and blog on the frontend
Diffstat (limited to 'clams-server/src/main/resources/public')
-rw-r--r--clams-server/src/main/resources/public/css/post.css (renamed from clams-server/src/main/resources/public/css/article.css)14
-rw-r--r--clams-server/src/main/resources/public/css/posts.css (renamed from clams-server/src/main/resources/public/css/articles.css)12
2 files changed, 13 insertions, 13 deletions
diff --git a/clams-server/src/main/resources/public/css/article.css b/clams-server/src/main/resources/public/css/post.css
index 318df62..a12af10 100644
--- a/clams-server/src/main/resources/public/css/article.css
+++ b/clams-server/src/main/resources/public/css/post.css
@@ -1,4 +1,4 @@
-.article-header {
+.post-header {
display: flex;
justify-content: space-between;
margin-top: 2.8rem;
@@ -20,23 +20,23 @@ blockquote {
font-style: italic;
}
-.article-content {
+.post-content {
line-height: 1.8;
font-size: var(--font-size-body);
margin-bottom: 5rem;
}
-.article-content p {
+.post-content p {
margin-bottom: 1.5rem;
font-size: inherit;
}
-.article-content p:has(img) {
+.post-content p:has(img) {
margin: 2.4rem 0;
text-align: center;
}
-.article-content img {
+.post-content img {
width: 100%;
max-width: 34.4rem;
height: auto;
@@ -45,7 +45,7 @@ blockquote {
display: inline-block;
}
-.article-nav {
+.post-nav {
display: flex;
justify-content: space-between;
margin-top: 3.8rem;
@@ -54,7 +54,7 @@ blockquote {
}
@media (max-width: 768px) {
- .article-header {
+ .post-header {
margin-top: 10px;
flex-direction: column;
align-items: center;
diff --git a/clams-server/src/main/resources/public/css/articles.css b/clams-server/src/main/resources/public/css/posts.css
index 3ff7648..f6b1565 100644
--- a/clams-server/src/main/resources/public/css/articles.css
+++ b/clams-server/src/main/resources/public/css/posts.css
@@ -4,7 +4,7 @@
margin: 0 auto 1.8rem auto;
}
-.articles-section {
+.posts-section {
margin-bottom: 3.8rem;
}
@@ -49,26 +49,26 @@
color: var(--accent-color)
}
-.article-list {
+.post-list {
margin-top: 0.625rem;
padding-left: 2.2rem !important;
border-left: 2px solid var(--border-color);
}
-.article-list-item,
+.post-list-item,
.search-result-item {
margin-bottom: 0.8rem;
font-size: 1rem;
line-height: 1.6;
}
-.article-list a,
+.post-list a,
.search-result-item a {
font-size: 1rem;
font-weight: normal;
}
-.article-date {
+.post-date {
display: inline-block;
font-size: 0.9rem;
color: var(--text-color);
@@ -113,7 +113,7 @@
font-style: italic;
}
-.back-to-articles {
+.back-to-posts {
margin-top: 2.4rem;
display: inline-block;
}