Soft blue background tones instead of plain white (v3.1.0)
This commit is contained in:
1 parent
b2a187104c
commit
e71be0e23c
1 file changed
+29
-10
@@ -4,7 +4,7 @@ Theme URI: https://gitea.sondreolav.com/ai-bot/super-simple-wp-theme
|
|||||||
Author: sondreolav
|
Author: sondreolav
|
||||||
Author URI: https://sondreolav.com/
|
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.
|
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 at least: 5.0
|
||||||
Requires PHP: 7.0
|
Requires PHP: 7.0
|
||||||
Text Domain: super-simple-wp-theme
|
Text Domain: super-simple-wp-theme
|
||||||
@@ -19,7 +19,7 @@ Text Domain: super-simple-wp-theme
|
|||||||
5. Entries
|
5. Entries
|
||||||
6. Content blocks
|
6. Content blocks
|
||||||
7. Pagination
|
7. Pagination
|
||||||
8. Search
|
8. Search and forms
|
||||||
9. Footer
|
9. Footer
|
||||||
10. Super Simple Slideshow
|
10. Super Simple Slideshow
|
||||||
11. Super Simple RSS Reader
|
11. Super Simple RSS Reader
|
||||||
@@ -31,13 +31,18 @@ Text Domain: super-simple-wp-theme
|
|||||||
/* 1. Colours and typography ================================================ */
|
/* 1. Colours and typography ================================================ */
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
/* Light background with dark text for maximum readability. */
|
/* Light background with soft blue tones and dark text for easy reading. */
|
||||||
--bg-color: #ffffff; /* page background */
|
--bg-color: #edf3f9; /* page background */
|
||||||
|
--surface-color: #dbe7f3; /* header and footer */
|
||||||
|
--field-bg: #ffffff; /* input fields */
|
||||||
|
|
||||||
--text-color: #1f2933; /* body text */
|
--text-color: #1f2933; /* body text */
|
||||||
--muted-color: #52606d; /* secondary text: dates, meta, captions */
|
--muted-color: #4e5d6c; /* secondary text: dates, meta, captions */
|
||||||
|
|
||||||
--link-color: #0b5fa5; /* links */
|
--link-color: #0b5fa5; /* links */
|
||||||
--link-hover: #063e6e; /* links on hover */
|
--link-hover: #063e6e; /* links on hover */
|
||||||
--border-color: #cbd2d9; /* borders, dividers, input outlines */
|
--border-color: #b9c9d9; /* borders and dividers */
|
||||||
|
|
||||||
--button-bg: #0b5fa5; /* button background */
|
--button-bg: #0b5fa5; /* button background */
|
||||||
--button-text: #ffffff; /* button text */
|
--button-text: #ffffff; /* button text */
|
||||||
|
|
||||||
@@ -83,6 +88,7 @@ a:hover {
|
|||||||
/* 4. Header and navigation ================================================= */
|
/* 4. Header and navigation ================================================= */
|
||||||
|
|
||||||
header {
|
header {
|
||||||
|
background-color: var(--surface-color);
|
||||||
border-bottom: 1px solid var(--border-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 {
|
.search-container {
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
@@ -339,8 +357,6 @@ div.pagination {
|
|||||||
margin: 0 0 0 1rem;
|
margin: 0 0 0 1rem;
|
||||||
padding: .5rem;
|
padding: .5rem;
|
||||||
border: 1px solid var(--border-color);
|
border: 1px solid var(--border-color);
|
||||||
background-color: var(--bg-color);
|
|
||||||
color: var(--text-color);
|
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -369,7 +385,10 @@ div.pagination {
|
|||||||
|
|
||||||
/* 9. Footer ================================================================ */
|
/* 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 {
|
.footer-logo {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
|||||||
Reference in new issue
Block a user