🐛 fixed mark css

This commit is contained in:
Nuno Coração 2023-03-10 13:25:02 +00:00
parent 8381b02792
commit 775603d8ea
3 changed files with 9 additions and 7 deletions

View file

@ -935,6 +935,7 @@ select {
padding-bottom: 3px;
padding-left: 5px;
padding-right: 5px;
border-radius: 0.25rem;
}
.prose :where(code):not(:where([class~="not-prose"] *))::before {
@ -1202,9 +1203,9 @@ select {
.prose :where(mark):not(:where([class~="not-prose"] *)) {
color: rgba(var(--color-neutral-800), 1);
background-color: rgb(228 230 233 / 1);
background-color: rgb(48 97 175 / 1);
padding: 0.1rem 0.2rem;
border-radius: 0.12rem;
border-radius: 0.25rem;
}
.prose :where(p):not(:where([class~="not-prose"] *))::before {
@ -5444,7 +5445,7 @@ body:has(#menu-controller:checked) {
}
.dark .dark\:prose-invert :where(mark):not(:where([class~="not-prose"] *)) {
background-color: rgb(200 204 211 / 1);
background-color: rgb(143 174 224 / 1);
}
.dark .dark\:prose-invert :where(code):not(:where([class~="not-prose"] *)) {

View file

@ -143,4 +143,4 @@ X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
Press <kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd> to end the session.
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.

View file

@ -114,9 +114,9 @@ module.exports = {
},
mark: {
color: theme("colors.neutral.800 / 1"),
backgroundColor: theme("colors.secondary.200 / 1"),
backgroundColor: theme("colors.primary.600 / 1"),
padding: "0.1rem 0.2rem",
borderRadius: "0.12rem",
borderRadius: "0.25rem",
},
code:{
backgroundColor: theme("colors.neutral.50 / 1"),
@ -124,6 +124,7 @@ module.exports = {
paddingBottom: "3px",
paddingLeft: "5px",
paddingRight: "5px",
borderRadius: "0.25rem",
},
'code::before': {
display: 'none'
@ -155,7 +156,7 @@ module.exports = {
backgroundColor: theme("colors.neutral.700 / 1"),
},
mark: {
backgroundColor: theme("colors.secondary.400 / 1"),
backgroundColor: theme("colors.primary.400 / 1"),
},
code:{
backgroundColor: theme("colors.neutral.700 / 1"),