diff --git a/theme.css b/theme.css new file mode 120000 index 0000000..9bad235 --- /dev/null +++ b/theme.css @@ -0,0 +1 @@ +themes/boldcode.css \ No newline at end of file diff --git a/themes/.sass-cache/c207aedee93594811d17a99fd43ea2b5437e4e92/boldcode.scssc b/themes/.sass-cache/c207aedee93594811d17a99fd43ea2b5437e4e92/boldcode.scssc new file mode 100644 index 0000000..b8800dc Binary files /dev/null and b/themes/.sass-cache/c207aedee93594811d17a99fd43ea2b5437e4e92/boldcode.scssc differ diff --git a/themes/Makefile b/themes/Makefile new file mode 100644 index 0000000..8357f0f --- /dev/null +++ b/themes/Makefile @@ -0,0 +1,19 @@ + +SCSS=$(wildcard *.scss) +CSS=$(patsubst %.scss,%.css,$(SCSS)) + +all: build + +build: $(CSS) + +clean: + rm -f $(CSS) + +%.css: %.scss + sass $< > $@ + +.PHONY: all +.PHONY: build +.PHONY: clean +#.PHONY: $(CSS) + diff --git a/themes/boldcode.css b/themes/boldcode.css new file mode 100644 index 0000000..1654b9e --- /dev/null +++ b/themes/boldcode.css @@ -0,0 +1,84 @@ +/* @theme glenux */ +@import-theme 'default'; +body { + --primary-color: #009fcb; + --secondary-color: #241c1c; + --text-color: #111111; } + +section { + justify-content: start; } + +section footer { + opacity: 0.75; + color: #888; } + +section::after { + opacity: 0.5; + color: black; } + +section[id="1"] h1, +section[id="1"] h2, +section[id="1"] h3, +section[id="1"] h4, +section[id="1"] h5, +section[id="1"] h6 { + /* color: white !important; */ } + +section[id="1"]::after { + color: var(--text-color); } + +section[id="1"] footer { + color: var(--text-color); } + +section.chapter { + justify-content: center; } + +/* +section.chapter h1:first-child::before, +section.chapter h2:first-child::before, +section.chapter h3:first-child::before, +section.chapter h4:first-child::before, +section.chapter h5:first-child::before { + display: none; +} +*/ +h1:first-child, +h2:first-child, +h3:first-child, +h4:first-child, +h5:first-child, +h6:first-child { + font-family: "Droid Sans Mono", monospace; + color: #662d91; + font-weight: bold; + position: relative; } + +h1:first-child::before { + content: ""; + position: absolute; + display: block; + top: 0.2em; + left: -100px; + width: 70px; + height: 0.9em; + background-color: white; } + +section:not(.chapter) h2:first-child { + font-size: 100%; } + +h2:first-child::before { + content: ""; + position: absolute; + display: block; + top: 0.2em; + left: -100px; + width: 70px; + height: 0.9em; + background-color: #662d91; } + +a { + color: inherit; + text-decoration: underline; } + +blockquote { + color: inherit; } diff --git a/themes/boldcode.png b/themes/boldcode.png new file mode 100644 index 0000000..f50b603 Binary files /dev/null and b/themes/boldcode.png differ diff --git a/themes/boldcode.scss b/themes/boldcode.scss new file mode 100644 index 0000000..f1e4f41 --- /dev/null +++ b/themes/boldcode.scss @@ -0,0 +1,100 @@ +/* @theme glenux */ + +@import-theme 'default'; + +body { + --primary-color: #009fcb; + --secondary-color: #241c1c; + --text-color: #111111; +} + +section { + justify-content: start; +} + +section footer { + opacity: 0.75; + color: #888; +} + +section::after { + opacity: 0.5; + color: black; +} + +section[id="1"] h1, +section[id="1"] h2, +section[id="1"] h3, +section[id="1"] h4, +section[id="1"] h5, +section[id="1"] h6 { + /* color: white !important; */ +} + +section[id="1"]::after { + color: var(--text-color); +} + +section[id="1"] footer { + color: var(--text-color); +} + +section.chapter { + justify-content: center; +} + +/* +section.chapter h1:first-child::before, +section.chapter h2:first-child::before, +section.chapter h3:first-child::before, +section.chapter h4:first-child::before, +section.chapter h5:first-child::before { + display: none; +} +*/ + +h1:first-child, +h2:first-child, +h3:first-child, +h4:first-child, +h5:first-child, +h6:first-child { + font-family: "Droid Sans Mono", monospace; + color: #662d91; + font-weight: bold; + position:relative; +} + +h1:first-child::before { + content: ""; + position: absolute; + display: block; + top: 0.2em; + left: -100px; + width: 70px; + height: 0.9em; + background-color: white; +} + +section:not(.chapter) h2:first-child { + font-size: 100%; +} + +h2:first-child::before { + content: ""; + position: absolute; + display: block; + top: 0.2em; + left: -100px; + width: 70px; + height: 0.9em; + background-color: #662d91; +} + +a { + color: inherit; + text-decoration: underline; +} +blockquote { + color: inherit; +} diff --git a/themes/glenux.css b/themes/glenux.css new file mode 100644 index 0000000..c996589 --- /dev/null +++ b/themes/glenux.css @@ -0,0 +1,94 @@ +/* @theme glenux */ + +@import 'default'; + +section { + justify-content: start; +} + +section footer { + opacity: 0.75; + color: #888; +} + +section::after { + opacity: 0.5; + color: black; +} + +section[id="1"] h1, +section[id="1"] h2, +section[id="1"] h3, +section[id="1"] h4, +section[id="1"] h5, +section[id="1"] h6 { + color: white !important; +} + +section[id="1"]::after { + color: white; +} + +section[id="1"] footer { + color: white; +} + +section.chapter { + justify-content: center; +} + +/* +section.chapter h1:first-child::before, +section.chapter h2:first-child::before, +section.chapter h3:first-child::before, +section.chapter h4:first-child::before, +section.chapter h5:first-child::before { + display: none; +} +*/ + +h1:first-child, +h2:first-child, +h3:first-child, +h4:first-child, +h5:first-child, +h6:first-child { + font-family: "Droid Sans Mono", monospace; + color: #662d91; + font-weight: bold; + position:relative; +} + +h1:first-child::before { + content: ""; + position: absolute; + display: block; + top: 0.2em; + left: -100px; + width: 70px; + height: 0.9em; + background-color: white; +} + +section:not(.chapter) h2:first-child { + font-size: 100%; +} + +h2:first-child::before { + content: ""; + position: absolute; + display: block; + top: 0.2em; + left: -100px; + width: 70px; + height: 0.9em; + background-color: #662d91; +} + +a { + color: inherit; + text-decoration: underline; +} +blockquote { + color: inherit; +}