Skip to content

Commit 9cb35fa

Browse files
Fixed small issues with dividers and text touching the images on home page.
1 parent caa2629 commit 9cb35fa

File tree

3 files changed

+27
-15
lines changed

3 files changed

+27
-15
lines changed

_sass/about.scss

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@
7373
}
7474

7575
.about__divider {
76-
@extend .services__divider;
76+
width: 95%;
77+
margin-top: 0;
78+
margin-bottom: 0;
79+
padding-top: 1%;
80+
padding-bottom: 1%;
7781
}
7882

7983
.about__divider-right {
@@ -86,6 +90,16 @@
8690
margin-left: 0;
8791
}
8892

93+
.about__paragraph-right {
94+
text-align: right;
95+
margin-left: 5%;
96+
}
97+
98+
.about__paragraph-left {
99+
text-align: left;
100+
margin-right: 5%;
101+
}
102+
89103
.about__paragraph-dark {
90104
@extend .paragraph-dark;
91105
text-align: justify;

_sass/style.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,8 @@ section {
335335
url($background-url);
336336
}
337337

338-
339338
.upcoming-chapters-container {
340-
padding-bottom: 1em;
341-
min-height: 100vh;
339+
padding-bottom: 10em;
342340
}
343341

344342
#events img {
@@ -375,7 +373,7 @@ section {
375373
width: 100%;
376374
border-radius: 5px;
377375
border: $blue 1px solid;
378-
box-shadow: $black-shadow;
376+
//box-shadow: $black-shadow;
379377
margin-bottom: 30px;
380378
}
381379

index.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,14 @@ <h2>About us</h2>
112112
</div>
113113
<div class="first-on-mobile no-gutters__col col-md-6">
114114
<h3 class="text-right">What is a Python sprint?</h3>
115-
<hr/>
116-
<p class="text-right">
115+
<hr class="about__divider-right"/>
116+
<p class="about__paragraph-right">
117117
Open source software, including Python and most Python projects
118118
is developed as a joint effort of thousands of programmers.
119119
Programmers like each of us, that spend some time contributing
120120
bug fixes, new features, documentation, tests...
121121
</p>
122-
<p class="text-right">
122+
<p class="about__paragraph-right">
123123
A sprint is an event where open source programmers meet, and
124124
work together. Traditionally, sprints mainly happened at the
125125
end of conferences, that core developers attended. But our
@@ -131,14 +131,14 @@ <h3 class="text-right">What is a Python sprint?</h3>
131131
<div class="row">
132132
<div class="no-gutters__col col-md-6">
133133
<h3 class="text-left">Are sprints for me?</h3>
134-
<hr/>
135-
<p class="text-left">
134+
<hr class="about__divider-left"/>
135+
<p class="about__paragraph-left">
136136
Short answer: Yes. Sprints are for eveyone. Programmers new
137137
to open source are more than welcome. One of our main goals
138138
is to help people get started. In most events, we have an
139139
introduction on how to contribute to open source.
140140
</p>
141-
<p class="text-left">
141+
<p class="about__paragraph-left">
142142
Core developers and experienced contributors are also very
143143
welcome. Not only to contribute during the sprints, but also
144144
to mentor other people, and to help planning the sprints.
@@ -159,14 +159,14 @@ <h3 class="text-left">Are sprints for me?</h3>
159159
</div>
160160
<div class="first-on-mobile no-gutters__col col-md-6">
161161
<h3 class="text-right">Diversity and inclusion</h3>
162-
<hr/>
163-
<p class="text-right">
162+
<hr class="about__divider-right"/>
163+
<p class="about__paragraph-right">
164164
We are commited to a friendly and inclusive environment for
165165
everyone. Regardless of gender, sexual orientation, disability,
166166
physical appearance, body size, race, or religion.
167167
We do not tolerate any of harassment in our events.
168168
</p>
169-
<p class="text-right">
169+
<p class="about__paragraph-right">
170170
We practice inclusion policies, with the goal of creating a
171171
diverse and welcoming environment for everybody. We give
172172
priority to people from underrepresented groups for events
@@ -179,7 +179,7 @@ <h3 class="text-right">Diversity and inclusion</h3>
179179
<div class="row">
180180
<div class="no-gutters__col col-md-6">
181181
<h3 class="text-left">Contact us</h3>
182-
<hr/>
182+
<hr class="about__divider-left"/>
183183
<form class="container" method="POST" action="//formspree.io/py.sprints@gmail.com" role="form">
184184
<div class="row">
185185
<div class="col-md-6">

0 commit comments

Comments
 (0)