Skip to content

Commit ef3a049

Browse files
author
Kátia Nakamura
authored
Merge pull request #113 from halitguvenilir/halit-dev
Page style mobile screen width problem fixed and sponsor, speaker and cfp spacing problem fixed
2 parents 07b346c + 8b9f49c commit ef3a049

File tree

3 files changed

+37
-13
lines changed

3 files changed

+37
-13
lines changed

pyconbalkan/core/static/css/components/page.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
@media (max-width: 1280px) {
1212
.page__content {
13-
width: 70%;
13+
width: 90%;
1414
height: auto;
1515
padding: 40px 0;
1616
margin: 0 auto;
@@ -22,6 +22,13 @@
2222
margin-right: 80px;
2323
}
2424

25+
@media (max-width: 1024px) {
26+
27+
.column {
28+
margin-right: 0;
29+
}
30+
}
31+
2532
.column:nth-of-type(2) {
2633
margin-right: 0;
2734
}
@@ -52,7 +59,7 @@
5259
margin-left: 0;
5360
margin-bottom: 20px;
5461
}
55-
62+
5663
.column ul li {
5764
padding-left: 0px;
5865
}

pyconbalkan/core/static/css/components/person.css

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
.sponsor {
99
display: flex;
1010
flex-flow: row wrap;
11-
justify-content: flex-start;
12-
align-content: flex-start;
11+
align-items: center;
12+
justify-content: center;
1313
}
1414

1515
@media (max-width: 1024px) {
@@ -32,12 +32,28 @@
3232
overflow: hidden;
3333
}
3434

35+
@media (max-width: 1024px) {
36+
.speaker__image,
37+
.organizer__image,
38+
.sponsor__image {
39+
margin: 0;
40+
}
41+
}
42+
3543
.speaker__details,
3644
.organizer__details,
3745
.sponsor__details {
3846
flex: 1;
3947
}
4048

49+
@media (max-width: 1024px) {
50+
.speaker__details,
51+
.organizer__details,
52+
.sponsor__details {
53+
text-align: justify;
54+
}
55+
}
56+
4157
.speaker__image img,
4258
.organizer__image img,
4359
.sponsor__image img {
@@ -62,7 +78,15 @@
6278
.speaker__description,
6379
.organizer__description,
6480
.sponsor__description {
65-
margin-bottom: 20px;
81+
margin-bottom: 20px;
82+
}
83+
84+
@media (max-width: 1024px) {
85+
.speaker__description,
86+
.organizer__description,
87+
.sponsor__description {
88+
margin-bottom: 0;
89+
}
6690
}
6791

6892
.social__links {

pyconbalkan/core/static/css/components/sponsors.css

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
}
2121

2222
.keynote-item {
23-
position: relative;
23+
position: relative;
2424
}
2525

2626
.sponsor-list {
@@ -35,13 +35,6 @@
3535
color: #F3D66C;
3636
}
3737

38-
@media (max-width: 1024px) {
39-
.sponsor {
40-
width: 350px;
41-
height: 300px;
42-
}
43-
}
44-
4538
.sponsor img {
4639
display: block;
4740
object-fit: cover;

0 commit comments

Comments
 (0)