summaryrefslogtreecommitdiff
path: root/clams-server/src/main/resources/public/css/articles.css
diff options
context:
space:
mode:
authorElias Haugsbakk <[email protected]>2026-07-21 22:54:08 +0200
committerElias Haugsbakk <[email protected]>2026-07-21 22:59:57 +0200
commite36f49c7d90bed4b8c2e3edb1225ca1b9720da4d (patch)
tree04e2752f5bcd70054ba007a7e58d85dc9d8e62c5 /clams-server/src/main/resources/public/css/articles.css
parentae5f5b3c0b3c4af6b842f3ccd95bfe0607ac0610 (diff)
swap blog and post for article
Diffstat (limited to 'clams-server/src/main/resources/public/css/articles.css')
-rw-r--r--clams-server/src/main/resources/public/css/articles.css137
1 files changed, 137 insertions, 0 deletions
diff --git a/clams-server/src/main/resources/public/css/articles.css b/clams-server/src/main/resources/public/css/articles.css
new file mode 100644
index 0000000..b7b7b4f
--- /dev/null
+++ b/clams-server/src/main/resources/public/css/articles.css
@@ -0,0 +1,137 @@
+.intro-text {
+ text-align: center;
+ max-width: 600px;
+ margin: 0 auto 30px auto;
+}
+
+.articles-section {
+ margin-bottom: 60px;
+}
+
+.search-form {
+ text-align: center;
+ margin-bottom: 40px;
+}
+
+.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;
+}
+
+.year-accordion {
+ margin-bottom: 1.5rem;
+ cursor: pointer;
+}
+
+.year-toggle {
+ font-size: 1.25rem;
+ font-weight: bold;
+ list-style: none;
+ margin-bottom: 0.5rem;
+}
+
+.year-toggle::-webkit-details-marker {
+ display: none;
+}
+
+.year-toggle:hover {
+ opacity: 0.7;
+}
+
+.article-list {
+ margin-top: 10px;
+ padding-left: 35px !important;
+ border-left: 2px solid var(--border-color);
+}
+
+.article-list li {
+ margin-bottom: 0.8rem;
+}
+
+.article-list a {
+ font-size: 1rem;
+ font-weight: normal;
+}
+
+.featured-desc {
+ font-weight: normal;
+ color: var(--text-color);
+ opacity: 0.85;
+}
+
+.search-results-container {
+ max-width: 600px;
+ margin: 30px auto 0 auto;
+}
+
+.search-results-list {
+ list-style-type: none;
+ padding: 0;
+ margin: 0;
+}
+
+.search-result-item {
+ margin-bottom: 1.25rem;
+ font-size: 1rem;
+ line-height: 1.6;
+}
+
+.search-result-date {
+ display: inline-block;
+ font-size: 0.9rem;
+ color: var(--text-color);
+ opacity: 0.65;
+ margin-right: 15px;
+ min-width: 110px;
+}
+
+.search-result-item a {
+ font-size: 1rem;
+}
+
+.search-result-summary {
+ font-weight: normal;
+ color: var(--text-color);
+ opacity: 0.85;
+}
+
+.no-results {
+ padding: 20px;
+ background: #e8e8e4;
+ border-radius: 4px;
+ text-align: center;
+ font-style: italic;
+}
+
+.back-to-articles {
+ margin-top: 40px;
+ display: inline-block;
+}
+
+@media (max-width: 768px) {
+ .search-form input {
+ width: 250px;
+ }
+}