Commit d1285b91 authored by Karishma Chadha's avatar Karishma Chadha

Some more responsiveness fixes for intermediate size

parent ed29a391
...@@ -289,7 +289,7 @@ class AnnualReport extends React.Component { ...@@ -289,7 +289,7 @@ class AnnualReport extends React.Component {
<FormattedMessage id="annualReport.mastheadTitle" /> <FormattedMessage id="annualReport.mastheadTitle" />
</h1> </h1>
</div> </div>
<img src="/images/annual-report/message/hero-image.svg" /> <img src="/images/annual-report/message/hero-image.png" />
</FlexRow> </FlexRow>
<MediaQuery minWidth={frameless.desktop}> <MediaQuery minWidth={frameless.desktop}>
<img <img
......
...@@ -88,31 +88,46 @@ p { ...@@ -88,31 +88,46 @@ p {
font-weight: bold; font-weight: bold;
} }
.masthead-content { @media #{$big} {
max-width: 440px; .masthead-content {
text-align: left; max-width: 440px;
} text-align: left;
}
@media #{$intermediate-and-smaller} {
img { img {
width: 75%; max-width: 760px;
} }
}
@media #{$intermediate-and-smaller} {
flex-direction: column;
align-items: center;
.masthead-year { .masthead-year {
text-align: center; text-align: center;
} }
}
@media #{$medium-and-smaller} {
.masthead-content { .masthead-content {
text-align: center; text-align: center;
} }
} }
@media #{$intermediate} {
.masthead-content, img {
max-width: 620px;
}
}
@media #{$medium} {
.masthead-content, img {
max-width: 460px;
}
}
@media #{$small} { @media #{$small} {
.masthead-content { .masthead-content, img {
max-width: 300px; max-width: 300px;
} }
} }
} }
...@@ -1045,7 +1060,7 @@ p { ...@@ -1045,7 +1060,7 @@ p {
align-items: flex-start; align-items: flex-start;
text-align: left; text-align: left;
@media #{$medium-and-smaller} { @media #{$intermediate-and-smaller} {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
} }
...@@ -1058,6 +1073,10 @@ p { ...@@ -1058,6 +1073,10 @@ p {
@media #{$medium-and-smaller} { @media #{$medium-and-smaller} {
margin: 0px 0px 20px 0px; margin: 0px 0px 20px 0px;
} }
@media #{$intermediate} {
width: 620px;
}
@media #{$medium} { @media #{$medium} {
width: 460px; width: 460px;
...@@ -1073,6 +1092,10 @@ p { ...@@ -1073,6 +1092,10 @@ p {
align-self: center; align-self: center;
max-width: 780px; max-width: 780px;
@media #{$intermediate} {
width: 620px;
}
@media #{$medium} { @media #{$medium} {
width: 460px; width: 460px;
} }
...@@ -1310,6 +1333,12 @@ p { ...@@ -1310,6 +1333,12 @@ p {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
@media #{$intermediate} {
img {
max-width: 300px;
}
}
@media #{$small} { @media #{$small} {
img { img {
max-width: 300px; max-width: 300px;
......
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