From c5d03d5584122d7544f62f7a1536eddddc23df6a Mon Sep 17 00:00:00 2001 From: Christian Ohlsson Date: Wed, 8 Apr 2026 12:35:50 +0200 Subject: [PATCH] Lade till saker i temat --- theme.css | 40 ++++++++++++++++++++++++++++++++++++++++ theme.json | 1 + 2 files changed, 41 insertions(+) diff --git a/theme.css b/theme.css index a77c271..28356be 100644 --- a/theme.css +++ b/theme.css @@ -14,6 +14,9 @@ "code-bg" "#1A1D23" "code-border" "#2A2E37" */ +body { + background-attachment: fixed; +} .taxonomy-category a { background-color: #ff8f3f; color: #0e0f12; @@ -30,3 +33,40 @@ .wp-block-post-excerpt__excerpt { font-size: 1rem; } +.fa { + font-size: 2rem; +} +.footer .wp-block-list, .wp-block-latest-posts__list { + list-style-type: none; + padding-left: 0; + li { + padding-bottom: 6px; + } +} +.searchbox .wp-element-button { + background: #FF8F3F; +} +.wp-block-search__input { + background-color: var(--wp--preset--color--background-secondary); + color: var(--wp--preset--color--text-primary); + border-radius: 6px; + border: 1px solid var(--wp--preset--color--code-border); + padding:0; +} + +.wp-block-search__button { + background-color: var(--wp--preset--color--orange); + color: #000; + border-radius: 6px; + padding: 1rem; +} + +.wp-block-search__button:hover { + background-color: var(--wp--preset--color--orange-hover); +} +@media (max-width: 780px) { + div.wp-block-column {padding-left:0px !important;} +} +@media (max-width: 700px) { + form.searchbox {display: none} +} diff --git a/theme.json b/theme.json index bdac325..2372323 100644 --- a/theme.json +++ b/theme.json @@ -3,6 +3,7 @@ "version": 3, "settings": { + "appearanceTools": true, "color": { "palette": [ { "slug": "background-primary", "name": "Background Primary", "color": "#0E0F12" },