| Commit message (Collapse) | Author | Age | Lines |
... | |
| | |
|
| |
| |
| |
| |
| |
| | |
Thanks to lemon for editting all the images.
Co-authored-by: Leon Sandøy <[email protected]>
|
| | |
|
| | |
|
| |
| |
| |
| | |
Thanks to wookie for finding the bug.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Adjusted box-shadow for dark mode to be more readable, unfortunately
this gave it a little neomorphism effect...
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes the latency previously observed on page loads.
We still have to put switch toggling after page loads though.
Genius idea by wookie.
Co-authored-by: wookie184 <[email protected]>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
...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.
|
| | |
|
|\ \ |
|
| | | |
|
| | | |
|
|/ / |
|
| | |
|
| | |
|
| | |
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* removing padding-right from discord button in nav
* fixing dropdown menu on contributing page for sub-articles
* Revert "fixing dropdown menu on contributing page for sub-articles"
This reverts commit 2d158ddbb8f1d27dd7d8b0b9282554365cf042e3.
* fixing dropdown menu on contributing page for sub-articles
* Revert "removing padding-right from discord button in nav"
This reverts commit e6642932611de307f5386928be0a1dd7e94cd134.
* lint fix
* fixing dropdown menu for mobile screen
* Update pydis_site/static/css/content/page.css
Co-authored-by: wookie184 <[email protected]>
---------
Co-authored-by: wookie184 <[email protected]>
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
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!
|
| | |
|
| |
| |
| |
| | |
A LOT of colors are still hardcoded in the CSS
|
| | |
|
|\|
| |
| |
| | |
hopefully I dont have to do this again
|
| |
| |
| |
| |
| |
| | |
The original URL this was hosted at is no longer available. Incorporate
the netcup icon as found on
https://www.netcup.de/ueber-netcup/werbemittel/index.php.
|
| |
| |
| |
| | |
discord button on top right
|
| | |
|
| |
| |
| |
| | |
section(python-discord#1036)
|