summaryrefslogtreecommitdiff
path: root/assets/css/highlight.css
diff options
context:
space:
mode:
authorElis Eriksson <spelis@spelis.li>2026-07-07 22:35:51 +0200
committerElis Eriksson <spelis@spelis.li>2026-07-07 22:35:51 +0200
commitcda6973714d3770a887df6f6ff451636919170bb (patch)
treec1113f257d9982bf6982a31fd63b251eeec421fd /assets/css/highlight.css
parentbd65a742f81157b5c4c9fe399db65a0c1838f47d (diff)
downloadspelis-web-cda6973714d3770a887df6f6ff451636919170bb.tar
spelis-web-cda6973714d3770a887df6f6ff451636919170bb.tar.gz
spelis-web-cda6973714d3770a887df6f6ff451636919170bb.tar.bz2
spelis-web-cda6973714d3770a887df6f6ff451636919170bb.tar.lz
spelis-web-cda6973714d3770a887df6f6ff451636919170bb.tar.xz
spelis-web-cda6973714d3770a887df6f6ff451636919170bb.tar.zst
spelis-web-cda6973714d3770a887df6f6ff451636919170bb.zip
more aesthetic changes + code formatting
Diffstat (limited to 'assets/css/highlight.css')
-rw-r--r--assets/css/highlight.css19
1 files changed, 12 insertions, 7 deletions
diff --git a/assets/css/highlight.css b/assets/css/highlight.css
index 26571a8..70bf1cf 100644
--- a/assets/css/highlight.css
+++ b/assets/css/highlight.css
@@ -9,7 +9,8 @@ code[class*="language-"],
pre[class*="language-"] {
background: #27212e;
color: #ffffff;
- font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; /* this is the default */
+ font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
+ /* this is the default */
/* The following properties are standard, please leave them as they are */
font-size: 1em;
direction: ltr;
@@ -46,17 +47,21 @@ pre[class*="language-"] ::selection {
/* Properties specific to code blocks */
pre[class*="language-"] {
- padding: 1em; /* this is standard */
- margin: 0.5em 0; /* this is the default */
- overflow: auto; /* this is standard */
+ padding: 1em;
+ /* this is standard */
+ margin: 0.5em 0;
+ /* this is the default */
+ overflow: auto;
+ /* this is standard */
border-radius: 0.5em;
}
/* Properties specific to inline code */
-:not(pre) > code[class*="language-"] {
+:not(pre)>code[class*="language-"] {
padding: 0.2em 0.3em;
border-radius: 0.5rem;
- white-space: normal; /* this is standard */
+ white-space: normal;
+ /* this is standard */
}
.token.comment,
@@ -130,4 +135,4 @@ pre[class*="language-"] {
.token.namespace {
opacity: 0.7;
-} \ No newline at end of file
+}