first commit

This commit is contained in:
psychhim
2025-11-11 16:16:48 +05:30
commit 26478bba37
31 changed files with 2421 additions and 0 deletions

0
.hugo_build.lock Normal file
View File

5
archetypes/default.md Normal file
View File

@@ -0,0 +1,5 @@
+++
date = '{{ .Date }}'
draft = true
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
+++

View File

@@ -0,0 +1,3 @@
---
title: "Categories"
---

View File

@@ -0,0 +1,9 @@
+++
date = '2025-11-11T02:50:36+05:30'
draft = false
title = 'First Post'
categories = 'non-tech'
tags = 'first-post'
+++
This is the first post of the site!

37
hugo.toml Normal file
View File

@@ -0,0 +1,37 @@
baseURL = 'https://freedoms4.top/'
languageCode = 'en-us'
title = 'Freedoms4'
theme= 'hugo-theme-yue'
[params]
customCSS = ["css/custom.css"]
[menu]
[[menu.main]]
identifier = "home"
name = "Home"
url = "/"
weight = 1
[[menu.main]]
identifier = "blog"
name = "Blog"
url = "/posts/"
weight = 2
[[menu.main]]
identifier = "categories"
name = "Categories"
url = "/categories/"
weight = 3
[[menu.main]]
identifier = "about"
name = "About"
url = "/about/"
weight = 4
[taxonomies]
category = "categories"
tag = "tags"

View File

@@ -0,0 +1,21 @@
{{ define "main" }}
<div class="breadcrumbs">
You are here:
<a href="{{ "/" | relURL }}">Home</a> /
<a href="{{ "/categories/" | relURL }}">Categories</a> /
<span>{{ .Title }}</span>
</div>
{{ .Content }}
<section class="posts-list">
{{ range .Pages.ByDate.Reverse }}
{{ partial "main/dates.html" . }}
<h2 class="term-post-title">
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
</h2>
{{ end }}
</section>
{{ end }}

View File

@@ -0,0 +1,15 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
{{ partial "head/head-start.html" . }}
{{ partialCached "head/scss.html" . }}
{{ partial "head/favicon.html" . }}
{{ partial "head/description.html" . }}
{{ partial "opengraph.html" . }}
{{ partial "schema.html" . }}
{{ partial "head/rss_link.html" . }}
<!-- Direct custom CSS -->
<link rel="stylesheet" href="{{ "css/custom.css" | relURL }}">
{{ partial "head/head-end.html" . }}

64
public/404.html Normal file
View File

@@ -0,0 +1,64 @@
<!doctype html>
<html
class="html"
lang="en-us"
dir="ltr"
>
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>404 Page not found | Freedoms4</title>
<link rel="stylesheet" href="/css/style.css">
<link rel="icon" href="/favicon.ico" />
<meta property="og:url" content="http://localhost:1313/404.html">
<meta property="og:site_name" content="Freedoms4">
<meta property="og:title" content="404 Page not found">
<meta property="og:locale" content="en_us">
<meta property="og:type" content="website">
<meta itemprop="name" content="404 Page not found">
<link rel="stylesheet" href="/css/custom.css">
</head>
<body class="body">
<header class="header"><h1>Freedoms4</h1>
<nav class="menu language">
<ul class="menu__list language__list">
<li class="menu__item">
<a class="menu__link" href="/">Home</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/posts/">Blog</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/categories/">Categories</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/about/">About</a>
</li>
</ul>
</nav>
</header>
<main class="main">
<h1>404</h1>
<p>The page you visited was not found.</p>
<p>
<a href="/">Return to the home page</a>
</p>
</main>
<footer class="footer">
<p class="footer__copyright-notice">&copy; 2025 </p>
<p class="footer__theme-info">Built with <a href='https://gohugo.io'>Hugo</a> and <a href='https://github.com/CyrusYip/hugo-theme-yue'>Yue</a></p></footer>
</body>
</html>

View File

@@ -0,0 +1,61 @@
<!doctype html>
<html
class="html"
lang="en-us"
dir="ltr"
>
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Categories | Freedoms4</title>
<link rel="stylesheet" href="/css/style.css">
<link rel="icon" href="/favicon.ico" />
<meta property="og:url" content="http://localhost:1313/categories/">
<meta property="og:site_name" content="Freedoms4">
<meta property="og:title" content="Categories">
<meta property="og:locale" content="en_us">
<meta property="og:type" content="website">
<meta itemprop="name" content="Categories">
<meta itemprop="datePublished" content="2025-11-11T02:50:36+05:30">
<meta itemprop="dateModified" content="2025-11-11T02:50:36+05:30">
<link rel="alternate" type="application/rss+xml" href="/categories/index.xml" title="Freedoms4">
<link rel="stylesheet" href="/css/custom.css">
</head>
<body class="body">
<header class="header"><h1>Freedoms4</h1>
<nav class="menu language">
<ul class="menu__list language__list">
<li class="menu__item">
<a class="menu__link" href="/">Home</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/posts/">Blog</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/categories/">Categories</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/about/">About</a>
</li>
</ul>
</nav>
</header>
<main class="main"> <div class="breadcrumbs"> You are here: <a href="/">Home</a> / <span>Categories</span> </div> <section class="term-list"> <h2 class="term-list__item"> <a class="term-list__link" href="/categories/non-tech/"> Non-Tech <sup>1</sup> </a> </h2> </section> </main>
<footer class="footer"><p class="footer__rss-link"><a href="/categories/index.xml">RSS</a></p>
<p class="footer__copyright-notice">&copy; 2025 </p>
<p class="footer__theme-info">Built with <a href='https://gohugo.io'>Hugo</a> and <a href='https://github.com/CyrusYip/hugo-theme-yue'>Yue</a></p></footer>
</body>
</html>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on Freedoms4</title>
<link>http://localhost:1313/categories/</link>
<description>Recent content in Categories on Freedoms4</description>
<generator>Hugo</generator>
<language>en-us</language>
<lastBuildDate>Tue, 11 Nov 2025 02:50:36 +0530</lastBuildDate>
<atom:link href="http://localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Non-Tech</title>
<link>http://localhost:1313/categories/non-tech/</link>
<pubDate>Tue, 11 Nov 2025 02:50:36 +0530</pubDate>
<guid>http://localhost:1313/categories/non-tech/</guid>
<description></description>
</item>
</channel>
</rss>

View File

