Unverified Commit 23be853c authored by Sarah Otts's avatar Sarah Otts Committed by GitHub

Merge pull request #5114 from benjiwheeler/shrink-splash-image

converted images around splash video to png, smaller file size
parents 414503f3 491735b9
...@@ -8,12 +8,12 @@ ...@@ -8,12 +8,12 @@
padding: 0; padding: 0;
justify-content: space-between; justify-content: space-between;
background-color: $ui-white; background-color: $ui-white;
.intro-container { .intro-container {
min-height: 24rem; min-height: 24rem;
justify-content: space-between; justify-content: space-between;
background-color: $ui-blue; background-color: $ui-blue;
background-size: auto; background-size: 624px 325px;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: right; background-position: right;
background-image: url("/svgs/intro/background-cropped.svg"); background-image: url("/svgs/intro/background-cropped.svg");
...@@ -27,22 +27,22 @@ ...@@ -27,22 +27,22 @@
margin-left: 5%; margin-left: 5%;
min-height: 20rem; min-height: 20rem;
} }
.intro-video-container { .intro-video-container {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
flex: 0 0 29rem; flex: 0 0 29rem;
.intro-video { .intro-video {
margin-right: 4rem; margin-right: 4rem;
} }
.video-image { .video-image {
position: relative; position: relative;
cursor: pointer; cursor: pointer;
margin-right: 4rem; margin-right: 4rem;
.watch-button { .watch-button {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
font-size: 1rem; font-size: 1rem;
} }
} }
&:after { &:after {
display: block; display: block;
position: absolute; position: absolute;
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
padding: .625rem .75rem; padding: .625rem .75rem;
font-size: 1rem; font-size: 1rem;
margin-right: .75rem; margin-right: .75rem;
&.create-button:before { &.create-button:before {
display: inline-block; display: inline-block;
margin-right: .5rem; margin-right: .5rem;
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
vertical-align: -.35rem; vertical-align: -.35rem;
content: ""; content: "";
} }
&.join-button:before { &.join-button:before {
display: inline-block; display: inline-block;
margin-right: .5rem; margin-right: .5rem;
...@@ -111,11 +111,11 @@ ...@@ -111,11 +111,11 @@
content: ""; content: "";
} }
} }
.intro-subnav { .intro-subnav {
justify-content: center; justify-content: center;
background-color: $ui-blue-10percent; background-color: $ui-blue-10percent;
.subnav-button { .subnav-button {
margin: .625rem .5rem; margin: .625rem .5rem;
padding: .5rem 1.5rem; padding: .5rem 1.5rem;
...@@ -143,28 +143,28 @@ $tabletLandscape: 1024px; ...@@ -143,28 +143,28 @@ $tabletLandscape: 1024px;
@media only screen and (min-width: $mobile) and (max-width: $rowLayoutMin - 1) { @media only screen and (min-width: $mobile) and (max-width: $rowLayoutMin - 1) {
.intro-banner { .intro-banner {
justify-content: flex-start; justify-content: flex-start;
.intro-header { .intro-header {
margin-top: 1.75rem; margin-top: 1.75rem;
font-size: 1.5rem; font-size: 1.5rem;
} }
.intro-container { .intro-container {
flex-direction: column; flex-direction: column;
background-position: bottom 32px right 50%; background-position: bottom 32px right 50%;
background-size: 40rem; background-size: 40rem;
background-image: url("/svgs/intro/background.svg"); background-image: url("/svgs/intro/background.svg");
.intro-content { .intro-content {
align-items: center; align-items: center;
min-height: 8rem; min-height: 8rem;
margin: 0; margin: 0;
} }
} }
.intro-video-container { .intro-video-container {
flex: 0 0 24rem; flex: 0 0 24rem;
.video-image, .video-image,
.video-player { .video-player {
margin: 0; margin: 0;
...@@ -172,7 +172,7 @@ $tabletLandscape: 1024px; ...@@ -172,7 +172,7 @@ $tabletLandscape: 1024px;
&:after { &:after {
display: none; display: none;
} }
} }
} }
} }
...@@ -182,19 +182,19 @@ $tabletLandscape: 1024px; ...@@ -182,19 +182,19 @@ $tabletLandscape: 1024px;
.intro-subnav { .intro-subnav {
flex-direction: row; // override flexrow default flex-direction: row; // override flexrow default
} }
} }
@media only screen and (max-width: $mobile - 1) { @media only screen and (max-width: $mobile - 1) {
.intro-banner { .intro-banner {
.intro-container { .intro-container {
background-image: none; background-image: none;
.intro-content.column { .intro-content.column {
margin: auto 5%; margin: auto 5%;
align-items: center; align-items: center;
} }
.intro-header { .intro-header {
font-size: 1.5rem; font-size: 1.5rem;
} }
...@@ -203,5 +203,5 @@ $tabletLandscape: 1024px; ...@@ -203,5 +203,5 @@ $tabletLandscape: 1024px;
} }
} }
} }
} }
This diff is collapsed.
This diff is collapsed.
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