This commit is contained in:
Vanessa 2022-08-12 12:08:16 +08:00
parent 18e377f90f
commit b5ff267908
21 changed files with 123 additions and 120 deletions

View file

@ -99,6 +99,18 @@
top: 48px;
}
}
&__code {
padding: 0.2em 0.4em;
margin: 0;
font-size: 85%;
border-radius: 3px;
font-family: var(--b3-font-family-code);
word-break: break-word;
background-size: 20px 20px;
white-space: pre-wrap;
background-color: var(--b3-protyle-code-background);
}
}
.ft {

View file

@ -204,15 +204,7 @@
}
code:not(.hljs) {
padding: 0.2em 0.4em;
margin: 0;
font-size: 85%;
border-radius: 3px;
font-family: var(--b3-font-family-code);
word-break: break-word;
background-size: 20px 20px;
white-space: pre-wrap;
background-color: var(--b3-protyle-code-background);
@extend .fn__code;
}
a[href^=pdf-outline] {
@ -252,7 +244,7 @@
}
.protyle-icon,
.protyle-action__language{
.protyle-action__language {
opacity: 0;
transition: var(--b3-transition);
}
@ -463,7 +455,7 @@
&:hover {
color: var(--b3-theme-surface);
background-color: var(--b3-theme-on-surface);
background-color: var(--b3-theme-on-surface);
}
}