summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco <tomaselli.fr@gmail.com>2024-04-22 19:27:01 +0200
committerFrancesco <tomaselli.fr@gmail.com>2024-04-22 19:27:01 +0200
commit6d9e6bec95736c0dc725c2f80a98b6de6d0d3897 (patch)
tree84c7bd37486952f8d581a2aab5180e11dd5ed5be
parent3a9b12555935b5ef85f3b507430198564b719894 (diff)
Theme Update
-rw-r--r--assets/css/main.css1
-rw-r--r--assets/css/vars.css4
-rw-r--r--layouts/_default/baseof.html2
3 files changed, 5 insertions, 2 deletions
diff --git a/assets/css/main.css b/assets/css/main.css
index 768ab1b..0b75def 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -66,6 +66,7 @@ pre {
border-radius: var(--code-border-radius);
margin-top: var(--code-margin-top);
margin-bottom: var(--code-margin-bottom);
+ background-color: var(--code-background) !important;
}
code {
diff --git a/assets/css/vars.css b/assets/css/vars.css
index c30863b..010dceb 100644
--- a/assets/css/vars.css
+++ b/assets/css/vars.css
@@ -31,7 +31,7 @@
/* code */
--code-padding: 1.5rem;
- --code-border-radius: 20px;
+ --code-border-radius: 10px;
/* Footer */
--footer-height: 3rem;
@@ -42,11 +42,13 @@
/* Theme */
--content: rgb(30, 30, 30);
--background: rgb(255, 255, 255);
+ --code-background: rgb(245, 245, 245);
}
.dark {
--content: rgb(218, 218, 218);
--background: rgb(30, 30, 30);
+ --code-background: rgb(40, 40, 40);
}
@media screen and (max-width: 1024px) {
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index eef7b25..51fd26c 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -9,7 +9,7 @@
{{ end }}
</head>
-<body>
+<body class="light">
<div class="content">
<header>