aboutsummaryrefslogtreecommitdiffstats
path: root/postgres (unfollow)
Commit message (Collapse)AuthorLines
2024-01-18Temporary fix to theme-switching FOUC problemGravatar hedy-7/+3
2024-01-18Dark: Use original light theme colors everywhereGravatar hedy-23/+27
Adjusted box-shadow for dark mode to be more readable, unfortunately this gave it a little neomorphism effect...
2024-01-18Dark: Possibly fix FOUC during theme switchGravatar hedy-7/+7
2024-01-18Dark: Set correct theme immediately when the script loadsGravatar hedy-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]>
2024-01-18Dark: Improve order of switching stylesheetsGravatar hedy-1/+1
2024-01-17Dark: For content pages using transparent images...Gravatar hedy-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.
2024-01-17Consistent CSS indent for files that I touchedGravatar hedy-7/+7
2024-01-17Dark: Sponsors light background for code/gamejamsGravatar hedy-44/+90
2024-01-17Consistent 4-spaces CSS indentGravatar hedy-30/+30
2024-01-17Bump python-frontmatter from 1.0.1 to 1.1.0Gravatar dependabot[bot]-6/+6
Bumps [python-frontmatter](https://github.com/eyeseast/python-frontmatter) from 1.0.1 to 1.1.0. - [Release notes](https://github.com/eyeseast/python-frontmatter/releases) - [Commits](https://github.com/eyeseast/python-frontmatter/compare/v1.0.1...v1.1.0) --- updated-dependencies: - dependency-name: python-frontmatter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2024-01-17Remove extra trailing space in resources.htmlGravatar ~hedy-1/+1
2024-01-17Remove extra trailing space in 8th codejam pageGravatar ~hedy-1/+1
2024-01-17Fix typo in page.cssGravatar ~hedy-0/+1
2024-01-16Dark: Use kivy logo with light background in resourcesGravatar hedy-3/+1
2024-01-16Dark: Use adafruit logo with light background in resourcesGravatar hedy-1/+1
2024-01-16Dark: Fix the filter box on resources pageGravatar hedy-47/+52
2024-01-15Bump ruff from 0.1.12 to 0.1.13Gravatar dependabot[bot]-20/+20
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.12 to 0.1.13. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.1.12...v0.1.13) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2024-01-14Dark: Fix tag colors in resources pageGravatar hedy-5/+13
2024-01-13Dark: Fix colors on content pagesGravatar hedy-0/+10
2024-01-13Dark: Use link color of better contrastGravatar hedy-6/+22
2024-01-12Dark: Fix timeline color for bordersGravatar hedy-2/+9
2024-01-12Dark: Fix sizing of sponsors' logosGravatar hedy-6/+18
Also works on mobile. I *love* CSS.
2024-01-12Bump markdown from 3.5.1 to 3.5.2Gravatar dependabot[bot]-5/+5
Bumps [markdown](https://github.com/Python-Markdown/markdown) from 3.5.1 to 3.5.2. - [Release notes](https://github.com/Python-Markdown/markdown/releases) - [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md) - [Commits](https://github.com/Python-Markdown/markdown/compare/3.5.1...3.5.2) --- updated-dependencies: - dependency-name: markdown dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2024-01-12Bump ruff from 0.1.11 to 0.1.12Gravatar dependabot[bot]-20/+20
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.11 to 0.1.12. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.1.11...v0.1.12) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2024-01-11Bump sentry-sdk from 1.39.1 to 1.39.2Gravatar dependabot[bot]-6/+6
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.39.1 to 1.39.2. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/1.39.1...1.39.2) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2024-01-08Bump psycopg from 3.1.16 to 3.1.17Gravatar dependabot[bot]-74/+74
Bumps [psycopg](https://github.com/psycopg/psycopg) from 3.1.16 to 3.1.17. - [Changelog](https://github.com/psycopg/psycopg/blob/master/docs/news.rst) - [Commits](https://github.com/psycopg/psycopg/compare/3.1.16...3.1.17) --- updated-dependencies: - dependency-name: psycopg dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2024-01-06Fixed truncated dropdown menu (#1138)Gravatar sarzz-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]>
2024-01-06Dark: Fix backgrounds on sponsors section on homepageGravatar hedy-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
2024-01-06Dark: Fix colors for bulma cards shadow & bordersGravatar hedy-2/+21
2024-01-05Dark: Fix all link hover colors (hopefully) everywhereGravatar hedy-4/+7
2024-01-05Dark: Name JS & CSS files according to their contentGravatar hedy-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`.
2024-01-05Dark: Revert some not so decent whitespace changes from previous PRGravatar hedy-3/+3
2024-01-05Dark: Fix shadows & borders colors on the homepageGravatar hedy-4/+18
2024-01-05Remove obsolete comment regarding notification.css fileGravatar hedy-1/+1
2024-01-05Dark: Inline selectors for the hero bottom waveGravatar hedy-4/+3
2024-01-05Dark: Fix hero colors on homepageGravatar hedy-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.
2024-01-05Dark: Support system color scheme preferenceGravatar hedy-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.
2024-01-05Dark: Refactor toggle handling JSGravatar hedy-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!
2024-01-04Shouldn't a white wave be white?Gravatar hedy-1/+1
2024-01-04Bump django-simple-bulma to 2.6.0Gravatar hedy-5/+5
And use `include_js` flag to the bulma dark theme stylesheet template tag.
2024-01-03Use icon_image instead of title_image and set icon_size to 50.Gravatar devdanzin-1/+2
2024-01-03Bump django from 5.0 to 5.0.1Gravatar dependabot[bot]-6/+6
Bumps [django](https://github.com/django/django) from 5.0 to 5.0.1. - [Commits](https://github.com/django/django/compare/5.0...5.0.1) --- updated-dependencies: - dependency-name: django dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2024-01-03Bump django-simple-bulma from 2.5.0 to 2.6.0Gravatar dependabot[bot]-5/+5
Bumps [django-simple-bulma](https://github.com/python-discord/django-simple-bulma) from 2.5.0 to 2.6.0. - [Release notes](https://github.com/python-discord/django-simple-bulma/releases) - [Commits](https://github.com/python-discord/django-simple-bulma/compare/v2.5.0...v2.6.0) --- updated-dependencies: - dependency-name: django-simple-bulma dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2024-01-03Bump ruff from 0.1.9 to 0.1.11Gravatar dependabot[bot]-20/+20
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.9 to 0.1.11. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.1.9...v0.1.11) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2024-01-01Bump pymdown-extensions from 10.6 to 10.7Gravatar dependabot[bot]-5/+5
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 10.6 to 10.7. - [Release notes](https://github.com/facelessuser/pymdown-extensions/releases) - [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.6...10.7) --- updated-dependencies: - dependency-name: pymdown-extensions dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2023-12-28Bump coverage from 7.3.4 to 7.4.0Gravatar dependabot[bot]-55/+55
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.3.4 to 7.4.0. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.3.4...7.4.0) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2023-12-27Bump pymdown-extensions from 10.5 to 10.6Gravatar dependabot[bot]-5/+5
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 10.5 to 10.6. - [Release notes](https://github.com/facelessuser/pymdown-extensions/releases) - [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.5...10.6) --- updated-dependencies: - dependency-name: pymdown-extensions dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2023-12-23Add a Goodreads link and 'paid' tag.Gravatar devdanzin-0/+4
2023-12-23Fix trailing whitespace.Gravatar devdanzin-1/+1