Base site
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
.hugo_build.lock
|
||||
public
|
||||
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "themes/maddybook"]
|
||||
path = themes/maddybook
|
||||
url = git@github.com:makyo/maddybook
|
||||
5
archetypes/default.md
Normal file
5
archetypes/default.md
Normal file
@ -0,0 +1,5 @@
|
||||
+++
|
||||
date = '{{ .Date }}'
|
||||
draft = true
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
+++
|
||||
0
content/_index.md
Normal file
0
content/_index.md
Normal file
23
hugo.toml
Normal file
23
hugo.toml
Normal file
@ -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
|
||||
168
static/css/kaddish.css
Normal file
168
static/css/kaddish.css
Normal file
@ -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;
|
||||
}
|
||||
}
|
||||
1
themes/maddybook
Submodule
1
themes/maddybook
Submodule
Submodule themes/maddybook added at 4ecbb595ec
Reference in New Issue
Block a user