Skip to content

Commit 5d4aa7e

Browse files
author
Kátia Nakamura
authored
Merge pull request #115 from PythonBalkan/bojan_p/responsive_speakers_page
text align centered for mobile view of every detail page; social icon…
2 parents 1c09153 + 9db617d commit 5d4aa7e

File tree

2 files changed

+27
-18
lines changed

2 files changed

+27
-18
lines changed

pyconbalkan/core/static/css/components/menu.css

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,6 @@
2929
z-index: 3;
3030
}
3131

32-
.mobile-button:hover,
33-
.menu.active .mobile-button {
34-
border: 1px solid rgba(255,255,255,0.3);
35-
background-color: #28aae1;
36-
background-image: url(/static/img/close.png);
37-
background-image: url(/static/img/close.svg);
38-
}
39-
40-
.menu.active .mobile-button:hover {
41-
background-color: #ffd64f;
42-
}
43-
44-
.menu.active .menu__list {
45-
display: flex;
46-
}
47-
4832
.mobile-button {
4933
display: block;
5034
position: absolute;
@@ -63,6 +47,28 @@
6347
background-position: center;
6448
cursor: pointer;
6549
}
50+
51+
.mobile-button:hover {
52+
border: 1px solid rgba(255,255,255,0.3);
53+
background-color: #28aae1;
54+
background-image: url(/static/img/burger-menu.png);
55+
background-image: url(/static/img/burger-menu.svg);
56+
}
57+
58+
.menu.active .mobile-button {
59+
border: 1px solid rgba(255,255,255,0.3);
60+
background-color: #ffd64f;
61+
background-image: url(/static/img/close.png);
62+
background-image: url(/static/img/close.svg);
63+
}
64+
65+
.menu.active .mobile-button:hover {
66+
background-color: #ffd64f;
67+
}
68+
69+
.menu.active .menu__list {
70+
display: flex;
71+
}
6672
}
6773

6874
.menu__list {

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,12 @@
5353
.sponsor__details {
5454
text-align: center;
5555
}
56+
.speaker__details h1, .speaker__details h2 {
57+
font-size: 2rem;
58+
}
5659
}
5760

61+
5862
.speaker__image img,
5963
.organizer__image img,
6064
.sponsor__image img {
@@ -86,8 +90,7 @@
8690
.speaker__description,
8791
.organizer__description,
8892
.sponsor__description {
89-
margin-bottom: 0;
90-
text-align: justify;
93+
margin-bottom: 15px;
9194
}
9295
}
9396

0 commit comments

Comments
 (0)