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