summaryrefslogtreecommitdiff
path: root/clams-server/src/main/resources/public/css/post.css
diff options
context:
space:
mode:
Diffstat (limited to 'clams-server/src/main/resources/public/css/post.css')
-rw-r--r--clams-server/src/main/resources/public/css/post.css63
1 files changed, 63 insertions, 0 deletions
diff --git a/clams-server/src/main/resources/public/css/post.css b/clams-server/src/main/resources/public/css/post.css
new file mode 100644
index 0000000..a12af10
--- /dev/null
+++ b/clams-server/src/main/resources/public/css/post.css
@@ -0,0 +1,63 @@
+.post-header {
+ display: flex;
+ justify-content: space-between;
+ margin-top: 2.8rem;
+ margin-bottom: 2.5rem;
+ font-size: 0.9rem;
+ opacity: 0.7;
+ border-bottom: 1px solid var(--border-color);
+ padding-bottom: 0.6rem;
+}
+
+h1 {
+ text-align: left;
+}
+
+blockquote {
+ border-left: 4px solid var(--accent-color);
+ padding-left: 1rem;
+ margin-left: 0;
+ font-style: italic;
+}
+
+.post-content {
+ line-height: 1.8;
+ font-size: var(--font-size-body);
+ margin-bottom: 5rem;
+}
+
+.post-content p {
+ margin-bottom: 1.5rem;
+ font-size: inherit;
+}
+
+.post-content p:has(img) {
+ margin: 2.4rem 0;
+ text-align: center;
+}
+
+.post-content img {
+ width: 100%;
+ max-width: 34.4rem;
+ height: auto;
+ border: 1px solid var(--border-color);
+ border-radius: 8px;
+ display: inline-block;
+}
+
+.post-nav {
+ display: flex;
+ justify-content: space-between;
+ margin-top: 3.8rem;
+ padding-top: 1.8rem;
+ border-top: 1px dashed var(--border-color);
+}
+
+@media (max-width: 768px) {
+ .post-header {
+ margin-top: 10px;
+ flex-direction: column;
+ align-items: center;
+ gap: 10px;
+ }
+}