@@ -0,0 +1,81 @@
<!doctype html>
<html
class="html"
lang="en-us"
dir="ltr"
>
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Non-Tech | Freedoms4</title>
<link rel="stylesheet" href="/css/style.css">
<link rel="icon" href="/favicon.ico" />
<meta property="og:url" content="http://localhost:1313/categories/non-tech/">
<meta property="og:site_name" content="Freedoms4">
<meta property="og:title" content="Non-Tech">
<meta property="og:locale" content="en_us">
<meta property="og:type" content="website">
<meta itemprop="name" content="Non-Tech">
<meta itemprop="datePublished" content="2025-11-11T02:50:36+05:30">
<meta itemprop="dateModified" content="2025-11-11T02:50:36+05:30">
<link rel="alternate" type="application/rss+xml" href="/categories/non-tech/index.xml" title="Freedoms4">
<link rel="stylesheet" href="/css/custom.css">
</head>
<body class="body">
<header class="header"><h1>Freedoms4</h1>
<nav class="menu language">
<ul class="menu__list language__list">
<li class="menu__item">
<a class="menu__link" href="/">Home</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/posts/">Blog</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/categories/">Categories</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/about/">About</a>
</li>
</ul>
</nav>
</header>
<main class="main">
<div class="breadcrumbs">
You are here:
<a href="/">Home</a> /
<a href="/categories/">Categories</a> /
<span>Non-Tech</span>
</div>
<section class="posts-list">
<time class="published-date" datetime="2025-11-11T02:50:36&#43;05:30">2025-11-11</time>
<h2 class="term-post-title">
<a href="/posts/first-post/">First Post</a>
</h2>
</section>
</main>
<footer class="footer"><p class="footer__rss-link"><a href="/categories/non-tech/index.xml">RSS</a></p>
<p class="footer__copyright-notice">&copy; 2025 </p>
<p class="footer__theme-info">Built with <a href='https://gohugo.io'>Hugo</a> and <a href='https://github.com/CyrusYip/hugo-theme-yue'>Yue</a></p></footer>
</body>
</html>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Non-Tech on Freedoms4</title>
<link>http://localhost:1313/categories/non-tech/</link>
<description>Recent content in Non-Tech on Freedoms4</description>
<generator>Hugo</generator>
<language>en-us</language>
<lastBuildDate>Tue, 11 Nov 2025 02:50:36 +0530</lastBuildDate>
<atom:link href="http://localhost:1313/categories/non-tech/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>First Post</title>
<link>http://localhost:1313/posts/first-post/</link>
<pubDate>Tue, 11 Nov 2025 02:50:36 +0530</pubDate>
<guid>http://localhost:1313/posts/first-post/</guid>
<description>&lt;p&gt;This is the first post of the site!&lt;/p&gt;</description>
</item>
</channel>
</rss>

32
public/css/custom.css Normal file
View File

@@ -0,0 +1,32 @@
.breadcrumbs {
font-size: 0.9rem;
margin-bottom: 1rem;
font-weight: bold;
}
.breadcrumbs a {
color: #3498db;
text-decoration: none;
}
.breadcrumbs a:hover {
text-decoration: underline;
}
.term-list {
display: block;
margin-top: 1rem;
}
.term-list__item {
margin-bottom: 0.5rem;
}
.term-list__link {
color: inherit; /* inherit theme text color */
text-decoration: none;
}
.term-list__link:hover {
text-decoration: underline;
}

764
public/css/style.css Normal file
View File

