summaryrefslogtreecommitdiff
path: root/_content/index.css
AgeCommit message (Collapse)Author
41 hours_content: add missing SPDX headersShulhan
2026-02-04_content: update style, follow default ciigoShulhan
2026-01-29_content: add custom css to main pageShulhan
By using custom css we can set the main page's ToC split into two columns instead of one long vertical list. This require update on ciigo.
2026-01-24all: use default ciigo stylesShulhan
Changes on ciigo, * go.mod: update asciidoctor-go module * all: conform with Lighthouse recommendations * _static: second round for cleaning up styles * _static: simplify the topbar section * all: improve default stylesheet * all: move _example/ directory under _doc/ directory * all: embed CSS and index HTML template using memfs * all: format README with prettier * go.mod: update pakakeh.go to v0.60.3-0.20260115103415-806359d5462f
2026-01-21_content: various enhancements on style sheetShulhan
* Add background color to top bark in light mode. * Set ToC * Use different foreground color for headers in dark mode. * Disable text decoration for anchor only in Table of Content. Using underline on anchor give better visual experiences. * Add padding on the top bar. * Add padding between content and footer with top border. * Add background color to image in dark mode.
2026-01-15all: add and convert the license and copyright headers to SPDX formatsShulhan
We use spdxconv [1] tool to help converting the license and copyright. [1]: https://kilabit.info/project/spdxconv/
2025-01-21_content/index.css: change the link color on dark mode to gold-ishShulhan
Instead of dark blue (cyan?), make the links and sections header color become gold-ish. It is much better this way.
2024-11-07_content: add style for dark modeShulhan
2024-03-27_content: merge css into templateShulhan
This is to minimize requests on client side, from two into single request.
2024-03-21all: use Cloud Storage for static assetsShulhan
The reason for using cloud storage is to minimize noise in haproxy logs and reduce the size of binary. For example, when user access page "/" for the first time, the log will contains "/assets/...". The binary size reduces to 3,566,023 bytes.
2023-10-16all: improve the web rendering based on result from webpagetest.orgShulhan
Changes, * In CSS, use "font-display:swap" [1]. This allow browser use fallback font first and changes to target font once the file downloaded. * In HTML, add "lang=en" * Load CSS asynchronously using `media="print" onload="this.media='all'"` * Set empty alt text for decorative image * Set width and height for image ratio [1] https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display
2023-10-15content: set background color only for h2Shulhan
2023-10-12content: add style for blockquoteShulhan
The blockquote now have left border with different color than main body. While at it, reformat the style using prettier.
2023-06-04_content: add and use Go fontsShulhan
2023-05-29content: update style for code to use font style italicShulhan
Since our body now use monospace as default font, the HTML code tag need an emphasis by making it italic. While at it, remove unused .sourcehut-icon class and line-height from body that cause heading overlap on small screen.
2023-05-28_content: add link to Mastodon for verificationShulhan
2023-05-27content: update styleShulhan
Set the default font to monospaces, add background to headers, and change the header prefix to use section sign [1]. [1] https://en.wikipedia.org/wiki/Section_sign
2023-02-24all: minimize the size of background image from 400k to 130kShulhan
2023-01-23journal/2023: add "A trip to Labuan Bajo"Shulhan
2022-08-25content: simplify the menu, use text instead iconsShulhan
This changes affect the CSS for top bar and reformatted by prettier.
2022-06-21content: add fixed background imageShulhan
Minimize dullness on the site ;)
2022-06-18content: add asciidoc style for admonition blockShulhan
Currently, the style is only for all admonition types, by surrounding them with border and background color on icon cell.
2022-06-08_content: add background color #eee to "pre" elementShulhan
While at it reformat using js-beautify.
2022-03-03content: split the CSS into separate fileShulhan
This is to make the Content-Security-Policy can be set without using 'unsafe-inline'.