Commit 2f119961 authored by seotts's avatar seotts Committed by Karishma Chadha

work on making reach and tools responsive

parent ce6442b3
...@@ -486,7 +486,7 @@ p { ...@@ -486,7 +486,7 @@ p {
.reach-numbers { .reach-numbers {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-between; justify-content: space-around;
} }
} }
...@@ -518,15 +518,16 @@ p { ...@@ -518,15 +518,16 @@ p {
.map-inner { .map-inner {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
} }
.reach-map { .reach-map {
width: 1064px; width: 1064px;
background-color: $ui-white; background-color: $ui-white;
border-radius: 6px; border-radius: 6px;
color: $type-gray; color: $type-gray;
padding-top: 48px; padding-top: 48px;
margin: 52px 0; margin-top: 52px;
text-align: center; text-align: center;
...@@ -566,19 +567,53 @@ p { ...@@ -566,19 +567,53 @@ p {
margin-top: 20px; margin-top: 20px;
margin-left: 0px; margin-left: 0px;
} }
@media #{$intermediate-and-smaller} {
.inner {
max-width: 620px;
}
.reach-translation {
text-align: left;
img {
width: 300px;
}
}
}
@media #{$medium-and-smaller} {
.reach-translation {
text-align: center;
justify-content: center;
}
}
} }
.reach-datapoint { .reach-datapoint {
font-size: 5rem; font-size: 5rem;
width: 300px; width: 220px;
text-align: center; text-align: center;
margin: 32px 0; margin: 32px 0;
}
.million { .million {
font-size: 2rem; font-size: 2rem;
font-weight: bold; font-weight: bold;
margin-bottom: 16px; margin-bottom: 16px;
}
@media #{$small} {
font-size: 2.75rem;
width: 140px;
.million {
font-size: 1.5rem;
}
h4 {
font-size: 1rem;
line-height: 1.125rem;
}
}
} }
.reach-scratch-jr { .reach-scratch-jr {
...@@ -594,6 +629,7 @@ p { ...@@ -594,6 +629,7 @@ p {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
flex-wrap: wrap;
max-width: 940px; max-width: 940px;
} }
...@@ -603,6 +639,28 @@ p { ...@@ -603,6 +639,28 @@ p {
font-size: 1.25rem; font-size: 1.25rem;
} }
} }
@media #{$intermediate-and-smaller} {
.inner {
max-width: 620px;
}
.scratch-jr-intro {
text-align: left;
width: 300px;
}
}
@media #{$medium-and-smaller} {
.inner {
justify-content: center;
}
.scratch-jr-intro {
text-align: center;
width: 100%;
}
}
} }
.initiatives-section { .initiatives-section {
...@@ -716,7 +774,7 @@ p { ...@@ -716,7 +774,7 @@ p {
width: 248px; width: 248px;
} }
@media #{$small} { @media #{$small} {
width: 132px; width: 160px;
} }
} }
...@@ -756,8 +814,10 @@ p { ...@@ -756,8 +814,10 @@ p {
.tools-extension { .tools-extension {
width: 380px; width: 380px;
text-align: center; text-align: center;
display: flex;
flex-direction: column;
align-items: center;
} }
.tools-stats { .tools-stats {
...@@ -900,7 +960,7 @@ p { ...@@ -900,7 +960,7 @@ p {
img { img {
order: -1; order: -1;
width: 460px; width: 100%;
} }
div { div {
...@@ -995,6 +1055,26 @@ p { ...@@ -995,6 +1055,26 @@ p {
text-align: left; text-align: left;
} }
} }
@media #{$small} {
.tools-abhi-intro {
width: 100%;
text-align: left;
img {
width: 100%;
}
h2 {
line-height: 2.5rem;
}
}
.abhi-quote {
width: 100%;
padding: 0;
}
}
} }
.initiatives-community { .initiatives-community {
...@@ -1258,6 +1338,10 @@ p { ...@@ -1258,6 +1338,10 @@ p {
&.abhi { &.abhi {
background-image: url("/images/annual-report/initiatives/Abhi Video Splash.svg"); background-image: url("/images/annual-report/initiatives/Abhi Video Splash.svg");
.button {
background-color: $ui-aqua;
}
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment