Add doc and fixed icons, remove prism

This commit is contained in:
Cagatay Civici
2022-11-30 22:06:45 +03:00
parent 77815b43ce
commit 2f782d20c2
9 changed files with 81 additions and 195 deletions

View File

@@ -1,56 +0,0 @@
pre[class*='language-'] {
background-color: var(--surface-ground) !important;
border-radius: var(--border-radius);
&:before,
&:after {
display: none !important;
}
code {
border-left: 0px solid var(--surface-border) !important;
box-shadow: none !important;
background: var(--surface-ground) !important;
color: var(--text-color);
font-size: 14px;
}
.token {
&.tag,
&.keyword {
color: #2196f3 !important;
}
&.attr-name,
&.attr-string {
color: #2196f3 !important;
}
&.attr-value {
color: #4caf50 !important;
}
&.punctuation {
color: var(--text-color);
}
&.operator,
&.string {
background: transparent;
}
}
}
i:not([class~='pi']) {
/* background-color: transparent; */
color: #2196f3;
font-family: Monaco, courier, monospace;
font-style: normal;
font-size: 12px;
font-weight: 500;
padding: 0 4px;
letter-spacing: 0.5px;
font-weight: 600;
margin: 0 2px;
display: inline-flex;
}