aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
...
| | * | Merge branch 'gdwr-dark-theme' of github.com:hedyhli/pydis-site into ↵Gravatar hedy2024-01-14-17/+52
| | |\ \ | | | | | | | | | | | | | | | gdwr-dark-theme
| | | * | Merge branch 'main' into gdwr-dark-themeGravatar ~hedy2024-01-13-17/+52
| | | |\|
| | * | | Dark: Fix tag colors in resources pageGravatar hedy2024-01-14-5/+13
| | |/ /
| | * | Dark: Fix colors on content pagesGravatar hedy2024-01-13-0/+10
| | | |
| | * | Dark: Use link color of better contrastGravatar hedy2024-01-13-6/+22
| | | |
| | * | Dark: Fix timeline color for bordersGravatar hedy2024-01-12-2/+9
| | | |
| | * | Dark: Fix sizing of sponsors' logosGravatar hedy2024-01-12-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | Also works on mobile. I *love* CSS.
| | * | Dark: Fix backgrounds on sponsors section on homepageGravatar hedy2024-01-06-20/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | Dark: Fix colors for bulma cards shadow & bordersGravatar hedy2024-01-06-2/+21
| | | |
| | * | Dark: Fix all link hover colors (hopefully) everywhereGravatar hedy2024-01-05-4/+7
| | | |
| | * | Dark: Name JS & CSS files according to their contentGravatar hedy2024-01-05-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
| | * | Dark: Revert some not so decent whitespace changes from previous PRGravatar hedy2024-01-05-3/+3
| | | |
| | * | Dark: Fix shadows & borders colors on the homepageGravatar hedy2024-01-05-4/+18
| | | |
| | * | Remove obsolete comment regarding notification.css fileGravatar hedy2024-01-05-1/+1
| | | |
| | * | Dark: Inline selectors for the hero bottom waveGravatar hedy2024-01-05-4/+3
| | | |
| | * | Dark: Fix hero colors on homepageGravatar hedy2024-01-05-0/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | Dark: Support system color scheme preferenceGravatar hedy2024-01-05-12/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | Dark: Refactor toggle handling JSGravatar hedy2024-01-05-75/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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!
| | * | Shouldn't a white wave be white?Gravatar hedy2024-01-04-1/+1
| | | |
| | * | Bump django-simple-bulma to 2.6.0Gravatar hedy2024-01-04-1/+1
| | | | | | | | | | | | | | | | | | | | And use `include_js` flag to the bulma dark theme stylesheet template tag.
| | * | Dark: Fix most colors on timelineGravatar hedy2023-12-14-162/+155
| | | | | | | | | | | | | | | | A LOT of colors are still hardcoded in the CSS
| | * | Automatically fix lintGravatar hedy2023-12-14-2/+2
| | | |
| | * | Fix all conflictsGravatar hedy2023-12-14-3511/+10816
| | |\ \ | | | | | | | | | | | | | | | hopefully I dont have to do this again
| | * | | Resize theme switchGravatar GDWR2022-02-09-1/+1
| | | | |
| | * | | Resize theme switchGravatar GDWR2022-02-09-26/+8
| | | | |
| | * | | Update colour variablesGravatar GDWR2022-02-09-6/+12
| | | | |
| | * | | Remove clashing cssGravatar GDWR2022-02-09-5/+0
| | | | |
| | * | | Change wave colour tempGravatar GDWR2022-02-09-1/+1
| | | | |
| | * | | Use colour helpersGravatar GDWR2022-02-09-108/+108
| | | | |
| | * | | Determine current theme and set switchGravatar GDWR2022-02-08-24/+28
| | | | |
| | * | | remove unused colour valuesGravatar GDWR2022-02-08-4/+0
| | | | |
| | * | | Use colour helpersGravatar GDWR2022-02-08-6/+6
| | | | |
| | * | | Use colour helpersGravatar GDWR2022-02-08-6/+6
| | | | |
| | * | | Set dark theme colour valuesGravatar GDWR2022-02-08-7/+7
| | | | |
| | * | | Use colour helpersGravatar GDWR2022-02-08-18/+18
| | | | |
| | * | | Use colour helpersGravatar GDWR2022-02-08-13/+13
| | | | |
| | * | | Use colour helpersGravatar GDWR2022-02-08-18/+18
| | | | |
| | * | | Use colour helpersGravatar GDWR2022-02-08-9/+8
| | | | |
| | * | | Comment bulma variablesGravatar GDWR2022-02-08-4/+13
| | | | |
| | * | | getCurrentTheme returns "default" if emptyGravatar GDWR2022-02-08-0/+3
| | | | |
| | * | | Resize switchGravatar GDWR2022-02-08-8/+8
| | | | |
| | * | | Add initial dark themeGravatar GDWR2022-02-08-1/+193
| | | | |
| | * | | Add dark theme stylesheetGravatar GDWR2022-02-07-0/+11
| | | | |
| | * | | Correct typehintsGravatar GDWR2022-02-07-2/+2
| | | | |
| * | | | Add section about dark mode in guide for contributing a pageGravatar hedy2024-01-28-0/+24
| | |_|/ | |/| |
| * | | Fixed truncated dropdown menu (#1138)Gravatar sarzz2024-01-06-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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]>
| * | | Use icon_image instead of title_image and set icon_size to 50.Gravatar devdanzin2024-01-03-1/+2
| | | |
| * | | Add a Goodreads link and 'paid' tag.Gravatar devdanzin2023-12-23-0/+4
| | | |
| * | | Fix trailing whitespace.Gravatar devdanzin2023-12-23-1/+1
| | | |
| * | | Add 'Software Design by Example' to resources.Gravatar devdanzin2023-12-22-0/+21
| | | |