diff options
author | 2024-01-28 13:16:14 +0100 | |
---|---|---|
committer | 2024-01-28 13:16:14 +0100 | |
commit | 6422e181e7a6c1127e52e7278ac5f017f9c304d7 (patch) | |
tree | 9f10b0b2c8abb6e984401de96901a460fe672004 /pydis_site/apps/content | |
parent | Bump python-dotenv from 1.0.0 to 1.0.1 (#1212) (diff) | |
parent | Dark: Use a darker pydis blurple everywhere (diff) |
Merge pull request #1176 from hedyhli/gdwr-dark-theme
Dark theme
Diffstat (limited to 'pydis_site/apps/content')
-rw-r--r-- | pydis_site/apps/content/resources/guides/pydis-guides/contributing.md | 8 | ||||
-rw-r--r-- | pydis_site/apps/content/resources/guides/python-guides/mutability.md | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/pydis_site/apps/content/resources/guides/pydis-guides/contributing.md b/pydis_site/apps/content/resources/guides/pydis-guides/contributing.md index b36c0afd..5dc6408c 100644 --- a/pydis_site/apps/content/resources/guides/pydis-guides/contributing.md +++ b/pydis_site/apps/content/resources/guides/pydis-guides/contributing.md @@ -9,8 +9,8 @@ Our projects on Python Discord are open source and [available on GitHub](https:/ <!-- Project cards --> <div class="columns is-multiline is-centered is-3 is-variable"> <div class="column is-one-third-desktop is-half-tablet"> - <div class="card github-card"> - <div class="card-header"> + <div class="card github-card has-background-white"> + <div class="card-header has-background-white"> <div class="card-header-title is-centered"> <a class="is-size-5" href="https://github.com/python-discord/sir-lancebot"> <i class="fab fa-github"></i> <strong >Sir Lancebot</strong> @@ -22,11 +22,11 @@ Our projects on Python Discord are open source and [available on GitHub](https:/ Sir Lancebot has a collection of self-contained, for-fun features. If you're new to Discord bots or contributing, this is a great place to start! </div> </div> - <div class="card-footer"> + <div class="card-footer has-background-white"> <a href="https://github.com/python-discord/sir-lancebot/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc" class="card-footer-item"><i class="fas fa-exclamation-circle"></i> Issues</a> <a href="https://github.com/python-discord/sir-lancebot/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc" class="card-footer-item"><i class="fas fa-code-merge"></i> PRs</a> </div> - <div class="card-footer"> + <div class="card-footer has-background-white"> <a href="/pages/guides/pydis-guides/contributing/sir-lancebot" class="card-footer-item"><i class="fas fa-cogs"></i> Setup and Configuration Guide</a> </div> </div> diff --git a/pydis_site/apps/content/resources/guides/python-guides/mutability.md b/pydis_site/apps/content/resources/guides/python-guides/mutability.md index 185dc87c..e180fd16 100644 --- a/pydis_site/apps/content/resources/guides/python-guides/mutability.md +++ b/pydis_site/apps/content/resources/guides/python-guides/mutability.md @@ -30,11 +30,11 @@ It just returns a new one. Let's examine what's going on here. At first, the variable `s` refers to some object, the string `'hello'`. - +{: class="has-dark-mode-background" } When you call `s.upper()`, a new string, which contains the characters `'HELLO'`, gets created. - +{: class="has-dark-mode-background" } This happens even if you just call `s.upper()` without any assignment, on its own line: ```python @@ -44,12 +44,12 @@ In this case, a new object will be created and discarded right away. Then the assignment part comes in: the name `s` gets disconnected from `'hello'`, and gets connected to `'HELLO'`. - +{: class="has-dark-mode-background" } Now we can say that `'HELLO'` is stored in the `s` variable. Then, because no variables refer to the _object_ `'hello'`, it gets eaten by the garbage collector. - +{: class="has-dark-mode-background" } It means that the memory reserved for that object will be freed. If that didn't happen, the 'garbage' would accumulate over time and fill up all the RAM. |