Compare commits

...

10 commits

Author SHA1 Message Date
colorchestra
9c5b894c09 add code tag?? idk??? 2023-11-25 00:31:07 +01:00
colorchestra
4129f82cd7 fix error in theme.toml 2021-08-10 23:47:45 +02:00
colorchestra
278e3ea81a add initial posts archetype 2021-08-10 23:35:33 +02:00
colorchestra
8e9a80f7cc images now centered 2021-08-03 22:35:45 +02:00
colorchestra
0e991a4677 update visited link dark mode color 2021-05-13 01:17:40 +02:00
colorchestra
803b5335f2 add color to code blocks 2021-05-13 01:10:41 +02:00
colorchestra
ca494daa3e update dark mode color for pre elements 2021-05-13 01:06:59 +02:00
colorchestra
62961cd1e2 set light/dark colors based css on variables 2021-05-13 00:47:39 +02:00
colorchestra
1d7ace3ece start adding variables 2021-05-10 01:40:41 +02:00
colorchestra
75e1eb4249 improve dark mode colors 2021-05-09 13:38:31 +02:00
3 changed files with 19 additions and 5 deletions

11
archetypes/posts.md Normal file
View file

@ -0,0 +1,11 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
slug: {{ now.Format "2006-01-02" }}-{{ .Name | urlize }}
type: posts
draft: true
categories:
- default
tags:
- default
---

View file

@ -1,9 +1,12 @@
html {overflow-y: scroll}
body{max-width:800px;margin:40px auto;padding:0 10px;font:14px/1.5 monospace;color:#444}h1,h2,h3{line-height:1.2}@media (prefers-color-scheme: dark){body{color:white;background:#444}a:link{color:#5bf}a:visited{color:#ccf}}
p > code{color: #FFFFFF; background:#000000; padding:2px}
pre{color: #FFFFFF; background:#000000; padding:24px; overflow-x: auto}
:root { --bgcolor: white; --fontcolor: #444; --linkcolor: #00e; --visitedcolor: #551a8b; --precolor: #fff; --prebgcolor: #000;}
@media (prefers-color-scheme: dark) { :root { --bgcolor: black; --fontcolor: white; --linkcolor: #5bf; --visitedcolor: #ae5ee0; --precolor: #fff; --prebgcolor: #383838;}}
body{max-width:800px;margin:40px auto;padding:0 10px;font:14px/1.5 monospace;color:var(--fontcolor); background: var(--bgcolor)}a:link{color: var(--linkcolor)}a:visited{color: var(--visitedcolor)}a:active{color: var(--visitedcolor)}h1,h2,h3{line-height:1.2}
p > code{color: var(--precolor); background: var(--prebgcolor); padding:2px}
code{color: var(--precolor); background: var(--prebgcolor); padding:2px}
pre{color: var(--precolor); background: var(--prebgcolor); padding:24px; overflow-x: auto}
article{padding:24px 0}
.center {display: block;margin-left: auto;margin-right: auto;width: 100%;}
img {display: block; max-width: 100%; height: auto;}
figcaption {color: #888; font: 12px/1.5 monospace; text-align: center;}
figure {margin: auto}
img {display: block; max-width: 100%; height: auto; margin: auto}

View file

@ -14,4 +14,4 @@ min_version = "0.20"
[original]
author = "Vimux"
homepage = "https://github.com/Vimux"
repo = "https://github.com/colorchestra/blank"
repo = "https://github.com/Vimux/blank"