diff options
author | Paul Duncan <pabs@pablotron.org> | 2024-05-31 03:58:29 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2024-05-31 03:58:29 -0400 |
commit | dc68c42ce1b8efc1003137c08dd5961b93705684 (patch) | |
tree | cdcfef52b3a486165608d7faba369be884be906f /static/files/articles/site-backend/style.sass.txt | |
parent | 4ed5fcfcd1952f2f6f29a03fa565740beb815800 (diff) | |
download | pablotron.org-dc68c42ce1b8efc1003137c08dd5961b93705684.tar.bz2 pablotron.org-dc68c42ce1b8efc1003137c08dd5961b93705684.zip |
content/articles/site-backend.md: populate most of the content
Diffstat (limited to 'static/files/articles/site-backend/style.sass.txt')
-rw-r--r-- | static/files/articles/site-backend/style.sass.txt | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/static/files/articles/site-backend/style.sass.txt b/static/files/articles/site-backend/style.sass.txt new file mode 100644 index 0000000..febddd5 --- /dev/null +++ b/static/files/articles/site-backend/style.sass.txt @@ -0,0 +1,58 @@ +// style.sass: based on bulma-0.9.3/sass/bulma.sass with the following +// changes: +// +// 1. all unused components removed +// 2. monokai style for chroma added +// 3. styles for navbar icon highlighting and table captions added +// 4. dark mode styles added +@charset "utf-8" + +// import chroma style +// +// generated with the following command: +// +// cd themes/hugo-pt2021/assets +// hugo gen chromaclasses --style=monokai > chroma.css +// +@import "chroma" + +@import "bulma-0.9.3/sass/utilities/_all" +@import "bulma-0.9.3/sass/base/_all" + +// elements +@import "bulma-0.9.3/sass/elements/button" +@import "bulma-0.9.3/sass/elements/container" +@import "bulma-0.9.3/sass/elements/content" +@import "bulma-0.9.3/sass/elements/image" +@import "bulma-0.9.3/sass/elements/table" +@import "bulma-0.9.3/sass/elements/title" +@import "bulma-0.9.3/sass/elements/other" + +// components +@import "bulma-0.9.3/sass/components/media" +@import "bulma-0.9.3/sass/components/navbar" + +// grid (reenabled, used for images) +@import "bulma-0.9.3/sass/grid/_all" + +// helpers +@import "bulma-0.9.3/sass/helpers/_all" + +// layout +@import "bulma-0.9.3/sass/layout/section" +@import "bulma-0.9.3/sass/layout/footer" + +// dim navbar icons by default +.navbar-item .menu-icon + opacity: 60% + +// highlight icons on hover +.navbar-item:hover .menu-icon + opacity: 100% + +// table captions below tables +table.table + caption-side: bottom + +// dark mode (2024-05-27) +@import "dark" |