feat: modify code block highlight line style

This commit is contained in:
st1020 2025-01-19 09:46:20 +08:00
parent e8746d1a74
commit 58276c5343
4 changed files with 109 additions and 110 deletions

View file

@ -107,7 +107,7 @@
}
/*
! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com
! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
*/
/*
@ -550,7 +550,7 @@ video {
/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden] {
[hidden]:where(:not([hidden="until-found"])) {
display: none;
}
@ -587,6 +587,8 @@ body {
pre mark {
display: block;
color: inherit;
margin: 0 -18px;
padding: 0 18px;
}
pre table {
@ -1522,7 +1524,7 @@ pre table td:nth-of-type(1) {
.bg-black {
--tw-bg-opacity: 1;
background-color: rgb(0 0 0 / var(--tw-bg-opacity));
background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}
.bg-inherit {
@ -1698,12 +1700,12 @@ pre table td:nth-of-type(1) {
.text-black {
--tw-text-opacity: 1;
color: rgb(0 0 0 / var(--tw-text-opacity));
color: rgb(0 0 0 / var(--tw-text-opacity, 1));
}
.text-white {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.underline {
@ -1751,7 +1753,7 @@ pre table td:nth-of-type(1) {
height: 2px;
width: 1.25rem;
--tw-bg-opacity: 1;
background-color: rgb(0 0 0 / var(--tw-bg-opacity));
background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
transition-duration: 200ms;
--tw-content: '';
content: var(--tw-content);
@ -1845,7 +1847,7 @@ article {
.primary-link {
--tw-text-opacity: 1;
color: rgb(0 0 0 / var(--tw-text-opacity));
color: rgb(0 0 0 / var(--tw-text-opacity, 1));
text-decoration-line: none;
}
@ -1855,7 +1857,7 @@ article {
.primary-link:is(.dark *) {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.secondary-link {
@ -1865,12 +1867,12 @@ article {
.secondary-link:hover {
--tw-text-opacity: 1;
color: rgb(0 0 0 / var(--tw-text-opacity));
color: rgb(0 0 0 / var(--tw-text-opacity, 1));
}
.secondary-link:hover:is(.dark *) {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.\[background\:url\(\.\/icons\/theme\.svg\)_left_center\/cover_no-repeat\] {
@ -1952,12 +1954,12 @@ article {
.dark\:text-black:is(.dark *) {
--tw-text-opacity: 1;
color: rgb(0 0 0 / var(--tw-text-opacity));
color: rgb(0 0 0 / var(--tw-text-opacity, 1));
}
.dark\:text-white:is(.dark *) {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.dark\:invert:is(.dark *) {