summaryrefslogtreecommitdiffstats
path: root/docs/assets (follow)
Commit message (Collapse)AuthorAgeFilesLines
* docs: add dark modeBenjamin Franzke2022-05-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Respect the user agent property `prefers-color-scheme` by rendering the documentation in dark mode, if requested. Reorganise CSS to store the color palette into CSS variables and reference these from another set of CSS variables that are dynamically switched based on the prefers-color-scheme media query. Light mode variables stay they same as before, but to ease color mixing, the current RGB values have been transformed to HSL (using chrome devtools). The current body background is now --sd-gray-extralight, the current body color is now --sd-gray-extradark. Other gray-variations, needed for dark-mode constrasts are derived from these colors using HSL lightness shifting. The systemd brand black color is used as dark mode background and a matching extralight gray font color has been selected. The link font-weight is reduced to 400 in dark mode, as the green color on dark ground becomes to overwhelming with a bold font. The systemd logo color is dynamically swapped by using the special fill value `currentColor` for dark/light-mode depending parts – as per specification on brand.systemd.io
* docs: remove unneeded font-related attributes from svg logoBenjamin Franzke2022-05-171-2/+2
| | | | | The font has been vectorized and therefore all font related properties are ignored anyway.
* docs: use whole numbers for circle in page-logoBenjamin Franzke2022-05-171-1/+1
| | | | | 0.001 is usually rounded to 0 by browsers, still, better to be explicit and save some bytes.
* docs: mark spdx headers with the default license to website filesZbigniew Jędrzejewski-Szmek2021-10-181-0/+1
| | | | | | | | | Those were added in b41a3f66c97e3d861faed04b727daf929383b827 without an explicit license, so they are under the default license. Some files already got a header previously, so this only touches the remaining. The same should be done for docs/_data/extra_pages.json, but it's json, and json doesn't allow comments.
* docs: make it prettyTobias Bernard2019-12-111-0/+6
Add custom Jekyll theme, logo, webfont and .gitignore FIXME: the markdown files have some H1 headers which need to be replaced with H2