Skip to content

Commit 8b9d641

Browse files
committed
Polishing styles
1 parent de4a80f commit 8b9d641

File tree

5 files changed

+51
-60
lines changed

5 files changed

+51
-60
lines changed

_static/css/markdown.css

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,38 @@
1-
.markdown-body img { background: none !important }
1+
.markdown-body img {
2+
background: none !important;
3+
}
4+
5+
.main-image {
6+
width: 30vw;
7+
}
8+
9+
.head-title {
10+
text-align: center;
11+
}
12+
13+
h1.head-title {
14+
color: var(--sy-c-link-hover);
15+
}
16+
17+
.head-button {
18+
display: flex;
19+
justify-content: center;
20+
}
21+
22+
.yue p.lead {
23+
text-align: center;
24+
}
25+
26+
#embed ul li p img {
27+
max-width: 300px;
28+
max-height: 300px;
29+
}
30+
31+
#embed ul li p {
32+
color: var(--sy-c-light);
33+
}
34+
35+
#embed ul li p img {
36+
max-width: 300px;
37+
max-height: 300px;
38+
}

_static/images/boy.svg

Lines changed: 0 additions & 52 deletions
This file was deleted.

_static/images/main_image.png

329 KB
Loading

conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,9 @@
328328
# Theme options are theme-specific and customize the look and feel of a theme
329329
# further. For a list of options available for each theme, see the
330330
# documentation.
331-
# html_theme_options = {}
331+
html_theme_options = {
332+
"accent_color": "tomato",
333+
}
332334

333335
# Add any paths that contain custom themes here, relative to this directory.
334336
html_theme_path = [alabaster.get_path()]

index.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,21 @@
22
description: Python Perú
33
layout: landing
44
---
5-
# Python Perú
65

7-
```{eval-rst}
8-
.. rst-class:: lead
6+
````{rst-class} head-title
7+
# Python Perú
98
10-
¡Bienvenidos a la Comunidad Peruana de Python!
9+
```{rst-class} lead
10+
¡Bienvenidos a la Comunidad Peruana de Python!
1111
```
1212
13+
````
14+
15+
````{rst-class} head-button
1316
:::{container} buttons
1417
[¡Python de cero a Pro!](learning-path.md)
1518
:::
16-
17-
![Boy](/_static/images/boy.svg){ height=200px align=center }
19+
````
1820

1921
::::{grid} 1 1 2 3
2022
:gutter: 2
@@ -37,6 +39,8 @@ Infórmate de lo último de lo que acontece en nuestra comunidad.
3739
::::
3840

3941

42+
![Python developer](/_static/images/main_image.png){ class=main-image align=center }
43+
4044
```{embed} https://blog.python.pe/recent_posts/
4145
```
4246

0 commit comments

Comments
 (0)