diff --git a/hugo/layouts/notes/baseof.html b/hugo/layouts/notes/baseof.html index 36c41ed..02b938f 100644 --- a/hugo/layouts/notes/baseof.html +++ b/hugo/layouts/notes/baseof.html @@ -17,11 +17,13 @@ --color-hl: #a19bff; --color-bg: #ccc; --color-fg: #333; + --color-cs: black; } @media (prefers-color-scheme: dark) { :root { --color-fg: #ccc; --color-bg: #333; + --color-cs: white; } } ::selection { @@ -30,7 +32,7 @@ html, body, form, textarea { padding:0; margin:0; height:100%; } html { background-color:var(--color-bg); color:var(--color-fg); - caret-color:var(--color-hl); font-family:monospace; + caret-color:var(--color-cs); font-family:monospace; font-size:15px; } main { height:100%; } textarea { border:none; padding:20px; width:100%; @@ -52,4 +54,4 @@ {{ .Content }} - \ No newline at end of file +