theme: add textmarker style for marked text #822

This commit is contained in:
Sören Weber 2024-04-04 22:11:31 +02:00
parent 219d2a2dba
commit 58610aeefa
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
2 changed files with 12 additions and 1 deletions

View file

@ -524,7 +524,13 @@ body:not(.print) #R-body-inner.narrow p {
} }
mark { mark {
background: transparent;
border-radius: 0.8em 0.3em;
-webkit-box-decoration-break: clone;
box-decoration-break: clone;
color: rgba( 0, 0, 0, 1 ); color: rgba( 0, 0, 0, 1 );
margin: 0 -0.4em;
padding: 0.1em 0.4em;
} }
h1 { h1 {

View file

@ -97,7 +97,12 @@ a:focus,
} }
mark { mark {
background-color: var(--INTERNAL-ACCENT-color); background-image: linear-gradient(
to right,
color-mix( in srgb, var(--INTERNAL-ACCENT-color) 20%, transparent ),
color-mix( in srgb, var(--INTERNAL-ACCENT-color) 90%, transparent ) 4%,
color-mix( in srgb, var(--INTERNAL-ACCENT-color) 40%, transparent )
);
} }
h1 { h1 {