diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..07b5637 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +public +.hugo_build.lock diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..de1c242 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/maddybook"] + path = themes/maddybook + url = https://github.com/makyo/maddybook.git diff --git a/README.md b/README.md deleted file mode 100644 index a7c2658..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# ask.post-self.ink -Site for Ask. — An Odist Q&A diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..c6f3fce --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +title = '{{ replace .File.ContentBaseName "-" " " | title }}' +date = {{ .Date }} +draft = true ++++ diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..d6e2f0e --- /dev/null +++ b/config.toml @@ -0,0 +1,20 @@ +baseURL = 'https://ask.post-self.ink/' +languageCode = 'en-us' +title = 'Ask. — An Odist Q&A' +theme = 'maddybook' +paginatePath = "" +disablePathToLower = true + +[permalinks] + post = '/:filename/' + +[params] + # author = 'Madison Scott-Clary' + # home = 'https://makyo.ink' + copyright = 'The Post-Self authors 2020 — 2024' + customCSS = ['/css/ask.css'] + subtitle = 'A Post-Self Project' + subtitleLink = 'https://post-self.ink' + +[markup.goldmark.renderer] + unsafe = true diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..b16a5bb --- /dev/null +++ b/content/_index.md @@ -0,0 +1,6 @@ +--- +--- + +![Cover](/cover.png) + +*Coming soon!* diff --git a/static/cover.png b/static/cover.png new file mode 100644 index 0000000..9dd3476 Binary files /dev/null and b/static/cover.png differ diff --git a/static/css/ask.css b/static/css/ask.css new file mode 100644 index 0000000..bb82aef --- /dev/null +++ b/static/css/ask.css @@ -0,0 +1,168 @@ +@import url('https://fonts.googleapis.com/css2?family=Gotu&display=swap'); + +body, main { + font-family: "Gentium Plus", serif; +} + +h1, h2, h3 { + font-family: "Gotu", sans-serif; +} + +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; +} + +.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; +} + +.cw { + border: 2px dotted red; + font-size: 14pt; + width: 80%; + margin: 0 auto; + padding: 1rem; + color: darkred; + text-align: center; + margin-bottom: 2rem; +} + +.cw:before { + display: block; + content: "⚠️ Content Warning"; + font-weight: bold; +} + +.spoiler-note { + border: 2px dotted blue; + font-size: 14pt; + width: 80%; + margin: 0 auto; + padding: 1rem; + color: darkblue; + text-align: center; + margin-bottom: 2rem; +} + +.spoiler-note:before { + display: block; + content: "❗Spoiler Warning"; + font-weight: bold; +} + +@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..30cd083 --- /dev/null +++ b/themes/maddybook @@ -0,0 +1 @@ +Subproject commit 30cd08311bb416f13b26cfcdcd8dc815d4e4610d