Skip to content

Commit 4c7170a

Browse files
committed
Mobile styles.
1 parent f5f24af commit 4c7170a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

frontend/src/pages/About.less

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '../style/variables.less';
2+
13
.About {
24
max-width: 780px;
35
margin: 0 auto;
@@ -8,6 +10,10 @@
810
padding-bottom: 5rem;
911
border-bottom: 1px solid rgba(#000, 0.1);
1012

13+
@media @md-query {
14+
flex-direction: column;
15+
}
16+
1117
&:last-child {
1218
border: none;
1319
}
@@ -21,6 +27,13 @@
2127
text-align: right;
2228
padding-right: 5rem;
2329
opacity: 0.5;
30+
31+
@media @md-query {
32+
width: auto;
33+
padding-right: 0;
34+
padding-bottom: 2rem;
35+
text-align: center;
36+
}
2437
}
2538

2639
&-content {
@@ -33,6 +46,11 @@
3346
margin-left: -15rem;
3447
display: flex;
3548
z-index: 1;
49+
50+
@media @md-query {
51+
margin: 0;
52+
flex-direction: column;
53+
}
3654
}
3755
}
3856
}
@@ -47,6 +65,10 @@
4765
flex: 1;
4866
padding: 1rem;
4967

68+
@media @md-query {
69+
margin-bottom: 2rem;
70+
}
71+
5072
&-image {
5173
width: 12rem;
5274
height: 12rem;
@@ -61,6 +83,7 @@
6183

6284
&-blurb {
6385
font-size: 1.2rem;
86+
line-height: 1.4;
6487
opacity: 0.7;
6588
margin-bottom: 1rem;
6689
min-height: 70px;

0 commit comments

Comments
 (0)