aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
* Update path variable in resource page testsGravatar RohanJnr2024-02-11-1/+1
|
* Move resorce loading from view init() to AppConfig ready() methodGravatar RohanJnr2024-02-11-94/+101
| | | | This is done to load the resources only once on startup instead of loading it everytime the view is initialized which is done whenever a request is made to the resources endpoint.
* Merge branch 'main' into mailing-list-modelGravatar Xithrius2024-02-03-412/+1200
|\
| * Appeased the linterGravatar Xithrius2024-02-01-1/+1
| |
| * Merge branch 'main' into docs/dark-themeGravatar hedy2024-01-28-397/+1125
| |\
| | * Dark: Use a darker pydis blurple everywhereGravatar hedy2024-01-28-5/+1
| | |
| | * Dark: Use alternate images for homepage, resources, eventsGravatar hedy2024-01-28-43/+97
| | | | | | | | | | | | | | | | | | Thanks to lemon for editting all the images. Co-authored-by: Leon Sandøy <[email protected]>
| | * Dark: Fix timeline icon bordersGravatar hedy2024-01-28-0/+4
| | |
| | * Dark: Darken nav, hero, hero waves, button, body backgroundsGravatar hedy2024-01-28-3/+205
| | |
| | * Dark: Fix switch toggle when system preference is usedGravatar hedy2024-01-20-2/+4
| | | | | | | | | | | | Thanks to wookie for finding the bug.
| | * Dark: Restore border on github cardsGravatar hedy2024-01-18-0/+4
| | |
| | * Dark: Better shadowsGravatar hedy2024-01-18-6/+2
| | |
| | * Dark: Better contrast for dark switchGravatar hedy2024-01-18-0/+1
| | |
| | * Dark: Avoid knob & icon overlapping during transitionGravatar hedy2024-01-18-1/+1
| | |
| | * Dark: Theme switch with better contrast on mobileGravatar hedy2024-01-18-2/+3
| | |
| | * Optimistic fix for FOUC on initial site loadGravatar hedy2024-01-18-0/+5
| | |
| | * Dark: More subtle collapsible and box-shadow bordersGravatar hedy2024-01-18-2/+2
| | |
| | * Dark: Use our own panda3d logo with light backgroundGravatar hedy2024-01-18-1/+1
| | |
| | * Temporary fix to theme-switching FOUC problemGravatar hedy2024-01-18-7/+3
| | |
| | * Dark: Use original light theme colors everywhereGravatar hedy2024-01-18-23/+27
| | | | | | | | | | | | | | | Adjusted box-shadow for dark mode to be more readable, unfortunately this gave it a little neomorphism effect...
| | * Dark: Possibly fix FOUC during theme switchGravatar hedy2024-01-18-7/+7
| | |
| | * Dark: Set correct theme immediately when the script loadsGravatar hedy2024-01-18-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]>
| | * Dark: Improve order of switching stylesheetsGravatar hedy2024-01-18-1/+1
| | |
| | * Dark: For content pages using transparent images...Gravatar hedy2024-01-17-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...which are unreadable in dark mode, use `has-dark-mode-background` class. ![](/img.png){: class="has-dark-mode-background" } Like this. And it will be given a nice light gray background and a subtle padding & border.
| | * Consistent CSS indent for files that I touchedGravatar hedy2024-01-17-7/+7
| | |
| | * Fix conflictsGravatar hedy2024-01-17-2/+3
| | |\
| | | * Remove extra trailing space in resources.htmlGravatar ~hedy2024-01-17-1/+1
| | | |
| | | * Remove extra trailing space in 8th codejam pageGravatar ~hedy2024-01-17-1/+1
| | | |
| | | * Fix typo in page.cssGravatar ~hedy2024-01-17-0/+1
| | | |
| | * | Dark: Sponsors light background for code/gamejamsGravatar hedy2024-01-17-44/+90
| | | |
| | * | Consistent 4-spaces CSS indentGravatar hedy2024-01-17-30/+30
| | |/
| | * Dark: Use kivy logo with light background in resourcesGravatar hedy2024-01-16-3/+1
| | |
| | * Dark: Use adafruit logo with light background in resourcesGravatar hedy2024-01-16-1/+1
| | |
| | * Dark: Fix the filter box on resources pageGravatar hedy2024-01-16-47/+52
| | |
| | * 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.