Skip to content

Commit 0e0e2eb

Browse files
authored
style fix (#25)
1 parent 7baff2a commit 0e0e2eb

File tree

2 files changed

+25
-9
lines changed

2 files changed

+25
-9
lines changed

_static/css/markdown.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@
66
width: 30vw;
77
}
88

9-
section#python-peru:has(p.social-media) {
9+
ul.social-media {
10+
list-style: none;
1011
text-align: center;
12+
padding: 0;
13+
}
14+
15+
ul.social-media li {
16+
display: inline;
1117
}
1218

1319
.head-title h1 {

index.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,24 @@ myst:
1212
{.lead}
1313
¡Bienvenidos a la Comunidad Peruana de Python!
1414

15-
```{rst-class} i-icon social-media github
16-
https://github.com/pythonpe/python.pe
17-
```
18-
```{rst-class} i-icon social-media meetup
19-
https://www.meetup.com/pythonperu/
20-
```
21-
```{rst-class} i-icon social-media whatsapp
22-
https://chat.whatsapp.com/D9bPvUrddvSBUIkMSoTqrk
15+
```{raw} html
16+
<ul class="social-media">
17+
<li>
18+
<p class="i-icon social-media github">
19+
<a href="https://github.com/pythonpe/python.pe" target="_top"></a>
20+
</p>
21+
</li>
22+
<li>
23+
<p class="i-icon social-media meetup">
24+
<a href="https://www.meetup.com/pythonperu/" target="_top"></a>
25+
</p>
26+
</li>
27+
<li>
28+
<p class="i-icon social-media whatsapp">
29+
<a href="https://chat.whatsapp.com/D9bPvUrddvSBUIkMSoTqrk" target="_top"></a>
30+
</p>
31+
</li>
32+
</ul>
2333
```
2434

2535
````{rst-class} head-button

0 commit comments

Comments
 (0)