From c0af1eb1264b5642beef086bf0fcbb7de95bc975 Mon Sep 17 00:00:00 2001 From: Madison Rye Progress Date: Fri, 25 Jul 2025 15:19:13 -0700 Subject: [PATCH] Base site --- .gitignore | 2 + .gitmodules | 3 + archetypes/default.md | 5 ++ content/_index.md | 0 hugo.toml | 23 ++++++ static/css/kaddish.css | 168 +++++++++++++++++++++++++++++++++++++++++ themes/maddybook | 1 + 7 files changed, 202 insertions(+) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 archetypes/default.md create mode 100644 content/_index.md create mode 100644 hugo.toml create mode 100644 static/css/kaddish.css create mode 160000 themes/maddybook diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e7e3002 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.hugo_build.lock +public diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..0cd8928 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/maddybook"] + path = themes/maddybook + url = git@github.com:makyo/maddybook 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/_index.md b/content/_index.md new file mode 100644 index 0000000..e69de29 diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..b93d0b1 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,23 @@ +baseURL = 'https://kaddish.post-self.ink/' +languageCode = 'en-us' +title = 'Kaddish' +theme = 'maddybook' +paginatePath = "" +disablePathToLower = true + +[pagination] + path = "" + +[permalinks] + post = '/:filename/' + +[params] + author = 'Madison Rye Progress' + home = 'https://makyo.ink/' + copyright = '2024' + subtitle = 'A Post-Self Story' + subtitleLink = 'https://post-self.ink' + customCSS = ['/css/kaddish.css'] + +[markup.goldmark.renderer] + unsafe = true diff --git a/static/css/kaddish.css b/static/css/kaddish.css new file mode 100644 index 0000000..b05bbd0 --- /dev/null +++ b/static/css/kaddish.css @@ -0,0 +1,168 @@ +@import url('https://fonts.googleapis.com/css2?family=Gentium+Plus:ital,wght@0,400;0,700;1,400;1,700&family=Gotu&display=swap'); + +body, main { + font-family: "Gentium Plus", serif; +} + +body { + overflow-x: clip; +} + +h1, h2, h3 { + font-family: "Gotu", sans-serif; +} + +h4 { + margin-top: 4rem; +} + +blockquote { + overflow-wrap: break-word; +} + +main.story .author, main.story .character, main.story h3 { + font-family: "Gotu", sans-serif !important; + text-align: center !important; +} + +.spoiler { + filter: blur(1rem); +} + +.spoiler:hover { + filter: none; +} + +.spoiler-warn::before { + vertical-align: top; + content: '(spoiler)'; + font-size: 50%; + color: red; +} +ul { + list-style-type: revert; + padding-left: 2rem; +} +hr::before { + content: '×'; + display: block; + text-align: center; + font-weight: bold; + font-size: 2rem; +} + +.hero { + font-family: "Gentium Plus", serif; + font-size: 18pt; + line-height: 1.5; + color: #444444; + margin-bottom: 1rem; + background: url(/img/hero-bg.png); + background-size: cover; + background-position: center; + background-color: #fafafa; +} + +.hero ul { + font-size: 20pt; + list-style-type: none; + text-align: center; + margin: 0; + padding: 1rem; +} + +.hero ul li { + margin: 1rem 0; + padding: 0; +} + +.carousel nav { + height: 5rem; + width: 100%; + display: block; + margin: 0 auto; + text-align: center; + z-index: 1000; +} + +.carousel nav ul { + list-style-type: none; + border-bottom: 1px solid #555; + padding: 0; +} + +.carousel nav li { + display: inline-block; + margin: 0; + padding: 0.5rem; +} + +.carousel nav li.on { + background-color: #555; +} +.carousel nav li.on a { + color: #fff !important; +} + +.carousel nav li a { + text-decoration: none; + font-size: 16pt; +} + +.carousel .carousel-item { + display: none; +} + +.carousel .carousel-item.on { + display: block; +} + +main.story .author, main.story .character, main.story h3 { + font-family: "Gotu", sans-serif !important; + text-align: center !important; +} + +figure img { + display: block; + margin: 0 auto; +} + +summary { + text-align: center; + font-style: italic; + text-decoration: underline; + margin-top: 1rem; + cursor: pointer; +} + +main .verse { + margin: 1rem 0; + padding: 0 0 0 2rem; + border-left: 4px solid #ddd; +} + +@media only screen and (max-width: 960px) { + .carousel nav { + display: none; + } + + .carousel .carousel-item { + display: block; + width: 100%; + } + .carousel .carousel-item h2 { + display: block !important; + } +} + +@media (max-device-width: 450px) { + .nav-desktop { + display: none; + } + .nav-mobile { + display: inline-block; + } + nav ul li { + padding-bottom: 0.5rem !important; + } +} diff --git a/themes/maddybook b/themes/maddybook new file mode 160000 index 0000000..4ecbb59 --- /dev/null +++ b/themes/maddybook @@ -0,0 +1 @@ +Subproject commit 4ecbb595ec3c04ff6be7df297816c4054762308d