Add styling
This commit is contained in:
parent
fedf46e7ef
commit
a00df1cad8
3 changed files with 18 additions and 2 deletions
|
@ -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 $^ $@
|
||||||
|
|
|
@ -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
12
src/less/main.less
Normal 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;
|
||||||
|
}
|
Loading…
Reference in a new issue