From 14a7ab60733f4da83cea52db0bdd01672a5b1ba6 Mon Sep 17 00:00:00 2001 From: xangelo Date: Mon, 30 Jan 2023 11:12:16 -0500 Subject: [PATCH] fix link colors so they are visible with the cursor --- public/assets/style.css | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/public/assets/style.css b/public/assets/style.css index 4b4c0a2..aed8d9e 100644 --- a/public/assets/style.css +++ b/public/assets/style.css @@ -1,3 +1,11 @@ +/** + * Sections + * + * SEARCH + * OUTLINER + * TEXTSTYLES + */ + body { background-color: #eee; font-size: 1rem; @@ -7,6 +15,10 @@ body { padding: 2rem 1rem; } +footer { + text-align: center; +} + .modal { position: absolute; top: 0; @@ -27,7 +39,7 @@ body { margin-bottom: 1rem; } -/** search **/ +/** SEARCH **/ #search-query { width: 100%; border: solid 1px #888; @@ -47,6 +59,7 @@ body { background-color: #000; } +/** OUTLINER **/ #outliner { background-color: #fff; border: solid 1px #ddd; @@ -96,20 +109,29 @@ body { .cursor.hidden-cursor > .nodeContent { color: #000; - background-color: #fff; -} + background-color: #fff; } .strikethrough, .strikethrough .node { text-decoration: line-through; color: #808080; } - -footer { - text-align: center; +a { + color: #098bd9; +} +.cursor > .nodeContent a { + color: #098bd9; +} +a:visited { + color: #b26be4; } +.cursor > .nodeContent a:visited { + color: #b26be4; +} + -/* text styles */ + +/* TEXTSTYLES */ em { font-style: italic; @@ -141,4 +163,3 @@ kbd { line-height: 1rem; white-space: nowrap; } - -- 2.25.1