.. | ||
.dir-locals.el | ||
.gitignore | ||
_$magnet_licence.js | ||
_aside.scss | ||
_bibliography.scss | ||
_blocks.scss | ||
_breadcrumbs.scss | ||
_code.js | ||
_code.scss | ||
_commons.scss | ||
_dropcap.scss | ||
_edits.scss | ||
_figure.scss | ||
_footnotes.scss | ||
_headings.scss | ||
_hr.scss | ||
_layout.scss | ||
_links.scss | ||
_lists.scss | ||
_normalize.scss | ||
_org.scss | ||
_print.scss | ||
_table.scss | ||
_tags.scss | ||
_theme.scss | ||
_toc.js | ||
_toc.scss | ||
_~magnet_licence.js | ||
build.sh | ||
LICENSE | ||
main.css | ||
main.js | ||
main.min.css | ||
main.scss | ||
README.org |
Pile Theme
A sass-based set of styles to be used by Org when exporting to HTML.
main.scss
is compiled to main.css
which is then inserted into the <head>
of
generated HTML documents.
This is a modified version of lepisma's lovely pile-theme.
A little non-essential JS has been added to provide:
- Functionality for copy-to-clipboard buttons
- Have the table of contents auto-expand based on the current scroll position
Development
To build main.css
and main.js
, I simply run
sassc main.scss main.css
A minified CSS file would be nice to have too.
sassc --style compressed main.scss main.min.css
if command -v csso &> /dev/null; then
csso main.min.css -o main.min.css
fi
Then for combining the JS
ls _*.js | sort -V | xargs cat > main.js