From 26478bba37544951a39b077388ae78ee38019c81 Mon Sep 17 00:00:00 2001 From: psychhim Date: Tue, 11 Nov 2025 16:16:48 +0530 Subject: [PATCH] first commit --- .hugo_build.lock | 0 archetypes/default.md | 5 + content/categories/_index.md | 3 + content/posts/first post.md | 9 + hugo.toml | 37 + layouts/_default/term.html | 21 + layouts/_partials/head.html | 15 + public/404.html | 64 ++ public/categories/index.html | 61 ++ public/categories/index.xml | 19 + public/categories/non-tech/index.html | 81 ++ public/categories/non-tech/index.xml | 19 + public/css/custom.css | 32 + public/css/style.css | 764 ++++++++++++++++++ public/favicon.ico | Bin 0 -> 15406 bytes public/index.html | 73 ++ public/index.xml | 19 + public/page/1/index.html | 9 + public/posts/first-post/index.html | 92 +++ public/posts/index.html | 66 ++ public/posts/index.xml | 19 + public/posts/page/1/index.html | 9 + public/sitemap.xml | 26 + public/tags/first-post/index.html | 81 ++ public/tags/first-post/index.xml | 19 + public/tags/index.html | 61 ++ public/tags/index.xml | 19 + ...s_35228c61540281cb0f59c29e272246c7.content | 764 ++++++++++++++++++ ...scss_35228c61540281cb0f59c29e272246c7.json | 1 + static/css/custom.css | 32 + themes/hugo-theme-yue | 1 + 31 files changed, 2421 insertions(+) create mode 100644 .hugo_build.lock create mode 100644 archetypes/default.md create mode 100644 content/categories/_index.md create mode 100644 content/posts/first post.md create mode 100644 hugo.toml create mode 100644 layouts/_default/term.html create mode 100644 layouts/_partials/head.html create mode 100644 public/404.html create mode 100644 public/categories/index.html create mode 100644 public/categories/index.xml create mode 100644 public/categories/non-tech/index.html create mode 100644 public/categories/non-tech/index.xml create mode 100644 public/css/custom.css create mode 100644 public/css/style.css create mode 100644 public/favicon.ico create mode 100644 public/index.html create mode 100644 public/index.xml create mode 100644 public/page/1/index.html create mode 100644 public/posts/first-post/index.html create mode 100644 public/posts/index.html create mode 100644 public/posts/index.xml create mode 100644 public/posts/page/1/index.html create mode 100644 public/sitemap.xml create mode 100644 public/tags/first-post/index.html create mode 100644 public/tags/first-post/index.xml create mode 100644 public/tags/index.html create mode 100644 public/tags/index.xml create mode 100644 resources/_gen/assets/scss/main.scss_35228c61540281cb0f59c29e272246c7.content create mode 100644 resources/_gen/assets/scss/main.scss_35228c61540281cb0f59c29e272246c7.json create mode 100644 static/css/custom.css create mode 160000 themes/hugo-theme-yue diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..25b6752 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +date = '{{ .Date }}' +draft = true +title = '{{ replace .File.ContentBaseName "-" " " | title }}' ++++ diff --git a/content/categories/_index.md b/content/categories/_index.md new file mode 100644 index 0000000..cf3b283 --- /dev/null +++ b/content/categories/_index.md @@ -0,0 +1,3 @@ +--- +title: "Categories" +--- diff --git a/content/posts/first post.md b/content/posts/first post.md new file mode 100644 index 0000000..716461c --- /dev/null +++ b/content/posts/first post.md @@ -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! diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..9aaf609 --- /dev/null +++ b/hugo.toml @@ -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" diff --git a/layouts/_default/term.html b/layouts/_default/term.html new file mode 100644 index 0000000..ad202e9 --- /dev/null +++ b/layouts/_default/term.html @@ -0,0 +1,21 @@ +{{ define "main" }} + + + +{{ .Content }} + +
+ {{ range .Pages.ByDate.Reverse }} + {{ partial "main/dates.html" . }} +

+ {{ .LinkTitle }} +

