summaryrefslogtreecommitdiff
path: root/clams-server/src/main/resources/public/css
diff options
context:
space:
mode:
Diffstat (limited to 'clams-server/src/main/resources/public/css')
-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;
}