Skip to content

Commit 1ab10f3

Browse files
committed
Fix contact responsible styling and update styles for title and cards
1 parent 32acad6 commit 1ab10f3

3 files changed

Lines changed: 18 additions & 17 deletions

File tree

_sass/base.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,10 @@ ul, ol { margin-left: 0; }
215215
}
216216

217217
.page-title {
218-
font-size: 25px;
218+
font-size: 20px;
219219
margin-bottom: 30px;
220220
}
221+
.block-cera-title { font-size: 20px; }
221222

222223
.block-inria-title,.block-fixel-title {
223224
font-size: 18px;

_sass/contacts.scss

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@
66
box-shadow: 0px 2px 10px 10px rgba(23, 19, 43, 0.10);
77
padding-bottom: 200px;
88

9+
&__form {
10+
display: flex;
11+
justify-content: center;
12+
flex-direction: column;
13+
align-items: center;
14+
margin: 0 auto;
15+
max-width: 600px;
16+
}
17+
918
&__field {
1019
border: none;
1120
border-radius: 30px;
@@ -21,11 +30,11 @@
2130
outline: none;
2231
padding: 0 30px;
2332
text-align: justify;
24-
width: 540px;
33+
width: calc(100% - 60px);
2534
&::placeholder { border-bottom: 1px solid rgba($black_sea, .15); }
2635

2736
&--select {
28-
width: 600px;
37+
width: 100%;
2938
font-family: "FixelText-Regular", serif;
3039
-webkit-appearance: none;
3140
-moz-appearance: none;
@@ -37,7 +46,6 @@
3746
height: 60px;
3847
border: none;
3948
max-width: 600px;
40-
min-width: 320px
4149
}
4250

4351
&__form-group {
@@ -46,7 +54,7 @@
4654
flex-direction: column;
4755
justify-content: center;
4856
margin: 0 auto 25px auto;
49-
max-width: 600px;
57+
width: 100%;
5058
}
5159

5260
&__form-label {
@@ -83,15 +91,14 @@
8391

8492
&__to-faq {
8593
display: inline-block;
86-
max-height: 30px;
94+
height: unset;
8795
margin-top: 20px;
8896
font: italic 14px/2 'FixelText-Regular', serif;
8997
text-align: center;
98+
width: calc(100% - 60px);
9099
}
91100

92101
textarea {
93-
max-width: 600px;
94-
min-width: 320px;
95102
width: 100%;
96103
box-sizing: border-box;
97104
padding-top: 17px;
@@ -110,19 +117,12 @@
110117
@media (max-width: 767px) {
111118
.contacts {
112119
padding-bottom: 250px;
113-
&__form-group { max-width: 300px; }
114120
&__form-label { font-size: 12px; }
115121
&__form-select::before { top: 45px; }
116122

117-
&__field {
118-
width: 260px;
119-
&--select { width: 300px; }
120-
}
121-
&__submit-btn { width: 300px; }
122-
123123
&__to-faq {
124124
padding: 0;
125-
width: 310px;
125+
width: 100%;
126126
}
127127
}
128128

about/team.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ <h2 class="message inria-bold">{{ site.data.team.important_things.title }}</h2>
5555
</div>
5656
<div class="list-with-images__item-text">
5757
<p class="message inria-bold mb-0 mt-2">{{ item.title }}</p>
58-
<p class="description">{{ item.description }}</p>
58+
<p class="description text-center">{{ item.description }}</p>
5959
</div>
6060
</div>
6161
{% endfor %}

0 commit comments

Comments
 (0)