+ {{ end }} +
+ +{{ end }} diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html new file mode 100644 index 0000000..83c234c --- /dev/null +++ b/layouts/_partials/head.html @@ -0,0 +1,15 @@ + + +{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }} +{{ 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" . }} + + + + +{{ partial "head/head-end.html" . }} diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..3c2bd06 --- /dev/null +++ b/public/404.html @@ -0,0 +1,64 @@ + + + + + +404 Page not found | Freedoms4 + + + + + + + + + + + + + + + + + + + + + + + +

Freedoms4

+ +
+
+

404

+

The page you visited was not found.

+

+ Return to the home page +

+
+ + + + diff --git a/public/categories/index.html b/public/categories/index.html new file mode 100644 index 0000000..477cc77 --- /dev/null +++ b/public/categories/index.html @@ -0,0 +1,61 @@ + + + + + +Categories | Freedoms4 + + + + + + + + + + + + + + + + + + + + + + + + + + +

Freedoms4

+ +
+

Non-Tech 1

+ + + + diff --git a/public/categories/index.xml b/public/categories/index.xml new file mode 100644 index 0000000..477afd5 --- /dev/null +++ b/public/categories/index.xml @@ -0,0 +1,19 @@ + + + + Categories on Freedoms4 + http://localhost:1313/categories/ + Recent content in Categories on Freedoms4 + Hugo + en-us + Tue, 11 Nov 2025 02:50:36 +0530 + + + Non-Tech + http://localhost:1313/categories/non-tech/ + Tue, 11 Nov 2025 02:50:36 +0530 + http://localhost:1313/categories/non-tech/ + + + + diff --git a/public/categories/non-tech/index.html b/public/categories/non-tech/index.html new file mode 100644 index 0000000..5862363 --- /dev/null +++ b/public/categories/non-tech/index.html @@ -0,0 +1,81 @@ + + + + + +Non-Tech | Freedoms4 + + + + + + + + + + + + + + + + + + + + + + + + + + +

Freedoms4

+ +
+
+ + + + + +
+ + +

+ First Post +

+ +
+ +
+ + + + diff --git a/public/categories/non-tech/index.xml b/public/categories/non-tech/index.xml new file mode 100644 index 0000000..16c9391 --- /dev/null +++ b/public/categories/non-tech/index.xml @@ -0,0 +1,19 @@ + + + + Non-Tech on Freedoms4 + http://localhost:1313/categories/non-tech/ + Recent content in Non-Tech on Freedoms4 + Hugo + en-us + Tue, 11 Nov 2025 02:50:36 +0530 + + + First Post + http://localhost:1313/posts/first-post/ + Tue, 11 Nov 2025 02:50:36 +0530 + http://localhost:1313/posts/first-post/ + <p>This is the first post of the site!</p> + + + diff --git a/public/css/custom.css b/public/css/custom.css new file mode 100644 index 0000000..5647baa --- /dev/null +++ b/public/css/custom.css @@ -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; +} diff --git a/public/css/style.css b/public/css/style.css new file mode 100644 index 0000000..00adb3a --- /dev/null +++ b/public/css/style.css @@ -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; } diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..67f8b777851849527933b78b1f98bd564d8255d1 GIT binary patch literal 15406 zcmeI3%WEH16vro|f`O{FV5Nc>unpZA42Xe(zeP4Fn0Fu>#YKe(c41L;qszMJ-bXDi z>L1W57+rSdLS5OG#!V^IKxvbj6n@gC#QOREdT$vg^US^Tf(#t)%-r+%o^#KA&hHll zeL;V)Z(l$;7%c7yg4co|7#w``eB{|6_?CCW!=`>H2!44k2#&ym2ojIpQ{=j)r>9?; zot^z+et!PXxw*M}BHinq>XMXKboc`~d=&+uPNklCgSOc%pC zkdxhQd};55Lm1#0hSD%6>D`)|ni^JI((I(w8QJADo{YL>VsSr%Ckg*U$-2s8+X=sG z{FIYm*irl0d{!y{D{f@u4p-n@#^$z+5S`e?RJu8p?Lq>0x`@}vIu7kfT z8Od5bMN4D{&~ch_$NgBcM#n%A`@~N^|ABlif3x_ci!t%#JQ&cWarai1&Z6~TkWOa9 zw}_GQ!9UZ~o(wFidYcy6DoF0rq<yz2-5e zTyl`ty!pUE-U+vC*KNN6@vklal>5+`8rxs}uh#LW?(tW105Q;7(Wx&Lm6uJ~)`e`X z^RF;~r?T~jY{_Q$A_iJ-m%jcoHny$5gr&~)r;P=1C}sVP-puv4#i0EM{FfkKed1Em zy4%`}me{Us{}sjpj#~DgVGO#rYen+cu9FI~=yTd>3AzfcLA`SnbFXu|pT#pXGc&>2(2!(N+83v|%y-!B zH|JI#fb9Zw1NxWuxyA*n7Wlp875YYr(Gs{zKTE)l_AX1Q6wmo%>|9k+6aP<2dk>lant}U*_E8rG3D-5uK;;yPx-8W%=Kfda!;c%(fl0 ze&XHrrr^uM0oGf>Z1DFnHhqLl>1%^5TzTuk|3H|*ul4(0o-gE;Z3>^kyq|VB2&R>$ z;3|M)g|TQza{|6pwl*t(FLk^UW^(9F%1?ditXdD)PeI>TZP%AQuxqb<#h1RS^?+T! z8Ck2^t}lCF{~KLC_TZ^~%@^LN9`I|g*;@RHecST~{FkHc(w1kiUj^&=w&0Dy`6E8G zdj4Yla1TF#N4vKWh(zA3A5dm)G|O@NEjS_AkOu zAJA`duQdQy-kiND%)+h<+}gi?*&_V<{_uGJE+68oBmMcH-Rl|t`yCgB%e&5Zsqq=>yyS- z+H#S&ls3nqdmTC0`~O|AJhXPJKi1jW{{U!5hztM# literal 0 HcmV?d00001 diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..82b9e5a --- /dev/null +++ b/public/index.html @@ -0,0 +1,73 @@ + + + + + + +Freedoms4 + + + + + + + + + + + + + + + + + + + + + + + + + + +

Freedoms4

+ +
+
+ + + + +

First Post

+ +

This is the first post of the site!

+ + +
+ + + + diff --git a/public/index.xml b/public/index.xml new file mode 100644 index 0000000..e252441 --- /dev/null +++ b/public/index.xml @@ -0,0 +1,19 @@ + + + + Freedoms4 + http://localhost:1313/ + Recent content on Freedoms4 + Hugo + en-us + Tue, 11 Nov 2025 02:50:36 +0530 + + + First Post + http://localhost:1313/posts/first-post/ + Tue, 11 Nov 2025 02:50:36 +0530 + http://localhost:1313/posts/first-post/ + <p>This is the first post of the site!</p> + + + diff --git a/public/page/1/index.html b/public/page/1/index.html new file mode 100644 index 0000000..62d71f4 --- /dev/null +++ b/public/page/1/index.html @@ -0,0 +1,9 @@ + + + + http://localhost:1313/ + + + + + diff --git a/public/posts/first-post/index.html b/public/posts/first-post/index.html new file mode 100644 index 0000000..e7c2d9b --- /dev/null +++ b/public/posts/first-post/index.html @@ -0,0 +1,92 @@ + + + + + +First Post | Freedoms4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Freedoms4

+ +
+
+

First Post

+ + + + + +

This is the first post of the site!

+ +
+
Tags:
+ +
+ +
+
Categories:
+ +
+ +
+ + + + diff --git a/public/posts/index.html b/public/posts/index.html new file mode 100644 index 0000000..a0b5834 --- /dev/null +++ b/public/posts/index.html @@ -0,0 +1,66 @@ + + + + + +Posts | Freedoms4 + + + + + + + + + + + + + + + + + + + + + + + + + + +

Freedoms4

+ +
+
+

First Post

+ + + +
+ + + + diff --git a/public/posts/index.xml b/public/posts/index.xml new file mode 100644 index 0000000..32da214 --- /dev/null +++ b/public/posts/index.xml @@ -0,0 +1,19 @@ + + + + Posts on Freedoms4 + http://localhost:1313/posts/ + Recent content in Posts on Freedoms4 + Hugo + en-us + Tue, 11 Nov 2025 02:50:36 +0530 + + + First Post + http://localhost:1313/posts/first-post/ + Tue, 11 Nov 2025 02:50:36 +0530 + http://localhost:1313/posts/first-post/ + <p>This is the first post of the site!</p> + + + diff --git a/public/posts/page/1/index.html b/public/posts/page/1/index.html new file mode 100644 index 0000000..d88ccc2 --- /dev/null +++ b/public/posts/page/1/index.html @@ -0,0 +1,9 @@ + + + + http://localhost:1313/posts/ + + + + + diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 0000000..c4d5bd7 --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,26 @@ + + + + http://localhost:1313/categories/ + 2025-11-11T02:50:36+05:30 + + http://localhost:1313/posts/first-post/ + 2025-11-11T02:50:36+05:30 + + http://localhost:1313/tags/first-post/ + 2025-11-11T02:50:36+05:30 + + http://localhost:1313/ + 2025-11-11T02:50:36+05:30 + + http://localhost:1313/categories/non-tech/ + 2025-11-11T02:50:36+05:30 + + http://localhost:1313/posts/ + 2025-11-11T02:50:36+05:30 + + http://localhost:1313/tags/ + 2025-11-11T02:50:36+05:30 + + diff --git a/public/tags/first-post/index.html b/public/tags/first-post/index.html new file mode 100644 index 0000000..cea1ada --- /dev/null +++ b/public/tags/first-post/index.html @@ -0,0 +1,81 @@ + + + + + +First-Post | Freedoms4 + + + + + + + + + + + + + + + + + + + + + + + + + + +

Freedoms4

+ +
+
+ + + + + +
+ + +

+ First Post +

+ +
+ +
+ + + + diff --git a/public/tags/first-post/index.xml b/public/tags/first-post/index.xml new file mode 100644 index 0000000..e4692fd --- /dev/null +++ b/public/tags/first-post/index.xml @@ -0,0 +1,19 @@ + + + + First-Post on Freedoms4 + http://localhost:1313/tags/first-post/ + Recent content in First-Post on Freedoms4 + Hugo + en-us + Tue, 11 Nov 2025 02:50:36 +0530 + + + First Post + http://localhost:1313/posts/first-post/ + Tue, 11 Nov 2025 02:50:36 +0530 + http://localhost:1313/posts/first-post/ + <p>This is the first post of the site!</p> + + + diff --git a/public/tags/index.html b/public/tags/index.html new file mode 100644 index 0000000..b7c3644 --- /dev/null +++ b/public/tags/index.html @@ -0,0 +1,61 @@ + + + + + +Tags | Freedoms4 + + + + + + + + + + + + + + + + + + + + + + + + + + +

Freedoms4

+ +
+

First-Post 1

+ + + + diff --git a/public/tags/index.xml b/public/tags/index.xml new file mode 100644 index 0000000..a0636e6 --- /dev/null +++ b/public/tags/index.xml @@ -0,0 +1,19 @@ + + + + Tags on Freedoms4 + http://localhost:1313/tags/ + Recent content in Tags on Freedoms4 + Hugo + en-us + Tue, 11 Nov 2025 02:50:36 +0530 + + + First-Post + http://localhost:1313/tags/first-post/ + Tue, 11 Nov 2025 02:50:36 +0530 + http://localhost:1313/tags/first-post/ + + + + diff --git a/resources/_gen/assets/scss/main.scss_35228c61540281cb0f59c29e272246c7.content b/resources/_gen/assets/scss/main.scss_35228c61540281cb0f59c29e272246c7.content new file mode 100644 index 0000000..00adb3a --- /dev/null +++ b/resources/_gen/assets/scss/main.scss_35228c61540281cb0f59c29e272246c7.content @@ -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; } diff --git a/resources/_gen/assets/scss/main.scss_35228c61540281cb0f59c29e272246c7.json b/resources/_gen/assets/scss/main.scss_35228c61540281cb0f59c29e272246c7.json new file mode 100644 index 0000000..28c014b --- /dev/null +++ b/resources/_gen/assets/scss/main.scss_35228c61540281cb0f59c29e272246c7.json @@ -0,0 +1 @@ +{"Target":"css/style.css","MediaType":"text/css","Data":{}} \ No newline at end of file diff --git a/static/css/custom.css b/static/css/custom.css new file mode 100644 index 0000000..5647baa --- /dev/null +++ b/static/css/custom.css @@ -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; +} diff --git a/themes/hugo-theme-yue b/themes/hugo-theme-yue new file mode 160000 index 0000000..93a438f --- /dev/null +++ b/themes/hugo-theme-yue @@ -0,0 +1 @@ +Subproject commit 93a438fbca0f7a4a6deeca3b8e201abb26c13e1d