mirror of
https://gitea.tendokyu.moe/eamuse/docs.git
synced 2024-11-14 10:27:36 +01:00
62 lines
1000 B
SCSS
62 lines
1000 B
SCSS
code {
|
|
vertical-align: middle;
|
|
letter-spacing: 0.02em;
|
|
padding: 2px 4px;
|
|
font-size: 90%;
|
|
color: #c7254e;
|
|
background-color: #f9f2f4;
|
|
border-radius: 4px;
|
|
word-break: break-word;
|
|
vertical-align: middle;
|
|
|
|
& > a {
|
|
color: inherit;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
background-color: #221115;
|
|
}
|
|
}
|
|
|
|
pre > code,
|
|
.highlight {
|
|
display: block;
|
|
word-break: normal;
|
|
border-radius: 4px;
|
|
background: #f8f8f8;
|
|
border: 1px solid #ccc;
|
|
padding: 4px;
|
|
color: #333;
|
|
padding: 9.5px;
|
|
line-height: 1.4;
|
|
width: min-content;
|
|
}
|
|
|
|
pre {
|
|
max-width: 100%;
|
|
overflow-x: auto;
|
|
display: block;
|
|
|
|
& > .highlight {
|
|
margin-bottom: -16px;
|
|
}
|
|
}
|
|
|
|
.highlight {
|
|
font-size: 95%;
|
|
|
|
& > pre {
|
|
margin: 0;
|
|
|
|
& > code {
|
|
border: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
filter: invert(1);
|
|
}
|
|
}
|