Add styling

This commit is contained in:
Tom Willemse 2019-10-06 18:29:15 -07:00
parent fedf46e7ef
commit a00df1cad8
3 changed files with 18 additions and 2 deletions

View file

@ -1,6 +1,9 @@
.PHONY: site .PHONY: site
site: public_html/index.html site: public_html/index.html public_html/assets/css/main.css
public_html/%.html: %.org public_html/%.html: %.org
emacs -batch -funcall package-initialize -load project-config.el -funcall publish-ryuslash.org emacs -batch -funcall package-initialize -load project-config.el -funcall publish-ryuslash.org
public_html/assets/css/%.css: src/less/%.less
lessc $^ $@

View file

@ -9,7 +9,8 @@
:publishing-directory "public_html" :publishing-directory "public_html"
:exclude "\\`README.org\\'" :exclude "\\`README.org\\'"
:base-extension "org" :base-extension "org"
:publishing-function org-html-publish-to-html) :publishing-function org-html-publish-to-html
:html-head "<link rel=\"stylesheet\" href=\"/assets/css/main.css\" type=\"text/css\"/>")
("ryuslash-rss" ("ryuslash-rss"
:base-directory "." :base-directory "."
:publishing-directory "public_html" :publishing-directory "public_html"

12
src/less/main.less Normal file
View file

@ -0,0 +1,12 @@
@background-color: #111114;
@foreground-color: #bfbfbf;
@link-color: #a88654;
body {
background-color: @background-color;
color: @foreground-color;
}
a {
color: @link-color;
}