From 9ffb5e8bad2be7cf303634f8028255fc28ff640c Mon Sep 17 00:00:00 2001
From: Niko
Date: Mon, 16 Jun 2025 13:16:32 +0200
Subject: [PATCH 1/3] Fix mobile style
---
src/components/sponsor-tiers/sponsor-tiers.astro | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/sponsor-tiers/sponsor-tiers.astro b/src/components/sponsor-tiers/sponsor-tiers.astro
index bdb8f9bd1..38ab9399e 100644
--- a/src/components/sponsor-tiers/sponsor-tiers.astro
+++ b/src/components/sponsor-tiers/sponsor-tiers.astro
@@ -258,7 +258,7 @@ const formatPrice = (price: number | string) => {
For early-stage companies ready to connect with the community, boost visibility, and make a strong first impression.
-
+
{
tiers
.filter((tier) => tier.title === "Startup")
From 45661621b09ebb661beb573a97bf2c25428748ba Mon Sep 17 00:00:00 2001
From: Niko
Date: Mon, 16 Jun 2025 14:21:39 +0200
Subject: [PATCH 2/3] Add collapsable markdown style
---
src/content/pages/sponsorship/sponsor.mdx | 3 ++
src/styles/markdown.css | 55 +++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/src/content/pages/sponsorship/sponsor.mdx b/src/content/pages/sponsorship/sponsor.mdx
index 863213f1f..cd2adce67 100644
--- a/src/content/pages/sponsorship/sponsor.mdx
+++ b/src/content/pages/sponsorship/sponsor.mdx
@@ -27,6 +27,7 @@ https://www.youtube.com/watch?v=oW8FHL4PiuI
Explore the benefits of sponsoring EuroPython:
+
| | | |
|--------------------------------------------------------------------------------------- |----------------------------------------------------------------------------------------------- |--------------------------------------------------------------------------------- |
| Boost your brand and connect with **1,500 Pythonistas** at this leading Python event. | Showcase your product to an engaged audience and **turn visibility into high-quality leads**. | Build **positive brand association** and gain community respect & appreciation. |
@@ -35,6 +36,8 @@ Explore the benefits of sponsoring EuroPython:
|--------------------------------------------------------------------------------------- |----------------------------------------------------------------------------------------------- |--------------------------------------------------------------------------------- |
| Tap into the expertise of the Python community to **upskill your team**. | Access **a pool of talented Python developers** looking for their next opportunity. | Discover new avenues and opportunities to **expand and grow your business**. |
+
+
#### Ready to Become a EuroPython 2025 Sponsor?
Sign Up Now to Secure Your Spot!
diff --git a/src/styles/markdown.css b/src/styles/markdown.css
index 4e08ef2d3..c35cb046c 100644
--- a/src/styles/markdown.css
+++ b/src/styles/markdown.css
@@ -98,3 +98,58 @@ p.cross::after {
font-size: 1.3em;
margin-left: 0.4em;
}
+
+.md_table {
+ border-collapse:collapse;
+ width: 100%;
+ table-layout: fixed;
+}
+@media screen and (max-width: 680px) {
+ .md_table thead {
+ border:none;
+ }
+ .md_table tr {
+ display: block;
+ margin-bottom: 0.8em;
+ border:none;
+ }
+ .md_table th {
+ margin-bottom: 0.8em;
+ border:none;
+ display: block;
+ }
+
+
+ .md_table thead th div {
+ text-align: center;
+ justify-content: center;
+ }
+
+ .md_table tr td {
+ border:none;
+ display: block;
+ text-align: left;
+ position: relative;
+ padding-inline-start:0.8em;
+ }
+ .md_table tr td:before {
+ content: attr(data-label);
+ font-weight: bold;
+ text-transform: uppercase;
+ position: absolute;
+ left: 0;
+ }
+ .md_table tr td:last-child {
+ border-bottom: 0;
+ }
+ .md_table__thead {
+ border: none;
+ clip: rect(0 0 0 0);
+ height: 1px;
+ margin: -1px;
+ overflow: hidden;
+ padding: 0;
+ position: absolute;
+ width: 1px;
+ }
+}
From c9011c6f3eb6cc9abae5637b5719df967a6ed270 Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
<66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Mon, 16 Jun 2025 12:22:04 +0000
Subject: [PATCH 3/3] [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---
src/styles/markdown.css | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/src/styles/markdown.css b/src/styles/markdown.css
index c35cb046c..801f9d7d9 100644
--- a/src/styles/markdown.css
+++ b/src/styles/markdown.css
@@ -100,39 +100,38 @@ p.cross::after {
}
.md_table {
- border-collapse:collapse;
+ border-collapse: collapse;
width: 100%;
table-layout: fixed;
}
@media screen and (max-width: 680px) {
.md_table thead {
- border:none;
+ border: none;
}
.md_table tr {
display: block;
margin-bottom: 0.8em;
- border:none;
+ border: none;
}
.md_table th {
margin-bottom: 0.8em;
- border:none;
+ border: none;
display: block;
}
-
.md_table thead th div {
text-align: center;
justify-content: center;
}
.md_table tr td {
- border:none;
+ border: none;
display: block;
text-align: left;
position: relative;
- padding-inline-start:0.8em;
+ padding-inline-start: 0.8em;
}
- .md_table tr td:before {
+ .md_table tr td:before {
content: attr(data-label);
font-weight: bold;
text-transform: uppercase;