| Commit message (Collapse) | Author | Age | Lines |
... | |
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
...which are unreadable in dark mode, use `has-dark-mode-background`
class.
{: class="has-dark-mode-background" }
Like this. And it will be given a nice light gray background and a
subtle padding & border.
|
| | | | |
|
| | |\ \ |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | |/ / |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | |\ \
| | | | |
| | | | |
| | | | | |
gdwr-dark-theme
|
| | | |\| |
|
| | |/ / |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also works on mobile.
I *love* CSS.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
See https://discord.com/channels/267624335836053506/635950537262759947/1193170173574774855
Idea from go.dev -- add background to each sponsor logo and put them in
a grid.
Also set the sponsor section background color to match that of footer's.
Issue pointed out by @ChrisLovering on discord.
This is an initial draft. As of now this works from my own testing:
- Consistent & uniform spacing (gaps)
- Supports mobile
- No affect to light theme other than the arrangement
- Logos do not get squashed, ever
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We have the CSS for the navbar in base.css, the relevant files only
contain code for the theme toggle, so they should be named as such.
If we ever implement CSS variables per-theme, they could then be done in
`themes.css`.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We can now use `[data-theme="dark"]` selector in CSS to defined styles
specifically for dark mode. This follows common web dev patterns and
gives little overhead.
- Hero
- Added `wave_black` SVG which copies `wave_white` as is but uses the
site's dark mode background color.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Added features
- When no preference already stored when page loads, we'll take into
account the system setting and set the theme automatically.
- When the system setting is modified while the site is active, switch
theme automatically.
- The system preference takes lower precedence than saved preference
from the switch toggle, unless the setting is modified while the site
is active.
Miscellaneous refactor.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Use localstorage. Advantages:
- One key=value for the entire site, without needing to specify
`path=/`
- No need for string splitting to parse the `key=value; ...` data
- Suggested more widely in tutorials
Pretty good support: https://caniuse.com/?search=localstorage
- Remove the need for JQuery, use IDs for switch and knob elements.
- This also makes the code more robust if the page has other switch &
knob classes!
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
And use `include_js` flag to the bulma dark theme stylesheet template
tag.
|
| | | |
| | | |
| | | |
| | | | |
A LOT of colors are still hardcoded in the CSS
|
| | | | |
|
| | |\ \
| | | | |
| | | | |
| | | | | |
hopefully I dont have to do this again
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|