summaryrefslogtreecommitdiff
path: root/clams-server/src/main/resources/public/css/blog.css
diff options
context:
space:
mode:
authorElias Haugsbakk <[email protected]>2026-07-01 14:05:14 +0200
committerElias Haugsbakk <[email protected]>2026-07-01 14:05:14 +0200
commitc4da920843972b6571e978cdc9f9278eb87b7398 (patch)
treef972778f7cab4e4b231f5adc7450d590fa6d0fae /clams-server/src/main/resources/public/css/blog.css
parent5ed99f3c87f0337ffac03dd1e45073fbc7f63b68 (diff)
add HTML, CSS and basic routing
Diffstat (limited to 'clams-server/src/main/resources/public/css/blog.css')
-rw-r--r--clams-server/src/main/resources/public/css/blog.css58
1 files changed, 58 insertions, 0 deletions
diff --git a/clams-server/src/main/resources/public/css/blog.css b/clams-server/src/main/resources/public/css/blog.css
new file mode 100644
index 0000000..86eb0ed
--- /dev/null
+++ b/clams-server/src/main/resources/public/css/blog.css
@@ -0,0 +1,58 @@
+/* blog.css - page specific styles */
+
+.intro-text {
+ margin-bottom: 60px;
+}
+
+section {
+ margin-bottom: 60px;
+}
+
+.search-form {
+ position: absolute;
+ top: 20px;
+ right: 20px;
+}
+
+.search-form input {
+ font-family: var(--font-serif), serif;
+ padding: 6px 10px;
+ border: 1px solid var(--border-color);
+ border-radius: 4px;
+ background: transparent;
+ color: var(--text-color);
+ width: 180px;
+ font-size: 0.8rem;
+}
+
+.search-form button {
+ font-family: var(--font-serif), serif;
+ padding: 6px 12px;
+ background: #e8e8e4;
+ color: var(--text-color);
+ border: 1px solid var(--border-color);
+ border-radius: 4px;
+ cursor: pointer;
+ font-weight: bold;
+ font-size: 0.8rem;
+}
+
+.search-form button:hover {
+ background: #ddd;
+}
+
+@media (max-width: 850px) {
+ .search-form {
+ position: static;
+ text-align: center;
+ margin-bottom: 40px;
+ }
+ .search-form input {
+ width: 250px;
+ }
+}
+
+/* Specific spacing for blog lists */
+.content-grid li {
+ margin-bottom: 0.8rem;
+}