Theme Update

This commit is contained in:
Francesco 2024-04-22 19:27:01 +02:00
parent 9df7d9441f
commit 21bc7c3a38
3 changed files with 5 additions and 2 deletions

View File

@ -66,6 +66,7 @@ pre {
border-radius: var(--code-border-radius); border-radius: var(--code-border-radius);
margin-top: var(--code-margin-top); margin-top: var(--code-margin-top);
margin-bottom: var(--code-margin-bottom); margin-bottom: var(--code-margin-bottom);
background-color: var(--code-background) !important;
} }
code { code {

View File

@ -31,7 +31,7 @@
/* code */ /* code */
--code-padding: 1.5rem; --code-padding: 1.5rem;
--code-border-radius: 20px; --code-border-radius: 10px;
/* Footer */ /* Footer */
--footer-height: 3rem; --footer-height: 3rem;
@ -42,11 +42,13 @@
/* Theme */ /* Theme */
--content: rgb(30, 30, 30); --content: rgb(30, 30, 30);
--background: rgb(255, 255, 255); --background: rgb(255, 255, 255);
--code-background: rgb(245, 245, 245);
} }
.dark { .dark {
--content: rgb(218, 218, 218); --content: rgb(218, 218, 218);
--background: rgb(30, 30, 30); --background: rgb(30, 30, 30);
--code-background: rgb(40, 40, 40);
} }
@media screen and (max-width: 1024px) { @media screen and (max-width: 1024px) {

View File

@ -9,7 +9,7 @@
{{ end }} {{ end }}
</head> </head>
<body> <body class="light">
<div class="content"> <div class="content">
<header> <header>