diff options
author | 2024-01-18 12:20:35 +0800 | |
---|---|---|
committer | 2024-01-18 12:20:35 +0800 | |
commit | 6964fbe73a986d999439e861b00cd0225cccec6d (patch) | |
tree | 718c70dfc0d7095610c6c781bdde8f9564ecc28f /pydis_site/templates | |
parent | Dark: Possibly fix FOUC during theme switch (diff) |
Dark: Use original light theme colors everywhere
Adjusted box-shadow for dark mode to be more readable, unfortunately
this gave it a little neomorphism effect...
Diffstat (limited to 'pydis_site/templates')
-rw-r--r-- | pydis_site/templates/content/listing.html | 4 | ||||
-rw-r--r-- | pydis_site/templates/events/index.html | 8 | ||||
-rw-r--r-- | pydis_site/templates/events/pages/code-jams/8/_index.html | 6 | ||||
-rw-r--r-- | pydis_site/templates/events/sidebar/code-jams/8.html | 4 | ||||
-rw-r--r-- | pydis_site/templates/home/index.html | 4 | ||||
-rw-r--r-- | pydis_site/templates/home/timeline.html | 2 | ||||
-rw-r--r-- | pydis_site/templates/resources/resource_box.html | 2 | ||||
-rw-r--r-- | pydis_site/templates/resources/resources.html | 4 |
8 files changed, 17 insertions, 17 deletions
diff --git a/pydis_site/templates/content/listing.html b/pydis_site/templates/content/listing.html index c21cea74..e2c27b17 100644 --- a/pydis_site/templates/content/listing.html +++ b/pydis_site/templates/content/listing.html @@ -18,7 +18,7 @@ {% block page_content %} {# Nested Categories #} {% for category, data in categories.items %} - <div class="box has-background-white-bis" style="max-width: 800px;"> + <div class="box has-background-white" style="max-width: 800px;"> <span class="icon is-size-4 is-medium"> <i class="{{ data.icon|default:"fas fa-folder" }} is-size-3 is-black has-icon-padding" aria-hidden="true"></i> </span> @@ -32,7 +32,7 @@ {# Single Pages #} {% for page, data in pages.items %} - <div class="box has-background-white-bis" style="max-width: 800px;"> + <div class="box has-background-white" style="max-width: 800px;"> <span class="icon is-size-4 is-medium"> <i class="{{ data.icon|default:"fab fa-python" }} is-size-3 is-black has-icon-padding" aria-hidden="true"></i> </span> diff --git a/pydis_site/templates/events/index.html b/pydis_site/templates/events/index.html index 2fbf0b85..4b1ae2bd 100644 --- a/pydis_site/templates/events/index.html +++ b/pydis_site/templates/events/index.html @@ -7,7 +7,7 @@ {% endblock %} {% block event_content %} - <div class="box has-background-white-bis"> + <div class="box has-background-white"> <h2 class="title is-4"><a href="{% url "events:page" path="code-jams" %}">Code Jams</a></h2> <p>Every year we hold a community-wide Summer Code Jam. For this event, members of our community are assigned to teams to collaborate and create something amazing using a technology we picked for them. One such technology that was picked for the Summer 2021 Code Jam was text user interfaces (TUIs), where teams could pick from a pre-approved list of frameworks.</p> <p>To help fuel the creative process, we provide a specific theme, like <strong>Think Inside the Box</strong> or <strong>Early Internet</strong>. At the end of the Code Jam, the projects are judged by Python Discord server staff members and guest judges from the larger Python community. The judges will consider creativity, code quality, teamwork, and adherence to the theme.</p> @@ -15,7 +15,7 @@ <iframe style="max-width: 100%;" width="560" height="315" src="https://www.youtube.com/embed/8fbZsGrqBzo" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe> </div> - <div class="box has-background-white-bis"> + <div class="box has-background-white"> <h2 class="title is-4">PyWeek</h2> <div class="columns is-3" style="--columnGap: 0.75rem;"> <div class="column"> @@ -41,7 +41,7 @@ </div> </div> - <div class="box has-background-white-bis"> + <div class="box has-background-white"> <h2 class="title is-4">Advent of Code</h2> <div class="columns is-3" style="--columnGap: 0.75rem;"> <div class="column"> @@ -69,7 +69,7 @@ </div> </div> - <div class="box has-background-white-bis"> + <div class="box has-background-white"> <h2 class="title is-4">Game Jam</h2> <div class="columns is-3" style="--columnGap: 0.75rem;"> <div class="column"> diff --git a/pydis_site/templates/events/pages/code-jams/8/_index.html b/pydis_site/templates/events/pages/code-jams/8/_index.html index cc8de6b1..319d9ecb 100644 --- a/pydis_site/templates/events/pages/code-jams/8/_index.html +++ b/pydis_site/templates/events/pages/code-jams/8/_index.html @@ -108,7 +108,7 @@ to provide our prizes as well. </p> <!-- This is going to be the sponsor section --> - <div class="card mb-4 has-background-white-bis"> + <div class="card mb-4 has-background-white"> <div class="card-content"> <div class="media"> <div class="media-left sponsor" style="max-width:150px"> @@ -127,7 +127,7 @@ </div> </div> - <div class="card mb-4 has-background-white-bis"> + <div class="card mb-4 has-background-white"> <div class="card-content"> <div class="media"> <div class="media-left sponsor" style="max-width:150px"> @@ -146,7 +146,7 @@ </div> </div> </div> - <div class="card mb has-background-white-bis"> + <div class="card mb has-background-white"> <div class="card-content"> <div class="media"> <div class="media-left sponsor" style="max-width:150px"> diff --git a/pydis_site/templates/events/sidebar/code-jams/8.html b/pydis_site/templates/events/sidebar/code-jams/8.html index 4f9aca9d..f579a0b2 100644 --- a/pydis_site/templates/events/sidebar/code-jams/8.html +++ b/pydis_site/templates/events/sidebar/code-jams/8.html @@ -1,5 +1,5 @@ {% load static %} -<div class="panel is-primary has-background-white-bis"> +<div class="panel is-primary has-background-white"> <p class="panel-heading">Important Links</p> <a class="panel-block has-text-link" href="{% url "events:page" path="code-jams/8/rules" %}">Rules</a> <a class="panel-block has-text-link" href="{% url "events:page" path="code-jams/8/frameworks" %}">Approved Frameworks</a> @@ -8,7 +8,7 @@ <a class="panel-block has-text-link" href="{% url "events:page" path="code-jams/code-style-guide" %}">The Code Style Guide</a> </ul> </div> -<div class="box has-background-white-bis"> +<div class="box has-background-white"> <img src="{% static "images/events/summer_code_jam_2021/banner.png" %}" alt="Summer Code Jam 2021"> <h4 class="menu-label">Our Sponsors</h4> <div class="sponsor"> diff --git a/pydis_site/templates/home/index.html b/pydis_site/templates/home/index.html index ed5623dd..30b064a4 100644 --- a/pydis_site/templates/home/index.html +++ b/pydis_site/templates/home/index.html @@ -92,7 +92,7 @@ {# Showcase box #} <section id="showcase" class="column is-half-desktop has-text-centered"> - <article class="box has-background-white-bis"> + <article class="box has-background-white"> <header class="title">Interactive timeline</header> @@ -138,7 +138,7 @@ <div class="column is-one-third-desktop is-half-tablet"> <a href="https://github.com/{{ repo.repo_name }}"> - <article class="card has-background-white-bis"> + <article class="card has-background-white"> <header class="card-header is-white"> <span class="card-header-icon"> diff --git a/pydis_site/templates/home/timeline.html b/pydis_site/templates/home/timeline.html index 49de14b5..6c627033 100644 --- a/pydis_site/templates/home/timeline.html +++ b/pydis_site/templates/home/timeline.html @@ -10,7 +10,7 @@ {% block content %} {% include "base/navbar.html" %} - <section class="cd-timeline js-cd-timeline has-background-white"> + <section class="cd-timeline js-cd-timeline"> <div class="container max-width-lg cd-timeline__container"> <div class="cd-timeline__block"> diff --git a/pydis_site/templates/resources/resource_box.html b/pydis_site/templates/resources/resource_box.html index 6a9729df..9f771c6e 100644 --- a/pydis_site/templates/resources/resource_box.html +++ b/pydis_site/templates/resources/resource_box.html @@ -2,7 +2,7 @@ {% load to_kebabcase %} {% load get_category_icon %} -<div class="box resource-box has-background-white-bis {{ resource.css_classes }}" data-resource-name="{{ resource.name }}"> +<div class="box resource-box has-background-white {{ resource.css_classes }}" data-resource-name="{{ resource.name }}"> {% if 'title_url' in resource %} <a href="{{ resource.title_url }}"> {% include "resources/resource_box_header.html" %} diff --git a/pydis_site/templates/resources/resources.html b/pydis_site/templates/resources/resources.html index 7cf6d71a..a4fa551e 100644 --- a/pydis_site/templates/resources/resources.html +++ b/pydis_site/templates/resources/resources.html @@ -40,7 +40,7 @@ {# Filter box tags #} - <div class="card filter-tags is-white has-background-white-bis"> + <div class="card filter-tags is-white has-background-white"> <div class="is-flex ml-auto"> <div id="tag-pool"> {# A filter tag for when there are no filters active #} @@ -116,7 +116,7 @@ {# Filter checkboxes #} {% for filter_name, filter_data in filters.items %} - <div class="card filter-category-header has-background-white-bis"> + <div class="card filter-category-header has-background-white"> <button type="button" class="card-header collapsible"> <span class="card-header-title subtitle is-6 my-2 ml-2"> <i class="fa-fw {{ filter_data.icon }} is-primary" aria-hidden="true"></i>  {{ filter_name }} |