tonybtw.com
tonybtw.com
https://git.tonybtw.com/tonybtw.com.git
git://git.tonybtw.com/tonybtw.com.git
Fixed code theme
Diff
diff --git a/hugo.toml b/hugo.toml
index a48bd55..54d851c 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -1,3 +1,14 @@
baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'Tony, btw.'
+
+[markup.highlight]
+ # style = "rose-pine"
+ # style = "tokyonight-moon"
+ # style = "tokyonight-storm"
+ # style = "tokyonight-night"
+ style = "catppuccin-mocha"
+ # style = "catppuccin-frappe"
+ # style = "catppuccin-macchiato"
+ # style = "rose-pine-moon"
+ noClasses = true # uses inline styles (easy, no CSS setup)
diff --git a/layouts/tutorial/single.html b/layouts/tutorial/single.html
index 78afc80..1d65e4d 100644
--- a/layouts/tutorial/single.html
+++ b/layouts/tutorial/single.html
@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Tony, btw." />
<link rel="icon" type="image/png" href="/img/favicon.png" />
- <link rel="stylesheet" href="/css/code.css" />
+ <!-- <link rel="stylesheet" href="/css/code.css" /> -->
<link rel="stylesheet" href="/css/site.css" />
<title>{{ .Title }}</title>
</head>
diff --git a/static/css/site.css b/static/css/site.css
index d28d1ed..7e726fe 100644
--- a/static/css/site.css
+++ b/static/css/site.css
@@ -300,6 +300,7 @@ kbd {
}
pre {
+ border: 1px solid var(--tokyonight-blue);
background-color: #232635;
padding: 1em;
overflow-x: scroll;
@@ -384,6 +385,7 @@ strong {
color: #1a1b26;
border-bottom: 1px solid #292d3e;
+
min-height: 160px;
padding: 0;
}
diff --git a/static/img/hyprland-2.png b/static/img/hyprland-2.png
new file mode 100644
index 0000000..428da68
Binary files /dev/null and b/static/img/hyprland-2.png differ