feat: typography

This commit is contained in:
Cory Dransfeldt 2023-10-29 16:14:25 -07:00
parent a4472722f6
commit e35433cf93
7 changed files with 445 additions and 23 deletions

359
src/assets/styles/ml.css Normal file

File diff suppressed because one or more lines are too long

View file

@ -1,12 +1,13 @@
/**
* Catppuccin Prism theme
*/
code[class*="language-"],
pre[class*="language-"] {
code[class*='language-'],
pre[class*='language-'] {
color: #d9e0ee;
background: none;
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
font-family: ml, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
'Courier New', monospace;
text-align: left;
white-space: pre;
word-spacing: normal;
@ -23,22 +24,22 @@ pre[class*="language-"] {
}
/* Code blocks */
pre[class*="language-"] {
pre[class*='language-'] {
padding: 1em;
margin: .5em 0;
margin: 0.5em 0;
overflow: auto;
border-radius: 0.3em;
}
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
:not(pre) > code[class*='language-'],
pre[class*='language-'] {
background: #1e1d2f;
}
/* Inline code */
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
:not(pre) > code[class*='language-'] {
padding: 0.1em;
border-radius: 0.3em;
white-space: normal;
}
@ -50,11 +51,11 @@ pre[class*="language-"] {
}
.token.punctuation {
color: #dce0e8
color: #dce0e8;
}
.namespace {
opacity: .7;
opacity: 0.7;
}
.token.property,
@ -115,4 +116,4 @@ pre[class*="language-"] {
.token.entity {
cursor: help;
}
}

File diff suppressed because one or more lines are too long