From e71be0e23ced6c1bdf24396b7ae648f895d039ce Mon Sep 17 00:00:00 2001 From: ai-bot Date: Wed, 14 Oct 2026 10:09:08 +0000 Subject: [PATCH] Soft blue background tones instead of plain white (v3.1.0) --- style.css | 49 ++++++++++++++++++++++++++++++++++--------------- 1 file changed, 34 insertions(+), 15 deletions(-) diff --git a/style.css b/style.css index 26d2624..7630a77 100644 --- a/style.css +++ b/style.css @@ -4,7 +4,7 @@ Theme URI: https://gitea.sondreolav.com/ai-bot/super-simple-wp-theme Author: sondreolav Author URI: https://sondreolav.com/ Description: A minimal, light theme originally built for Taubaneforeningen.no. Includes light styling for bbPress and the Super Simple Slideshow / Super Simple RSS Reader plugins. -Version: 3.0.0 +Version: 3.1.0 Requires at least: 5.0 Requires PHP: 7.0 Text Domain: super-simple-wp-theme @@ -19,7 +19,7 @@ Text Domain: super-simple-wp-theme 5. Entries 6. Content blocks 7. Pagination - 8. Search + 8. Search and forms 9. Footer 10. Super Simple Slideshow 11. Super Simple RSS Reader @@ -31,15 +31,20 @@ Text Domain: super-simple-wp-theme /* 1. Colours and typography ================================================ */ :root { - /* Light background with dark text for maximum readability. */ - --bg-color: #ffffff; /* page background */ - --text-color: #1f2933; /* body text */ - --muted-color: #52606d; /* secondary text: dates, meta, captions */ - --link-color: #0b5fa5; /* links */ - --link-hover: #063e6e; /* links on hover */ - --border-color: #cbd2d9; /* borders, dividers, input outlines */ - --button-bg: #0b5fa5; /* button background */ - --button-text: #ffffff; /* button text */ + /* Light background with soft blue tones and dark text for easy reading. */ + --bg-color: #edf3f9; /* page background */ + --surface-color: #dbe7f3; /* header and footer */ + --field-bg: #ffffff; /* input fields */ + + --text-color: #1f2933; /* body text */ + --muted-color: #4e5d6c; /* secondary text: dates, meta, captions */ + + --link-color: #0b5fa5; /* links */ + --link-hover: #063e6e; /* links on hover */ + --border-color: #b9c9d9; /* borders and dividers */ + + --button-bg: #0b5fa5; /* button background */ + --button-text: #ffffff; /* button text */ /* Large text and generous line height make the page easier to read. */ --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; @@ -83,6 +88,7 @@ a:hover { /* 4. Header and navigation ================================================= */ header { + background-color: var(--surface-color); border-bottom: 1px solid var(--border-color); } @@ -324,7 +330,19 @@ div.pagination { } -/* 8. Search ================================================================ */ +/* 8. Search and forms ====================================================== */ + +/* Form fields are white so they stand out from the tinted page background. */ +input[type=text], +input[type=search], +input[type=password], +input[type=email], +input[type=url], +select, +textarea { + background-color: var(--field-bg); + color: var(--text-color); +} .search-container { width: fit-content; @@ -339,8 +357,6 @@ div.pagination { margin: 0 0 0 1rem; padding: .5rem; border: 1px solid var(--border-color); - background-color: var(--bg-color); - color: var(--text-color); font-size: 1rem; } @@ -369,7 +385,10 @@ div.pagination { /* 9. Footer ================================================================ */ -footer { border-top: 1px solid var(--border-color); } +footer { + background-color: var(--surface-color); + border-top: 1px solid var(--border-color); +} .footer-logo { margin: auto;