summaryrefslogtreecommitdiff
path: root/assets/css/highlight.css
diff options
context:
space:
mode:
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
+}