@@ -0,0 +1,764 @@
/*
Styles are mobile-first. Desktop styles are wrapped in media queries.
Naming convention: BEM (Block, Element, Modifier). When it's difficult to add classes, I will use tag names.
*/
*,
*::before,
*::after {
box-sizing: border-box; }
.body {
margin: 0; }
a {
text-decoration: none; }
.menu__list,
.translation-list,
.pagination {
list-style-type: none;
padding-inline-start: 0; }
ul:has(> li > input[type="checkbox"]) {
list-style-type: none;
padding-inline-start: 1em; }
blockquote {
margin: 0; }
.body {
margin-left: 16px;
margin-right: 16px; }
@media (min-width: 800px) {
.body {
width: 768px;
margin-left: auto;
margin-right: auto; } }
:root {
--background-color: #fbf1c7;
--background-color1: #ebdbb2;
--foreground-color: #3c3836;
--foreground-color3: #665c54;
--accent-color: #af3a03; }
@media (prefers-color-scheme: dark) {
:root {
--background-color: #282828;
--background-color1: #3c3836;
--foreground-color: #ebdbb2;
--foreground-color3: #bdae93;
--accent-color: #fe8019; } }
.body {
background-color: var(--background-color);
color: var(--foreground-color); }
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--foreground-color); }
a {
color: var(--accent-color); }
.header {
border-bottom: 1px solid var(--background-color1); }
.footer {
border-top: 1px solid var(--background-color1); }
blockquote {
background-color: var(--background-color1); }
[dir=rtl] blockquote {
border-right: 0.5rem solid var(--accent-color); }
[dir=ltr] blockquote {
border-left: 0.5rem solid var(--accent-color); }
:not(pre) > code {
background-color: var(--background-color1); }
hr {
background: var(--background-color1); }
table {
background-color: var(--background-color1); }
td,
th {
border: 1px solid var(--background-color); }
figcaption {
color: var(--foreground-color3); }
/* Background */
.bg {
color: #3c3836;
background-color: #fbf1c7; }
/* PreWrapper */
.chroma {
color: #3c3836;
background-color: #fbf1c7; }
/* Other */
/* Error */
/* CodeLine */
/* LineLink */
.chroma .lnlinks {
outline: none;
text-decoration: none;
color: inherit; }
/* LineTableTD */
.chroma .lntd {
vertical-align: top;
padding: 0;
margin: 0;
border: 0; }
/* LineTable */
.chroma .lntable {
border-spacing: 0;
padding: 0;
margin: 0;
border: 0; }
/* LineHighlight */
.chroma .hl {
background-color: #e1d8b3; }
/* LineNumbersTable */
.chroma .lnt {
white-space: pre;
-webkit-user-select: none;
user-select: none;
margin-right: 0.4em;
padding: 0 0.4em 0 0.4em;
color: #9d9b9a; }
/* LineNumbers */
.chroma .ln {
white-space: pre;
-webkit-user-select: none;
user-select: none;
margin-right: 0.4em;
padding: 0 0.4em 0 0.4em;
color: #9d9b9a; }
/* Line */
.chroma .line {
display: flex; }
/* Keyword */
.chroma .k {
color: #af3a03; }
/* KeywordConstant */
.chroma .kc {
color: #af3a03; }
/* KeywordDeclaration */
.chroma .kd {
color: #af3a03; }
/* KeywordNamespace */
.chroma .kn {
color: #af3a03; }
/* KeywordPseudo */
.chroma .kp {
color: #af3a03; }
/* KeywordReserved */
.chroma .kr {
color: #af3a03; }
/* KeywordType */
.chroma .kt {
color: #b57614; }
/* Name */
/* NameAttribute */
.chroma .na {
color: #79740e;
font-weight: bold; }
/* NameBuiltin */
.chroma .nb {
color: #b57614; }
/* NameBuiltinPseudo */
/* NameClass */
/* NameConstant */
.chroma .no {
color: #d3869b; }
/* NameDecorator */
/* NameEntity */
.chroma .ni {
color: #b57614; }
/* NameException */
.chroma .ne {
color: #fb4934; }
/* NameFunction */
.chroma .nf {
color: #b57614; }
/* NameFunctionMagic */
/* NameLabel */
.chroma .nl {
color: #9d0006; }
/* NameNamespace */
/* NameOther */
/* NameProperty */
/* NameTag */
.chroma .nt {
color: #9d0006; }
/* NameVariable */
/* NameVariableClass */
/* NameVariableGlobal */
/* NameVariableInstance */
/* NameVariableMagic */
/* Literal */
/* LiteralDate */
/* LiteralString */
.chroma .s {
color: #79740e; }
/* LiteralStringAffix */
.chroma .sa {
color: #79740e; }
/* LiteralStringBacktick */
.chroma .sb {
color: #79740e; }
/* LiteralStringChar */
.chroma .sc {
color: #79740e; }
/* LiteralStringDelimiter */
.chroma .dl {
color: #79740e; }
/* LiteralStringDoc */
.chroma .sd {
color: #79740e; }
/* LiteralStringDouble */
.chroma .s2 {
color: #79740e; }
/* LiteralStringEscape */
.chroma .se {
color: #79740e; }
/* LiteralStringHeredoc */
.chroma .sh {
color: #79740e; }
/* LiteralStringInterpol */
.chroma .si {
color: #79740e; }
/* LiteralStringOther */
.chroma .sx {
color: #79740e; }
/* LiteralStringRegex */
.chroma .sr {
color: #79740e; }
/* LiteralStringSingle */
.chroma .s1 {
color: #79740e; }
/* LiteralStringSymbol */
.chroma .ss {
color: #076678; }
/* LiteralNumber */
.chroma .m {
color: #8f3f71; }
/* LiteralNumberBin */
.chroma .mb {
color: #8f3f71; }
/* LiteralNumberFloat */
.chroma .mf {
color: #8f3f71; }
/* LiteralNumberHex */
.chroma .mh {
color: #8f3f71; }
/* LiteralNumberInteger */
.chroma .mi {
color: #8f3f71; }
/* LiteralNumberIntegerLong */
.chroma .il {
color: #8f3f71; }
/* LiteralNumberOct */
.chroma .mo {
color: #8f3f71; }
/* Operator */
.chroma .o {
color: #af3a03; }
/* OperatorWord */
.chroma .ow {
color: #af3a03; }
/* Punctuation */
/* Comment */
.chroma .c {
color: #928374;
font-style: italic; }
/* CommentHashbang */
.chroma .ch {
color: #928374;
font-style: italic; }
/* CommentMultiline */
.chroma .cm {
color: #928374;
font-style: italic; }
/* CommentSingle */
.chroma .c1 {
color: #928374;
font-style: italic; }
/* CommentSpecial */
.chroma .cs {
color: #928374;
font-style: italic; }
/* CommentPreproc */
.chroma .cp {
color: #427b58; }
/* CommentPreprocFile */
.chroma .cpf {
color: #427b58;
font-style: italic; }
/* Generic */
/* GenericDeleted */
.chroma .gd {
color: #282828;
background-color: #9d0006; }
/* GenericEmph */
.chroma .ge {
color: #076678;
text-decoration: underline; }
/* GenericError */
.chroma .gr {
background-color: #9d0006;
font-weight: bold; }
/* GenericHeading */
.chroma .gh {
color: #79740e;
font-weight: bold; }
/* GenericInserted */
.chroma .gi {
color: #282828;
background-color: #79740e; }
/* GenericOutput */
.chroma .go {
color: #504945; }
/* GenericPrompt */
/* GenericStrong */
/* GenericSubheading */
.chroma .gu {
color: #79740e;
font-weight: bold; }
/* GenericTraceback */
.chroma .gt {
background-color: #3c3836;
font-weight: bold; }
/* GenericUnderline */
/* TextWhitespace */
@media (prefers-color-scheme: dark) {
/* Background */
.bg {
color: #ebdbb2;
background-color: #282828; }
/* PreWrapper */
.chroma {
color: #ebdbb2;
background-color: #282828; }
/* Other */
/* Error */
/* CodeLine */
/* LineLink */
.chroma .lnlinks {
outline: none;
text-decoration: none;
color: inherit; }
/* LineTableTD */
.chroma .lntd {
vertical-align: top;
padding: 0;
margin: 0;
border: 0; }
/* LineTable */
.chroma .lntable {
border-spacing: 0;
padding: 0;
margin: 0;
border: 0; }
/* LineHighlight */
.chroma .hl {
background-color: #3d3d3d; }
/* LineNumbersTable */
.chroma .lnt {
white-space: pre;
-webkit-user-select: none;
user-select: none;
margin-right: 0.4em;
padding: 0 0.4em 0 0.4em;
color: #756d59; }
/* LineNumbers */
.chroma .ln {
white-space: pre;
-webkit-user-select: none;
user-select: none;
margin-right: 0.4em;
padding: 0 0.4em 0 0.4em;
color: #756d59; }
/* Line */
.chroma .line {
display: flex; }
/* Keyword */
.chroma .k {
color: #fe8019; }
/* KeywordConstant */
.chroma .kc {
color: #fe8019; }
/* KeywordDeclaration */
.chroma .kd {
color: #fe8019; }
/* KeywordNamespace */
.chroma .kn {
color: #fe8019; }
/* KeywordPseudo */
.chroma .kp {
color: #fe8019; }
/* KeywordReserved */
.chroma .kr {
color: #fe8019; }
/* KeywordType */
.chroma .kt {
color: #fabd2f; }
/* Name */
/* NameAttribute */
.chroma .na {
color: #b8bb26;
font-weight: bold; }
/* NameBuiltin */
.chroma .nb {
color: #fabd2f; }
/* NameBuiltinPseudo */
/* NameClass */
/* NameConstant */
.chroma .no {
color: #d3869b; }
/* NameDecorator */
/* NameEntity */
.chroma .ni {
color: #fabd2f; }
/* NameException */
.chroma .ne {
color: #fb4934; }
/* NameFunction */
.chroma .nf {
color: #fabd2f; }
/* NameFunctionMagic */
/* NameLabel */
.chroma .nl {
color: #fb4934; }
/* NameNamespace */
/* NameOther */
/* NameProperty */
/* NameTag */
.chroma .nt {
color: #fb4934; }
/* NameVariable */
/* NameVariableClass */
/* NameVariableGlobal */
/* NameVariableInstance */
/* NameVariableMagic */
/* Literal */
/* LiteralDate */
/* LiteralString */
.chroma .s {
color: #b8bb26; }
/* LiteralStringAffix */
.chroma .sa {
color: #b8bb26; }
/* LiteralStringBacktick */
.chroma .sb {
color: #b8bb26; }
/* LiteralStringChar */
.chroma .sc {
color: #b8bb26; }
/* LiteralStringDelimiter */
.chroma .dl {
color: #b8bb26; }
/* LiteralStringDoc */
.chroma .sd {
color: #b8bb26; }
/* LiteralStringDouble */
.chroma .s2 {
color: #b8bb26; }
/* LiteralStringEscape */
.chroma .se {
color: #b8bb26; }
/* LiteralStringHeredoc */
.chroma .sh {
color: #b8bb26; }
/* LiteralStringInterpol */
.chroma .si {
color: #b8bb26; }
/* LiteralStringOther */
.chroma .sx {
color: #b8bb26; }
/* LiteralStringRegex */
.chroma .sr {
color: #b8bb26; }
/* LiteralStringSingle */
.chroma .s1 {
color: #b8bb26; }
/* LiteralStringSymbol */
.chroma .ss {
color: #83a598; }
/* LiteralNumber */
.chroma .m {
color: #d3869b; }
/* LiteralNumberBin */
.chroma .mb {
color: #d3869b; }
/* LiteralNumberFloat */
.chroma .mf {
color: #d3869b; }
/* LiteralNumberHex */
.chroma .mh {
color: #d3869b; }
/* LiteralNumberInteger */
.chroma .mi {
color: #d3869b; }
/* LiteralNumberIntegerLong */
.chroma .il {
color: #d3869b; }
/* LiteralNumberOct */
.chroma .mo {
color: #d3869b; }
/* Operator */
.chroma .o {
color: #fe8019; }
/* OperatorWord */
.chroma .ow {
color: #fe8019; }
/* Punctuation */
/* Comment */
.chroma .c {
color: #928374;
font-style: italic; }
/* CommentHashbang */
.chroma .ch {
color: #928374;
font-style: italic; }
/* CommentMultiline */
.chroma .cm {
color: #928374;
font-style: italic; }
/* CommentSingle */
.chroma .c1 {
color: #928374;
font-style: italic; }
/* CommentSpecial */
.chroma .cs {
color: #928374;
font-style: italic; }
/* CommentPreproc */
.chroma .cp {
color: #8ec07c; }
/* CommentPreprocFile */
.chroma .cpf {
color: #8ec07c;
font-style: italic; }
/* Generic */
/* GenericDeleted */
.chroma .gd {
color: #282828;
background-color: #fb4934; }
/* GenericEmph */
.chroma .ge {
color: #83a598;
text-decoration: underline; }
/* GenericError */
.chroma .gr {
background-color: #fb4934;
font-weight: bold; }
/* GenericHeading */
.chroma .gh {
color: #b8bb26;
font-weight: bold; }
/* GenericInserted */
.chroma .gi {
color: #282828;
background-color: #b8bb26; }
/* GenericOutput */
.chroma .go {
color: #504945; }
/* GenericPrompt */
/* GenericStrong */
/* GenericSubheading */
.chroma .gu {
color: #b8bb26;
font-weight: bold; }
/* GenericTraceback */
.chroma .gt {
background-color: #fb4934;
font-weight: bold; }
/* GenericUnderline */
/* TextWhitespace */ }
pre:not(.chroma),
.bg,
.chroma,
.highlight {
background-color: var(--background-color1); }
.html {
font-size: 18px; }
.body {
font-family: sans-serif;
line-height: 1.5; }
p,
ul,
ol,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word; }
.toc {
margin-block: 1rem; }
.toc__summary {
font-weight: bolder;
cursor: pointer; }
blockquote {
padding: 0.5rem; }
hr {
border: none;
height: 1px; }
figure {
margin-inline: 0; }
.heading__anchor {
display: none; }
.heading:hover > .heading__anchor {
display: inline; }
.table-wrapper {
overflow-x: auto;
margin-block: 1rem; }
.table-wrapper > table {
word-break: keep-all;
border-collapse: collapse; }
.table-wrapper > table td,
.table-wrapper > table th {
padding: 0.5rem;
text-align: start; }
svg,
img,
video,
iframe {
max-width: 100%; }
.menu__list {
display: flex;
flex-direction: row;
gap: 0.5rem;
flex-wrap: wrap; }
.menu__link--active {
font-weight: bolder; }
.pagination {
display: flex;
gap: 1rem; }
.page-item.active {
font-weight: bolder; }
.page-nav {
display: flex;
flex-direction: column;
margin-block: 1rem; }
.section-post-title,
.term-post-title {
margin-block-start: 0; }
.home-post-title {
margin-block-end: 0; }
.summary {
margin-block-start: 0; }
:not(pre) > code {
padding-inline: 0.25rem; }
div.highlight {
overflow-x: auto;
margin-block: 1rem; }
div.highlight > div.chroma > table.lntable {
padding-inline-end: 0.4rem; }
div.highlight > pre.chroma {
padding-inline: 0.4rem; }
pre:not(.chroma) {
overflow-x: auto;
padding-block: 1rem;
padding-inline: 0.4rem; }
pre {
font-size: 0.875rem; }
.footer {
font-size: smaller; }

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

73
public/index.html Normal file
View File

@@ -0,0 +1,73 @@
<!doctype html>
<html
class="html"
lang="en-us"
dir="ltr"
>
<head>
<meta name="generator" content="Hugo 0.152.2"><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Freedoms4</title>
<link rel="stylesheet" href="/css/style.css">
<link rel="icon" href="/favicon.ico" />
<meta property="og:url" content="http://localhost:1313/">
<meta property="og:site_name" content="Freedoms4">
<meta property="og:title" content="Freedoms4">
<meta property="og:locale" content="en_us">
<meta property="og:type" content="website">
<meta itemprop="name" content="Freedoms4">
<meta itemprop="datePublished" content="2025-11-11T02:50:36+05:30">
<meta itemprop="dateModified" content="2025-11-11T02:50:36+05:30">
<link rel="alternate" type="application/rss+xml" href="/index.xml" title="Freedoms4">
<link rel="stylesheet" href="/css/custom.css">
</head>
<body class="body">
<header class="header"><h1>Freedoms4</h1>
<nav class="menu language">
<ul class="menu__list language__list">
<li class="menu__item">
<a class="menu__link" href="/">Home</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/posts/">Blog</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/categories/">Categories</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/about/">About</a>
</li>
</ul>
</nav>
</header>
<main class="main">
<h2 class="home-post-title"><a href="/posts/first-post/">First Post</a></h2>
<time class="published-date" datetime="2025-11-11T02:50:36&#43;05:30">2025-11-11</time>
<p class="summary">This is the first post of the site!</p>
<nav class="paginator">
</nav>
</main>
<footer class="footer"><p class="footer__rss-link"><a href="/index.xml">RSS</a></p>
<p class="footer__copyright-notice">&copy; 2025 </p>
<p class="footer__theme-info">Built with <a href='https://gohugo.io'>Hugo</a> and <a href='https://github.com/CyrusYip/hugo-theme-yue'>Yue</a></p></footer>
</body>
</html>

19
public/index.xml Normal file
View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Freedoms4</title>
<link>http://localhost:1313/</link>
<description>Recent content on Freedoms4</description>
<generator>Hugo</generator>
<language>en-us</language>
<lastBuildDate>Tue, 11 Nov 2025 02:50:36 +0530</lastBuildDate>
<atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>First Post</title>
<link>http://localhost:1313/posts/first-post/</link>
<pubDate>Tue, 11 Nov 2025 02:50:36 +0530</pubDate>
<guid>http://localhost:1313/posts/first-post/</guid>
<description>&lt;p&gt;This is the first post of the site!&lt;/p&gt;</description>
</item>
</channel>
</rss>

9
public/page/1/index.html Normal file
View File

@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>http://localhost:1313/</title>
<link rel="canonical" href="http://localhost:1313/">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=http://localhost:1313/">
</head>
</html>

View File

@@ -0,0 +1,92 @@
<!doctype html>
<html
class="html"
lang="en-us"
dir="ltr"
>
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>First Post | Freedoms4</title>
<link rel="stylesheet" href="/css/style.css">
<link rel="icon" href="/favicon.ico" />
<meta name="description" content="This is the first post of the site!">
<meta property="og:url" content="http://localhost:1313/posts/first-post/">
<meta property="og:site_name" content="Freedoms4">
<meta property="og:title" content="First Post">
<meta property="og:description" content="This is the first post of the site!">
<meta property="og:locale" content="en_us">
<meta property="og:type" content="article">
<meta property="article:section" content="posts">
<meta property="article:published_time" content="2025-11-11T02:50:36+05:30">
<meta property="article:modified_time" content="2025-11-11T02:50:36+05:30">
<meta property="article:tag" content="First-Post">
<meta itemprop="name" content="First Post">
<meta itemprop="description" content="This is the first post of the site!">
<meta itemprop="datePublished" content="2025-11-11T02:50:36+05:30">
<meta itemprop="dateModified" content="2025-11-11T02:50:36+05:30">
<meta itemprop="wordCount" content="8">
<meta itemprop="keywords" content="First-Post">
<link rel="stylesheet" href="/css/custom.css">
</head>
<body class="body">
<header class="header"><h1>Freedoms4</h1>
<nav class="menu language">
<ul class="menu__list language__list">
<li class="menu__item">
<a class="menu__link" href="/">Home</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/posts/">Blog</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/categories/">Categories</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/about/">About</a>
</li>
</ul>
</nav>
</header>
<main class="main">
<h1>First Post</h1>
<time class="published-date" datetime="2025-11-11T02:50:36&#43;05:30">2025-11-11</time>
<p>This is the first post of the site!</p>
<div>
<div>Tags:</div>
<ul>
<li><a href="/tags/first-post/">First-Post</a></li>
</ul>
</div>
<div>
<div>Categories:</div>
<ul>
<li><a href="/categories/non-tech/">Non-Tech</a></li>
</ul>
</div>
</main>
<footer class="footer">
<p class="footer__copyright-notice">&copy; 2025 </p>
<p class="footer__theme-info">Built with <a href='https://gohugo.io'>Hugo</a> and <a href='https://github.com/CyrusYip/hugo-theme-yue'>Yue</a></p></footer>
</body>
</html>

66
public/posts/index.html Normal file
View File

@@ -0,0 +1,66 @@
<!doctype html>
<html
class="html"
lang="en-us"
dir="ltr"
>
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Posts | Freedoms4</title>
<link rel="stylesheet" href="/css/style.css">
<link rel="icon" href="/favicon.ico" />
<meta property="og:url" content="http://localhost:1313/posts/">
<meta property="og:site_name" content="Freedoms4">
<meta property="og:title" content="Posts">
<meta property="og:locale" content="en_us">
<meta property="og:type" content="website">
<meta itemprop="name" content="Posts">
<meta itemprop="datePublished" content="2025-11-11T02:50:36+05:30">
<meta itemprop="dateModified" content="2025-11-11T02:50:36+05:30">
<link rel="alternate" type="application/rss+xml" href="/posts/index.xml" title="Freedoms4">
<link rel="stylesheet" href="/css/custom.css">
</head>
<body class="body">
<header class="header"><h1>Freedoms4</h1>
<nav class="menu language">
<ul class="menu__list language__list">
<li class="menu__item">
<a class="menu__link" href="/">Home</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/posts/">Blog</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/categories/">Categories</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/about/">About</a>
</li>
</ul>
</nav>
</header>
<main class="main"> <time class="published-date" datetime="2025-11-11T02:50:36&#43;05:30">2025-11-11</time>
<h2 class="section-post-title"><a href="/posts/first-post/">First Post</a></h2>
<nav class="paginator"> </nav>
</main>
<footer class="footer"><p class="footer__rss-link"><a href="/posts/index.xml">RSS</a></p>
<p class="footer__copyright-notice">&copy; 2025 </p>
<p class="footer__theme-info">Built with <a href='https://gohugo.io'>Hugo</a> and <a href='https://github.com/CyrusYip/hugo-theme-yue'>Yue</a></p></footer>
</body>
</html>

19
public/posts/index.xml Normal file
View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Posts on Freedoms4</title>
<link>http://localhost:1313/posts/</link>
<description>Recent content in Posts on Freedoms4</description>
<generator>Hugo</generator>
<language>en-us</language>
<lastBuildDate>Tue, 11 Nov 2025 02:50:36 +0530</lastBuildDate>
<atom:link href="http://localhost:1313/posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>First Post</title>
<link>http://localhost:1313/posts/first-post/</link>
<pubDate>Tue, 11 Nov 2025 02:50:36 +0530</pubDate>
<guid>http://localhost:1313/posts/first-post/</guid>
<description>&lt;p&gt;This is the first post of the site!&lt;/p&gt;</description>
</item>
</channel>
</rss>

View File

@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>http://localhost:1313/posts/</title>
<link rel="canonical" href="http://localhost:1313/posts/">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=http://localhost:1313/posts/">
</head>
</html>

26
public/sitemap.xml Normal file
View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>http://localhost:1313/categories/</loc>
<lastmod>2025-11-11T02:50:36+05:30</lastmod>
</url><url>
<loc>http://localhost:1313/posts/first-post/</loc>
<lastmod>2025-11-11T02:50:36+05:30</lastmod>
</url><url>
<loc>http://localhost:1313/tags/first-post/</loc>
<lastmod>2025-11-11T02:50:36+05:30</lastmod>
</url><url>
<loc>http://localhost:1313/</loc>
<lastmod>2025-11-11T02:50:36+05:30</lastmod>
</url><url>
<loc>http://localhost:1313/categories/non-tech/</loc>
<lastmod>2025-11-11T02:50:36+05:30</lastmod>
</url><url>
<loc>http://localhost:1313/posts/</loc>
<lastmod>2025-11-11T02:50:36+05:30</lastmod>
</url><url>
<loc>http://localhost:1313/tags/</loc>
<lastmod>2025-11-11T02:50:36+05:30</lastmod>
</url>
</urlset>

View File

@@ -0,0 +1,81 @@
<!doctype html>
<html
class="html"
lang="en-us"
dir="ltr"
>
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>First-Post | Freedoms4</title>
<link rel="stylesheet" href="/css/style.css">
<link rel="icon" href="/favicon.ico" />
<meta property="og:url" content="http://localhost:1313/tags/first-post/">
<meta property="og:site_name" content="Freedoms4">
<meta property="og:title" content="First-Post">
<meta property="og:locale" content="en_us">
<meta property="og:type" content="website">
<meta itemprop="name" content="First-Post">
<meta itemprop="datePublished" content="2025-11-11T02:50:36+05:30">
<meta itemprop="dateModified" content="2025-11-11T02:50:36+05:30">
<link rel="alternate" type="application/rss+xml" href="/tags/first-post/index.xml" title="Freedoms4">
<link rel="stylesheet" href="/css/custom.css">
</head>
<body class="body">
<header class="header"><h1>Freedoms4</h1>
<nav class="menu language">
<ul class="menu__list language__list">
<li class="menu__item">
<a class="menu__link" href="/">Home</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/posts/">Blog</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/categories/">Categories</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/about/">About</a>
</li>
</ul>
</nav>
</header>
<main class="main">
<div class="breadcrumbs">
You are here:
<a href="/">Home</a> /
<a href="/categories/">Categories</a> /
<span>First-Post</span>
</div>
<section class="posts-list">
<time class="published-date" datetime="2025-11-11T02:50:36&#43;05:30">2025-11-11</time>
<h2 class="term-post-title">
<a href="/posts/first-post/">First Post</a>
</h2>
</section>
</main>
<footer class="footer"><p class="footer__rss-link"><a href="/tags/first-post/index.xml">RSS</a></p>
<p class="footer__copyright-notice">&copy; 2025 </p>
<p class="footer__theme-info">Built with <a href='https://gohugo.io'>Hugo</a> and <a href='https://github.com/CyrusYip/hugo-theme-yue'>Yue</a></p></footer>
</body>
</html>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>First-Post on Freedoms4</title>
<link>http://localhost:1313/tags/first-post/</link>
<description>Recent content in First-Post on Freedoms4</description>
<generator>Hugo</generator>
<language>en-us</language>
<lastBuildDate>Tue, 11 Nov 2025 02:50:36 +0530</lastBuildDate>
<atom:link href="http://localhost:1313/tags/first-post/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>First Post</title>
<link>http://localhost:1313/posts/first-post/</link>
<pubDate>Tue, 11 Nov 2025 02:50:36 +0530</pubDate>
<guid>http://localhost:1313/posts/first-post/</guid>
<description>&lt;p&gt;This is the first post of the site!&lt;/p&gt;</description>
</item>
</channel>
</rss>

61
public/tags/index.html Normal file
View File

@@ -0,0 +1,61 @@
<!doctype html>
<html
class="html"
lang="en-us"
dir="ltr"
>
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Tags | Freedoms4</title>
<link rel="stylesheet" href="/css/style.css">
<link rel="icon" href="/favicon.ico" />
<meta property="og:url" content="http://localhost:1313/tags/">
<meta property="og:site_name" content="Freedoms4">
<meta property="og:title" content="Tags">
<meta property="og:locale" content="en_us">
<meta property="og:type" content="website">
<meta itemprop="name" content="Tags">
<meta itemprop="datePublished" content="2025-11-11T02:50:36+05:30">
<meta itemprop="dateModified" content="2025-11-11T02:50:36+05:30">
<link rel="alternate" type="application/rss+xml" href="/tags/index.xml" title="Freedoms4">
<link rel="stylesheet" href="/css/custom.css">
</head>
<body class="body">
<header class="header"><h1>Freedoms4</h1>
<nav class="menu language">
<ul class="menu__list language__list">
<li class="menu__item">
<a class="menu__link" href="/">Home</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/posts/">Blog</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/categories/">Categories</a>
</li>
<li class="menu__item">
<a class="menu__link" href="/about/">About</a>
</li>
</ul>
</nav>
</header>
<main class="main"> <div class="breadcrumbs"> You are here: <a href="/">Home</a> / <span>Tags</span> </div> <section class="term-list"> <h2 class="term-list__item"> <a class="term-list__link" href="/tags/first-post/"> First-Post <sup>1</sup> </a> </h2> </section> </main>
<footer class="footer"><p class="footer__rss-link"><a href="/tags/index.xml">RSS</a></p>
<p class="footer__copyright-notice">&copy; 2025 </p>
<p class="footer__theme-info">Built with <a href='https://gohugo.io'>Hugo</a> and <a href='https://github.com/CyrusYip/hugo-theme-yue'>Yue</a></p></footer>
</body>
</html>

19
public/tags/index.xml Normal file
View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on Freedoms4</title>
<link>http://localhost:1313/tags/</link>
<description>Recent content in Tags on Freedoms4</description>
<generator>Hugo</generator>
<language>en-us</language>
<lastBuildDate>Tue, 11 Nov 2025 02:50:36 +0530</lastBuildDate>
<atom:link href="http://localhost:1313/tags/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>First-Post</title>
<link>http://localhost:1313/tags/first-post/</link>
<pubDate>Tue, 11 Nov 2025 02:50:36 +0530</pubDate>
<guid>http://localhost:1313/tags/first-post/</guid>
<description></description>
</item>
</channel>
</rss>

View File

@@ -0,0 +1,764 @@
/*
Styles are mobile-first. Desktop styles are wrapped in media queries.
Naming convention: BEM (Block, Element, Modifier). When it's difficult to add classes, I will use tag names.
*/
*,
*::before,
*::after {
box-sizing: border-box; }
.body {
margin: 0; }
a {
text-decoration: none; }
.menu__list,
.translation-list,
.pagination {
list-style-type: none;
padding-inline-start: 0; }
ul:has(> li > input[type="checkbox"]) {
list-style-type: none;
padding-inline-start: 1em; }
blockquote {
margin: 0; }
.body {
margin-left: 16px;
margin-right: 16px; }
@media (min-width: 800px) {
.body {
width: 768px;
margin-left: auto;
margin-right: auto; } }
:root {
--background-color: #fbf1c7;
--background-color1: #ebdbb2;
--foreground-color: #3c3836;
--foreground-color3: #665c54;
--accent-color: #af3a03; }
@media (prefers-color-scheme: dark) {
:root {
--background-color: #282828;
--background-color1: #3c3836;
--foreground-color: #ebdbb2;
--foreground-color3: #bdae93;
--accent-color: #fe8019; } }
.body {
background-color: var(--background-color);
color: var(--foreground-color); }
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--foreground-color); }
a {
color: var(--accent-color); }
.header {
border-bottom: 1px solid var(--background-color1); }
.footer {
border-top: 1px solid var(--background-color1); }
blockquote {
background-color: var(--background-color1); }
[dir=rtl] blockquote {
border-right: 0.5rem solid var(--accent-color); }
[dir=ltr] blockquote {
border-left: 0.5rem solid var(--accent-color); }
:not(pre) > code {
background-color: var(--background-color1); }
hr {
background: var(--background-color1); }
table {
background-color: var(--background-color1); }
td,
th {
border: 1px solid var(--background-color); }
figcaption {
color: var(--foreground-color3); }
/* Background */
.bg {
color: #3c3836;
background-color: #fbf1c7; }
/* PreWrapper */
.chroma {
color: #3c3836;
background-color: #fbf1c7; }
/* Other */
/* Error */
/* CodeLine */
/* LineLink */
.chroma .lnlinks {
outline: none;
text-decoration: none;
color: inherit; }
/* LineTableTD */
.chroma .lntd {
vertical-align: top;
padding: 0;
margin: 0;
border: 0; }
/* LineTable */
.chroma .lntable {
border-spacing: 0;
padding: 0;
margin: 0;
border: 0; }
/* LineHighlight */
.chroma .hl {
background-color: #e1d8b3; }
/* LineNumbersTable */
.chroma .lnt {
white-space: pre;
-webkit-user-select: none;
user-select: none;
margin-right: 0.4em;
padding: 0 0.4em 0 0.4em;
color: #9d9b9a; }
/* LineNumbers */
.chroma .ln {
white-space: pre;
-webkit-user-select: none;
user-select: none;
margin-right: 0.4em;
padding: 0 0.4em 0 0.4em;
color: #9d9b9a; }
/* Line */
.chroma .line {
display: flex; }
/* Keyword */
.chroma .k {
color: #af3a03; }
/* KeywordConstant */
.chroma .kc {
color: #af3a03; }
/* KeywordDeclaration */
.chroma .kd {
color: #af3a03; }
/* KeywordNamespace */
.chroma .kn {
color: #af3a03; }
/* KeywordPseudo */
.chroma .kp {
color: #af3a03; }
/* KeywordReserved */
.chroma .kr {
color: #af3a03; }
/* KeywordType */
.chroma .kt {
color: #b57614; }
/* Name */
/* NameAttribute */
.chroma .na {
color: #79740e;
font-weight: bold; }
/* NameBuiltin */
.chroma .nb {
color: #b57614; }
/* NameBuiltinPseudo */
/* NameClass */
/* NameConstant */
.chroma .no {
color: #d3869b; }
/* NameDecorator */
/* NameEntity */
.chroma .ni {
color: #b57614; }
/* NameException */
.chroma .ne {
color: #fb4934; }
/* NameFunction */
.chroma .nf {
color: #b57614; }
/* NameFunctionMagic */
/* NameLabel */
.chroma .nl {
color: #9d0006; }
/* NameNamespace */
/* NameOther */
/* NameProperty */
/* NameTag */
.chroma .nt {
color: #9d0006; }
/* NameVariable */
/* NameVariableClass */
/* NameVariableGlobal */
/* NameVariableInstance */
/* NameVariableMagic */
/* Literal */
/* LiteralDate */
/* LiteralString */
.chroma .s {
color: #79740e; }
/* LiteralStringAffix */
.chroma .sa {
color: #79740e; }
/* LiteralStringBacktick */
.chroma .sb {
color: #79740e; }
/* LiteralStringChar */
.chroma .sc {
color: #79740e; }
/* LiteralStringDelimiter */
.chroma .dl {
color: #79740e; }
/* LiteralStringDoc */
.chroma .sd {
color: #79740e; }
/* LiteralStringDouble */
.chroma .s2 {
color: #79740e; }
/* LiteralStringEscape */
.chroma .se {
color: #79740e; }
/* LiteralStringHeredoc */
.chroma .sh {
color: #79740e; }
/* LiteralStringInterpol */
.chroma .si {
color: #79740e; }
/* LiteralStringOther */
.chroma .sx {
color: #79740e; }
/* LiteralStringRegex */
.chroma .sr {
color: #79740e; }
/* LiteralStringSingle */
.chroma .s1 {
color: #79740e; }
/* LiteralStringSymbol */
.chroma .ss {
color: #076678; }
/* LiteralNumber */
.chroma .m {
color: #8f3f71; }
/* LiteralNumberBin */
.chroma .mb {
color: #8f3f71; }
/* LiteralNumberFloat */
.chroma .mf {
color: #8f3f71; }
/* LiteralNumberHex */
.chroma .mh {
color: #8f3f71; }
/* LiteralNumberInteger */
.chroma .mi {
color: #8f3f71; }
/* LiteralNumberIntegerLong */
.chroma .il {
color: #8f3f71; }
/* LiteralNumberOct */
.chroma .mo {
color: #8f3f71; }
/* Operator */
.chroma .o {
color: #af3a03; }
/* OperatorWord */
.chroma .ow {
color: #af3a03; }
/* Punctuation */
/* Comment */
.chroma .c {
color: #928374;
font-style: italic; }
/* CommentHashbang */
.chroma .ch {
color: #928374;
font-style: italic; }
/* CommentMultiline */
.chroma .cm {
color: #928374;
font-style: italic; }
/* CommentSingle */
.chroma .c1 {
color: #928374;
font-style: italic; }
/* CommentSpecial */
.chroma .cs {
color: #928374;
font-style: italic; }
/* CommentPreproc */
.chroma .cp {
color: #427b58; }
/* CommentPreprocFile */
.chroma .cpf {
color: #427b58;
font-style: italic; }
/* Generic */
/* GenericDeleted */
.chroma .gd {
color: #282828;
background-color: #9d0006; }
/* GenericEmph */
.chroma .ge {
color: #076678;
text-decoration: underline; }
/* GenericError */
.chroma .gr {
background-color: #9d0006;
font-weight: bold; }
/* GenericHeading */
.chroma .gh {
color: #79740e;
font-weight: bold; }
/* GenericInserted */
.chroma .gi {
color: #282828;
background-color: #79740e; }
/* GenericOutput */
.chroma .go {
color: #504945; }
/* GenericPrompt */
/* GenericStrong */
/* GenericSubheading */
.chroma .gu {
color: #79740e;
font-weight: bold; }
/* GenericTraceback */
.chroma .gt {
background-color: #3c3836;
font-weight: bold; }
/* GenericUnderline */
/* TextWhitespace */
@media (prefers-color-scheme: dark) {
/* Background */
.bg {
color: #ebdbb2;
background-color: #282828; }
/* PreWrapper */
.chroma {
color: #ebdbb2;
background-color: #282828; }
/* Other */
/* Error */
/* CodeLine */
/* LineLink */
.chroma .lnlinks {
outline: none;
text-decoration: none;
color: inherit; }
/* LineTableTD */
.chroma .lntd {
vertical-align: top;
padding: 0;
margin: 0;
border: 0; }
/* LineTable */
.chroma .lntable {
border-spacing: 0;
padding: 0;
margin: 0;
border: 0; }
/* LineHighlight */
.chroma .hl {
background-color: #3d3d3d; }
/* LineNumbersTable */
.chroma .lnt {
white-space: pre;
-webkit-user-select: none;
user-select: none;
margin-right: 0.4em;
padding: 0 0.4em 0 0.4em;
color: #756d59; }
/* LineNumbers */
.chroma .ln {
white-space: pre;
-webkit-user-select: none;
user-select: none;
margin-right: 0.4em;
padding: 0 0.4em 0 0.4em;
color: #756d59; }
/* Line */
.chroma .line {
display: flex; }
/* Keyword */
.chroma .k {
color: #fe8019; }
/* KeywordConstant */
.chroma .kc {
color: #fe8019; }
/* KeywordDeclaration */
.chroma .kd {
color: #fe8019; }
/* KeywordNamespace */
.chroma .kn {
color: #fe8019; }
/* KeywordPseudo */
.chroma .kp {
color: #fe8019; }
/* KeywordReserved */
.chroma .kr {
color: #fe8019; }
/* KeywordType */
.chroma .kt {
color: #fabd2f; }
/* Name */
/* NameAttribute */
.chroma .na {
color: #b8bb26;
font-weight: bold; }
/* NameBuiltin */
.chroma .nb {
color: #fabd2f; }
/* NameBuiltinPseudo */
/* NameClass */
/* NameConstant */
.chroma .no {
color: #d3869b; }
/* NameDecorator */
/* NameEntity */
.chroma .ni {
color: #fabd2f; }
/* NameException */
.chroma .ne {
color: #fb4934; }
/* NameFunction */
.chroma .nf {
color: #fabd2f; }
/* NameFunctionMagic */
/* NameLabel */
.chroma .nl {
color: #fb4934; }
/* NameNamespace */
/* NameOther */
/* NameProperty */
/* NameTag */
.chroma .nt {
color: #fb4934; }
/* NameVariable */
/* NameVariableClass */
/* NameVariableGlobal */
/* NameVariableInstance */
/* NameVariableMagic */
/* Literal */
/* LiteralDate */
/* LiteralString */
.chroma .s {
color: #b8bb26; }
/* LiteralStringAffix */
.chroma .sa {
color: #b8bb26; }
/* LiteralStringBacktick */
.chroma .sb {
color: #b8bb26; }
/* LiteralStringChar */
.chroma .sc {
color: #b8bb26; }
/* LiteralStringDelimiter */
.chroma .dl {
color: #b8bb26; }
/* LiteralStringDoc */
.chroma .sd {
color: #b8bb26; }
/* LiteralStringDouble */
.chroma .s2 {
color: #b8bb26; }
/* LiteralStringEscape */
.chroma .se {
color: #b8bb26; }
/* LiteralStringHeredoc */
.chroma .sh {
color: #b8bb26; }
/* LiteralStringInterpol */
.chroma .si {
color: #b8bb26; }
/* LiteralStringOther */
.chroma .sx {
color: #b8bb26; }
/* LiteralStringRegex */
.chroma .sr {
color: #b8bb26; }
/* LiteralStringSingle */
.chroma .s1 {
color: #b8bb26; }
/* LiteralStringSymbol */
.chroma .ss {
color: #83a598; }
/* LiteralNumber */
.chroma .m {
color: #d3869b; }
/* LiteralNumberBin */
.chroma .mb {
color: #d3869b; }
/* LiteralNumberFloat */
.chroma .mf {
color: #d3869b; }
/* LiteralNumberHex */
.chroma .mh {
color: #d3869b; }
/* LiteralNumberInteger */
.chroma .mi {
color: #d3869b; }
/* LiteralNumberIntegerLong */
.chroma .il {
color: #d3869b; }
/* LiteralNumberOct */
.chroma .mo {
color: #d3869b; }
/* Operator */
.chroma .o {
color: #fe8019; }
/* OperatorWord */
.chroma .ow {
color: #fe8019; }
/* Punctuation */
/* Comment */
.chroma .c {
color: #928374;
font-style: italic; }
/* CommentHashbang */
.chroma .ch {
color: #928374;
font-style: italic; }
/* CommentMultiline */
.chroma .cm {
color: #928374;
font-style: italic; }
/* CommentSingle */
.chroma .c1 {
color: #928374;
font-style: italic; }
/* CommentSpecial */
.chroma .cs {
color: #928374;
font-style: italic; }
/* CommentPreproc */
.chroma .cp {
color: #8ec07c; }
/* CommentPreprocFile */
.chroma .cpf {
color: #8ec07c;
font-style: italic; }
/* Generic */
/* GenericDeleted */
.chroma .gd {
color: #282828;
background-color: #fb4934; }
/* GenericEmph */
.chroma .ge {
color: #83a598;
text-decoration: underline; }
/* GenericError */
.chroma .gr {
background-color: #fb4934;
font-weight: bold; }
/* GenericHeading */
.chroma .gh {
color: #b8bb26;
font-weight: bold; }
/* GenericInserted */
.chroma .gi {
color: #282828;
background-color: #b8bb26; }
/* GenericOutput */
.chroma .go {
color: #504945; }
/* GenericPrompt */
/* GenericStrong */
/* GenericSubheading */
.chroma .gu {
color: #b8bb26;
font-weight: bold; }
/* GenericTraceback */
.chroma .gt {
background-color: #fb4934;
font-weight: bold; }
/* GenericUnderline */
/* TextWhitespace */ }
pre:not(.chroma),
.bg,
.chroma,
.highlight {
background-color: var(--background-color1); }
.html {
font-size: 18px; }
.body {
font-family: sans-serif;
line-height: 1.5; }
p,
ul,
ol,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word; }
.toc {
margin-block: 1rem; }
.toc__summary {
font-weight: bolder;
cursor: pointer; }
blockquote {
padding: 0.5rem; }
hr {
border: none;
height: 1px; }
figure {
margin-inline: 0; }
.heading__anchor {
display: none; }
.heading:hover > .heading__anchor {
display: inline; }
.table-wrapper {
overflow-x: auto;
margin-block: 1rem; }
.table-wrapper > table {
word-break: keep-all;
border-collapse: collapse; }
.table-wrapper > table td,
.table-wrapper > table th {
padding: 0.5rem;
text-align: start; }
svg,
img,
video,
iframe {
max-width: 100%; }
.menu__list {
display: flex;
flex-direction: row;
gap: 0.5rem;
flex-wrap: wrap; }
.menu__link--active {
font-weight: bolder; }
.pagination {
display: flex;
gap: 1rem; }
.page-item.active {
font-weight: bolder; }
.page-nav {
display: flex;
flex-direction: column;
margin-block: 1rem; }
.section-post-title,
.term-post-title {
margin-block-start: 0; }
.home-post-title {
margin-block-end: 0; }
.summary {
margin-block-start: 0; }
:not(pre) > code {
padding-inline: 0.25rem; }
div.highlight {
overflow-x: auto;
margin-block: 1rem; }
div.highlight > div.chroma > table.lntable {
padding-inline-end: 0.4rem; }
div.highlight > pre.chroma {
padding-inline: 0.4rem; }
pre:not(.chroma) {
overflow-x: auto;
padding-block: 1rem;
padding-inline: 0.4rem; }
pre {
font-size: 0.875rem; }
.footer {
font-size: smaller; }

View File

@@ -0,0 +1 @@
{"Target":"css/style.css","MediaType":"text/css","Data":{}}

32
static/css/custom.css Normal file
View File

@@ -0,0 +1,32 @@
.breadcrumbs {
font-size: 0.9rem;
margin-bottom: 1rem;
font-weight: bold;
}
.breadcrumbs a {
color: #3498db;
text-decoration: none;
}
.breadcrumbs a:hover {
text-decoration: underline;
}
.term-list {
display: block;
margin-top: 1rem;
}
.term-list__item {
margin-bottom: 0.5rem;
}
.term-list__link {
color: inherit; /* inherit theme text color */
text-decoration: none;
}
.term-list__link:hover {
text-decoration: underline;
}

1
themes/hugo-theme-yue Submodule

Submodule themes/hugo-theme-yue added at 93a438fbca