style/links: tweak

This commit is contained in:
Adorian Doran 2025-12-21 00:21:17 +02:00
parent 32f0d81c07
commit 24d0d562a9
3 changed files with 10 additions and 11 deletions

View File

@ -74,11 +74,12 @@
--select-arrow-svg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='transparent' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>");
--select-group-heading-text-color: gray;
--link-hover-background: #ffffff26;
--link-hover-color: white;
--link-color: #95c3d9;
--link-hover-background: #0874a33d;
--link-hover-color: var(--link-color);
--hover-item-text-color: #efefef;
--hover-item-background-color: #ffffff24;
--hover-item-background-color: #ffffff16;
--hover-item-border-color: transparent;
--active-item-text-color: var(--left-pane-text-color);
@ -240,8 +241,6 @@
--selection-background-color: #3399FF70;
--link-color: #95c3d9;
--mermaid-theme: dark;
--code-block-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);

View File

@ -74,8 +74,9 @@
--select-arrow-svg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='transparent' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>");
--select-group-heading-text-color: gray;
--link-hover-background: #00000012;
--link-hover-color: black;
--link-color: #0076af;
--link-hover-background: #3c7fa017;
--link-hover-color: var(--link-color);
--hover-item-text-color: black;
--hover-item-background-color: #0000001a;
@ -238,8 +239,6 @@
--selection-background-color: #3399FF70;
--link-color: #0d6793;
--mermaid-theme: default;
--code-block-box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1), 0px 0px 2px rgba(0, 0, 0, 0.2);

View File

@ -637,8 +637,8 @@ body a.tn-link:visited,
border-radius: 4px;
background: var(--background);
color: var(--link-color);
font-weight: normal;
text-decoration: underline;
font-weight: 500;
text-decoration: none;
transition:
background-color 200ms ease-out,
@ -657,6 +657,7 @@ body a.tn-link:hover,
box-shadow: 0 0 0 4px var(--link-hover-background);
--background: var(--link-hover-background);
color: var(--link-hover-color);
text-decoration: underline;
transition:
background-color 100ms ease-in,