update theme colours
All checks were successful
continuous-integration/drone/push Build is passing

commit bc6140098f
Author: surtur <a_mirre@utb.cz>
Date:   Tue Mar 29 18:32:39 2022 +0200

    add commentary to colour codes

    since we're keeping the original names of colour variables from the
    theme, it's a good idea to at least have the usage of them (somewhat)
    documented.

commit 927909be60
Author: surtur <a_mirre@utb.cz>
Date:   Tue Mar 29 18:24:43 2022 +0200

    increase pre border-radius to 5px

commit 62f0d16540
Author: surtur <a_mirre@utb.cz>
Date:   Tue Mar 29 18:18:02 2022 +0200

    change theme colours
This commit is contained in:
surtur 2022-03-29 18:37:04 +02:00
parent 5ca65d3410
commit aaccd2356b
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
3 changed files with 16 additions and 13 deletions

View File

@ -1,11 +1,12 @@
// Colors // Colors
// //
$theme: #D8D8D8; $theme: #613583; // hyperlink highlight background colour, .post-info
$text: #D8D8D8; // site-local link :hover highlight colour
$light-grey: #282a2b; // Background $text: #21fa45; // colour of normal text
$dark-grey: #282a2b; // Hover Bar $light-grey: #010000; // background
$highlight-grey: #151718; // Highlight background of `keyword` $dark-grey: #111115; // hover bar
$midnightblue: #151718; // Code Background $highlight-grey: #9141ac; // code (not in pre) background
$midnightblue: #151718; // code text (not in pre) colour
// Fonts // Fonts
// //

View File

@ -48,19 +48,20 @@ pre {
letter-spacing: normal; letter-spacing: normal;
white-space: pre; white-space: pre;
color: #eee; color: #eee;
background: $midnightblue; background: transparent;
border-radius: 4px; border-radius: 5px;
// -webkit-overflow-scrolling: touch; // -webkit-overflow-scrolling: touch;
code { code {
padding: 0; padding: 0;
margin: 0; margin: 0;
background: $midnightblue; color: #eee;
background: transparent;
} }
} }
code { code {
color: #eee; color: $midnightblue;
background: $highlight-grey; background: $highlight-grey;
border-radius: 3px; border-radius: 3px;
padding: 0 3px; padding: 0 3px;
@ -94,8 +95,7 @@ a {
transition-timing-function: ease-out; transition-timing-function: ease-out;
&:hover { &:hover {
color: #fff; color: $highlight-grey;
text-shadow: 0 0 1px #fff;
} }
} }
@ -380,6 +380,7 @@ p.img-404 {
&:hover { &:hover {
border-color: #fff; border-color: #fff;
color: $highlight-grey;
} }
svg { svg {

View File

@ -5,7 +5,8 @@ theme = "hermit"
enableGitInfo = true enableGitInfo = true
pygmentsCodefences = true pygmentsCodefences = true
pygmentsUseClasses = true pygmentsUseClasses = false
pygmentsStyle = "fruity"
enableEmoji = true enableEmoji = true
[author] [author]