Skip to content

Commit 6bb5eec

Browse files
authored
Fix spacing around our hacky buttons (#2494)
Email ignores `p` elements but not `div`.
1 parent 6d6850e commit 6bb5eec

18 files changed

+46
-46
lines changed

docs/_data/berlin-2025-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ tickets:
8686
# button: >
8787
# .. raw:: html
8888
#
89-
# <p style="margin: 2em 0;">
89+
# <div style="margin: 2em 0;">
9090
# <table border="0" cellpadding="0" cellspacing="0" style="background-color:#2ECC71; border:1px solid #4a4a4a; border-radius:5px;">
9191
# <tr>
9292
# <td align="center" valign="middle" style="color:#FFFFFF; font-family:Helvetica, Arial, sans-serif; font-size:16px; font-weight:bold; letter-spacing:-.5px; line-height:150%; padding-top:15px; padding-right:30px; padding-bottom:15px; padding-left:30px;">

docs/_data/portland-2025-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@ tickets:
8282
button: >
8383
.. raw:: html
8484
85-
<p style="margin: 2em 0;">
85+
<div style="margin: 2em 0;">
8686
<table border="0" cellpadding="0" cellspacing="0" style="background-color:#2ECC71; border:1px solid #4a4a4a; border-radius:5px;">
8787
<tr>
8888
<td align="center" valign="middle" style="color:#FFFFFF; font-family:Helvetica, Arial, sans-serif; font-size:16px; font-weight:bold; letter-spacing:-.5px; line-height:150%; padding-top:15px; padding-right:30px; padding-bottom:15px; padding-left:30px;">
8989
<a href="https://ti.to/writethedocs/write-the-docs-portland-2025/" target="_blank" style="color:#FFFFFF; text-decoration:none; border-bottom: none;">Get your ticket</a>
9090
</td>
9191
</tr>
9292
</table>
93-
</p>
93+
</div>
9494
9595
sponsorship:
9696
second_draft:

docs/conf/berlin/2025/lightning-talks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ og:image: _static/conf/images/headers/{{shortcode}}-{{year}}-opengraph.jpg
44
banner: _static/conf/images/headers/2025/lightning-talks.jpg
55
---
66

7-
<p style="margin: 2em 0;">
7+
<div style="margin: 2em 0;">
88
<table border="0" cellpadding="0" cellspacing="0" style="background-color:#2ECC71; border:1px solid #4a4a4a; border-radius:5px;">
99
<tr>
1010
<td align="center" valign="middle" style="color:#FFFFFF; font-family:Helvetica, Arial, sans-serif; font-size:16px; font-weight:bold; letter-spacing:-.5px; line-height:150%; padding-top:15px; padding-right:30px; padding-bottom:15px; padding-left:30px;">
1111
<a href="{{ lightning_talks.signup_url }}" target="_blank" style="color:#FFFFFF; text-decoration:none; border-bottom: none;">Submit a Lightning Talk</a>
1212
</td>
1313
</tr>
1414
</table>
15-
</p>
15+
</div>
1616

1717
# What is a Lightning Talk?
1818

docs/conf/berlin/2025/news/announcing-speakers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ The big news today is the speaker lineup! Check out the speakers and their talks
1313

1414
.. raw:: html
1515

16-
<p style="margin: 2em 0;">
16+
<div style="margin: 2em 0;">
1717
<table border="0" cellpadding="0" cellspacing="0" style="background-color:#2ECC71; border:1px solid #4a4a4a; border-radius:5px;">
1818
<tr>
1919
<td align="center" valign="middle" style="color:#FFFFFF; font-family:Helvetica, Arial, sans-serif; font-size:16px; font-weight:bold; letter-spacing:-.5px; line-height:150%; padding-top:15px; padding-right:30px; padding-bottom:15px; padding-left:30px;">
2020
<a href="https://www.writethedocs.org/conf/{{shortcode}}/{{year}}/tickets/" target="_blank" style="color:#FFFFFF; text-decoration:none; border-bottom: none;">Buy your ticket</a>
2121
</td>
2222
</tr>
2323
</table>
24-
</p>
24+
</div>
2525

2626
{{city}} {{year}} speakers
2727
----------------------------------

docs/conf/berlin/2025/news/one-month-out.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ Still need a ticket? Now is a great time to purchase your ticket at one of our v
2525

2626
We do expect in-person tickets to sell out some time before the conference.
2727

28-
<p style="margin: 2em 0;">
28+
<div style="margin: 2em 0;">
2929
<table border="0" cellpadding="0" cellspacing="0" style="background-color:#2ECC71; border:1px solid #4a4a4a; border-radius:5px;">
3030
<tr>
3131
<td align="center" valign="middle" style="color:#FFFFFF; font-family:Helvetica, Arial, sans-serif; font-size:16px; font-weight:bold; letter-spacing:-.5px; line-height:150%; padding-top:15px; padding-right:30px; padding-bottom:15px; padding-left:30px;">
3232
<a href="https://www.writethedocs.org/conf/{{shortcode}}/{{year}}/tickets/" target="_blank" style="color:#FFFFFF; text-decoration:none; border-bottom: none;">Buy your ticket</a>
3333
</td>
3434
</tr>
3535
</table>
36-
</p>
36+
</div>
3737

3838
## Join our Slack Community
3939

@@ -44,15 +44,15 @@ Our [#wtd-conferences](https://writethedocs.slack.com/archives/C1AKFQATH) channe
4444

4545
**Reminder**: There is a two-step process to join Slack. You need to complete a short signup form before you can create your account.
4646

47-
<p style="margin: 2em 0;">
47+
<div style="margin: 2em 0;">
4848
<table border="0" cellpadding="0" cellspacing="0" style="background-color:#2ECC71; border:1px solid #4a4a4a; border-radius:5px;">
4949
<tr>
5050
<td align="center" valign="middle" style="color:#FFFFFF; font-family:Helvetica, Arial, sans-serif; font-size:16px; font-weight:bold; letter-spacing:-.5px; line-height:150%; padding-top:15px; padding-right:30px; padding-bottom:15px; padding-left:30px;">
5151
<a href="https://docs.google.com/forms/d/e/1FAIpQLSdq4DWRphVt1qVqH8NsjNnS0Szu_NljjZRUvyYqR7mdc00zKQ/viewform" target="_blank" style="color:#FFFFFF; text-decoration:none; border-bottom: none;">Join Slack today</a>
5252
</td>
5353
</tr>
5454
</table>
55-
</p>
55+
</div>
5656

5757
## How Do I Participate in the Conference?
5858

docs/conf/berlin/2025/news/welcome-berlin-2025.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ In-person tickets are sold out. Virtual ticket registrations will **close on Oct
4242

4343
We're opening up the Monday Unconference sign-ups today! We're doing this because Unconferences are amazing ways to foster connection within our community, and we hope this gives more visibility to the earlier Monday slots. [Learn more about the Unconference here](https://www.writethedocs.org/conf/{{shortcode}}/{{year}}/unconference/).
4444

45-
<p style="margin: 2em 0;">
45+
<div style="margin: 2em 0;">
4646
<table border="0" cellpadding="0" cellspacing="0" style="background-color:#2ECC71; border:1px solid #4a4a4a; border-radius:5px;">
4747
<tr>
4848
<td align="center" valign="middle" style="color:#FFFFFF; font-family:Helvetica, Arial, sans-serif; font-size:16px; font-weight:bold; letter-spacing:-.5px; line-height:150%; padding-top:15px; padding-right:30px; padding-bottom:15px; padding-left:30px;">
4949
<a href="{{unconf.url}}" target="_blank" style="color:#FFFFFF; text-decoration:none; border-bottom: none;">Sign up to Lead a Monday Unconference</a>
5050
</td>
5151
</tr>
5252
</table>
53-
</p>
53+
</div>
5454

5555
For those who are new to Unconferences or nervous about what makes a "good" topic, we have a vast range of topics and vibes every year. If you need some inspiration, consider any of these:
5656

@@ -65,15 +65,15 @@ And as always, sign-ups are also welcome during the conference.
6565
We have opened up Monday Lightning Talk submissions. Lightning Talks are a wonderful way to share an idea, concept, or piece of information you find interesting, in an informal five-minute talk. Similar to above, we hope that by opening up Lightning Talks early, this provides more time to ideate and to submit your talk before the conference. [Learn more about giving a Lightning Talk here.](https://www.writethedocs.org/conf/{{shortcode}}/{{year}}/lightning-talks/)
6666

6767

68-
<p style="margin: 2em 0;">
68+
<div style="margin: 2em 0;">
6969
<table border="0" cellpadding="0" cellspacing="0" style="background-color:#2ECC71; border:1px solid #4a4a4a; border-radius:5px;">
7070
<tr>
7171
<td align="center" valign="middle" style="color:#FFFFFF; font-family:Helvetica, Arial, sans-serif; font-size:16px; font-weight:bold; letter-spacing:-.5px; line-height:150%; padding-top:15px; padding-right:30px; padding-bottom:15px; padding-left:30px;">
7272
<a href="{{lightning_talks.signup_url}}" target="_blank" style="color:#FFFFFF; text-decoration:none; border-bottom: none;">Submit your Monday Lightning Talk</a>
7373
</td>
7474
</tr>
7575
</table>
76-
</p>
76+
</div>
7777

7878
```{figure} /_static/conf/images/headers/portland-2024-all-speakers.jpg
7979
```

docs/conf/berlin/2025/unconference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ og:image: _static/conf/images/headers/{{shortcode}}-{{year}}-opengraph.jpg
44
banner: _static/conf/images/headers/2025/unconference.jpg
55
---
66

7-
<p style="margin: 2em 0;">
7+
<div style="margin: 2em 0;">
88
<table border="0" cellpadding="0" cellspacing="0" style="background-color:#2ECC71; border:1px solid #4a4a4a; border-radius:5px;">
99
<tr>
1010
<td align="center" valign="middle" style="color:#FFFFFF; font-family:Helvetica, Arial, sans-serif; font-size:16px; font-weight:bold; letter-spacing:-.5px; line-height:150%; padding-top:15px; padding-right:30px; padding-bottom:15px; padding-left:30px;">
1111
<a href="{{unconf.url}}" target="_blank" style="color:#FFFFFF; text-decoration:none; border-bottom: none;">See the Unconference schedule</a>
1212
</td>
1313
</tr>
1414
</table>
15-
</p>
15+
</div>
1616

1717

1818
# What is an Unconference?

docs/conf/portland/2025/hike.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ We will be hiking in the amazing [Forest Park](https://forestparkconservancy.org
1414

1515
It’s rained on us in the past, but we have faith it will be beautiful this year! We will hopefully see Mount Hood at the top :)
1616

17-
<p style="margin: 2em 0;">
17+
<div style="margin: 2em 0;">
1818
<table border="0" cellpadding="0" cellspacing="0" style="background-color:#2ECC71; border:1px solid #4a4a4a; border-radius:5px;">
1919
<tr>
2020
<td align="center" valign="middle" style="color:#FFFFFF; font-family:Helvetica, Arial, sans-serif; font-size:16px; font-weight:bold; letter-spacing:-.5px; line-height:150%; padding-top:15px; padding-right:30px; padding-bottom:15px; padding-left:30px;">
2121
<a href="https://ti.to/writethedocs/write-the-docs-portland-2025/with/k-pi4-g8s80" target="_blank" style="color:#FFFFFF; text-decoration:none; border-bottom: none;">Sign up for the hike with a free ticket</a>
2222
</td>
2323
</tr>
2424
</table>
25-
</p>
25+
</div>
2626

2727
## Schedule & Logistics
2828

docs/conf/portland/2025/lightning-talks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ A Lightning Talk is a brief presentation, lasting up to five minutes, where you
1010

1111
Lightning Talks are a fantastic opportunity for first-time speakers. Regardless of your speaking experience, we invite you to submit a talk.
1212

13-
<p style="margin: 2em 0;">
13+
<div style="margin: 2em 0;">
1414
<table border="0" cellpadding="0" cellspacing="0" style="background-color:#2ECC71; border:1px solid #4a4a4a; border-radius:5px;">
1515
<tr>
1616
<td align="center" valign="middle" style="color:#FFFFFF; font-family:Helvetica, Arial, sans-serif; font-size:16px; font-weight:bold; letter-spacing:-.5px; line-height:150%; padding-top:15px; padding-right:30px; padding-bottom:15px; padding-left:30px;">
1717
<a href="https://docs.google.com/forms/d/e/1FAIpQLSc9Op0AImTVbHoX4yi_AViNpCvE_Id-E_Q2-y3THQ7NxXW5MA/viewform?usp=sharing" target="_blank" style="color:#FFFFFF; text-decoration:none; border-bottom: none;">Submit a Lightning Talk</a>
1818
</td>
1919
</tr>
2020
</table>
21-
</p>
21+
</div>
2222

2323
**Supporting first-time speakers is important to us, so we have created two speaker categories:**
2424

docs/conf/portland/2025/news/announcing-speaker-series.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Register for your free ticket so you can tune in to all three sessions! We'll em
2222

2323
.. raw:: html
2424

25-
<p style="margin: 2em 0;">
25+
<div style="margin: 2em 0;">
2626
<table border="0" cellpadding="0" cellspacing="0" style="background-color:#2ECC71; border:1px solid #4a4a4a; border-radius:5px;">
2727
<tr>
2828
<td align="center" valign="middle" style="color:#FFFFFF; font-family:Helvetica, Arial, sans-serif; font-size:16px; font-weight:bold; letter-spacing:-.5px; line-height:150%; padding-top:15px; padding-right:30px; padding-bottom:15px; padding-left:30px;">

0 commit comments

Comments
 (0)