| Age | Commit message (Collapse) | Author |
|
|
|
|
|
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.
|
|
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
|
|
* 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.
|
|
We use spdxconv [1] tool to help converting the license and copyright.
[1]: https://kilabit.info/project/spdxconv/
|
|
Instead of dark blue (cyan?), make the links and sections header color
become gold-ish.
It is much better this way.
|
|
|
|
This is to minimize requests on client side, from two into single request.
|
|
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.
|
|
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
|
|
|
|
The blockquote now have left border with different color than main body.
While at it, reformat the style using prettier.
|
|
|
|
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.
|
|
|
|
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
|
|
|
|
|
|
This changes affect the CSS for top bar and reformatted by prettier.
|
|
Minimize dullness on the site ;)
|
|
Currently, the style is only for all admonition types, by surrounding
them with border and background color on icon cell.
|
|
While at it reformat using js-beautify.
|
|
This is to make the Content-Security-Policy can be set without using
'unsafe-inline'.
|