Skip to content

Commit 99a4f12

Browse files
Merge pull request #17 from PythonBiellaGroup/develop
Develop
2 parents c5f048e + 9ba5ce4 commit 99a4f12

File tree

4 files changed

+40
-31
lines changed

4 files changed

+40
-31
lines changed

docs/style/extra.css

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,19 @@
1818
padding-top: calc(10vh);
1919
}
2020

21+
.homepage_container {
22+
text-align: center;
23+
padding-top: calc(10vh);
24+
}
25+
2126
.home_normal_text {
22-
/* text-align: center; */
2327
display: grid;
24-
/* display: flex; */
25-
/* grid-template-columns: 1fr 3fr 1fr; */
2628
justify-items: center;
2729
margin-left: 3rem;
2830
padding-left: 1rem;
2931
margin-right: 3rem;
3032
padding-right: 1rem;
3133
color: white;
32-
/* align-items: center; */
3334
font-family: var(--md-text-font);
3435
font-size: 1rem;
3536
line-height: 1.5;
@@ -46,27 +47,41 @@
4647

4748
@media (max-width: 768px) {
4849
.homepage_icon {
49-
width: 5rem;
50-
margin-left: 0.5rem;
51-
margin-right: 0.5rem;
50+
width: 2rem;
51+
margin-left: 1rem;
52+
margin-right: 1rem;
5253
}
5354
.homepage_logo {
5455
width: 50%;
56+
padding-top: calc(3vh);
5557
}
5658
.home_normal_text {
5759
font-size: 0.8rem;
60+
margin-left: 1rem;
61+
padding-left: 0.5rem;
62+
margin-right: 1rem;
63+
padding-right: 0.5rem;
64+
font-size: 1rem;
65+
line-height: 1.5;
5866
}
5967
}
6068

61-
@media (max-width: 480px) {
69+
@media (max-width: 375px) {
6270
.homepage_icon {
63-
width: 1.5rem;
71+
width: 2rem;
72+
margin-left: 0.8rem;
73+
margin-right: 0.8rem;
6474
}
6575
.homepage_logo {
66-
width: 50%;
76+
width: 30%;
77+
padding-top: calc(2vh);
6778
}
6879
.home_normal_text {
69-
font-size: 0.8rem;
80+
font-size: 0.7rem;
81+
margin-left: 1rem;
82+
padding-left: 0.5rem;
83+
margin-right: 1rem;
84+
padding-right: 0.5rem;
7085
}
7186
}
7287

overrides/404.html

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,16 @@
55
<div style="text-align: center;">
66
<img src="/static/images/logo/PBG_logo_W@300x.png" alt="404 Image" style="width: 50%; max-width: 400px; padding-bottom: 1rem;">
77
<h1 style="font-size: 35px;">404 - Not found</h1>
8-
<p style="font-size: 20px;">Oops!✨ It seems like you've lost your way in the world of 404.
8+
<p style="font-size: 20px;">Oops!✨ Sembra che tu abbia perso la strada nel mondo del 404.
99

10-
Don't worry, the page you're looking for seems to have hidden away for a bit. But fear not, there are still plenty
11-
of interesting things to discover here!
10+
Non temere, anche gli errori ci insegnano qualcosa. Respira profondamente, abbraccia lo zen di Python e ritorna al percorso principale con "import this".
1211

13-
Go back and continue your exploration, you might find something surprising along the way!
14-
<br>
15-
Good luck! 🌟🗺️
16-
</p>
12+
Continua a programmare, continua a esplorare!</p>
1713
<hr style="border-top: 2px solid grey;">
18-
<p style="font-size: 20px;">Ops!✨ Sembra che tu abbia perso la strada nel mondo del 404.
14+
<p style="font-size: 20px;">Oops!✨ It seems like you've lost your way in the world of 404.
15+
16+
Don't worry, even errors teach us something. Take a deep breath, embrace the Zen of Python, and return to the main path with "import this".
1917

20-
Non preoccuparti, la pagina che cerchi sembra essersi nascosta per un po'. Ma non temere, ci sono ancora molte cose interessanti da scoprire qui!
21-
22-
Torna indietro e continua la tua esplorazione, potresti trovare qualcosa di sorprendente lungo il percorso!
23-
<br>
24-
Buona fortuna! 🌟🗺️</p>
18+
Keep coding, keep exploring!</p>
2519
</div>
2620
{% endblock %}

overrides/home.en.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
{{ super() }}
44

55
<header
6-
style="background-image: url('static/images/logo/web_cover.png'); background-size: cover; background-repeat: no-repeat; background-position: center center; height: 100vh;">
6+
style="background-image: url('../static/images/logo/web_cover.png'); background-size: cover; background-repeat: no-repeat; background-position: center center; height: 100vh;">
77

88
<div >
9-
<img class="homepage_logo" src="static/images/logo/website_logo.png" alt="Logo"/>
9+
<img class="homepage_logo" src="../static/images/logo/website_logo.png" alt="Logo"/>
1010
</div>
1111

12-
<div style="text-align: center; padding-top: calc(10vh);">
12+
<div class="homepage_container">
1313

1414
<p class="home_normal_text middle-content">
1515
We are a community of Python and technology enthusiasts, meeting live and online to share
@@ -24,7 +24,7 @@
2424
<div style="text-align: center; padding-top: calc(10vh);">
2525

2626
<p class="home_normal_text middle-content">
27-
Here you can find all our contacts and social channels to stay updated on our activities
27+
Here you can find all our contacts
2828
</p>
2929

3030
<div class="homepage_icons_column">
@@ -82,7 +82,7 @@
8282

8383
<div style="text-align: center; padding-top: 2rem;">
8484

85-
<a href="#benvenut" title="Home">
85+
<a href="#welcome" title="Home">
8686
<span class="twemoji homepage_icon homepage_arrow" style="width: 2rem">
8787
{% include ".icons/octicons/chevron-down-24.svg" %}
8888
</span>

overrides/home.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<img class="homepage_logo" src="static/images/logo/website_logo.png" alt="Logo"/>
1010
</div>
1111

12-
<div style="text-align: center; padding-top: calc(10vh);">
12+
<div class="homepage_container">
1313

1414
<p class="home_normal_text middle-content">
1515
Siamo una community di appassionati di Python e di tecnologia, ci incontriamo dal vivo ed online per condividere
@@ -24,7 +24,7 @@
2424
<div style="text-align: center; padding-top: calc(10vh);">
2525

2626
<p class="home_normal_text middle-content">
27-
Qui puoi trovare tutti i nostri contatti e canali social per rimanere sempre aggiornato sulle nostre attività
27+
Qui puoi trovare tutti i nostri contatti
2828
</p>
2929

3030
<div class="homepage_icons_column">

0 commit comments

Comments
 (0)