File tree Expand file tree Collapse file tree 1 file changed +23
-20
lines changed Expand file tree Collapse file tree 1 file changed +23
-20
lines changed Original file line number Diff line number Diff line change 11$size : 350px ;
22
33.splash {
4- height : $size ;
5- text-align : center ;
6- & h1 {
7- width : 100% ;
8- height : 100% ;
9- background : url (' #{$CSHPUBSITE_ASSETS_URL } /hallway_blurred.jpg' ) 30% 30% no-repeat ;
10- background-size : cover ;
11- line-height : calc (#{$size } + 50px );
12- text-align : center ;
13- color : white ;
14- font-size : 3em ;
15- vertical-align : bottom ;
16- }
4+ height : $size ;
5+ display : flex ;
6+ align-items : center ;
7+ justify-content : center ;
8+ text-align : center ;
9+ background : url (' #{$CSHPUBSITE_ASSETS_URL } /hallway_blurred.jpg' ) 30% 30% no-repeat ;
10+ background-size : cover ;
11+
12+ h1 {
13+ color : white ;
14+ font-size : 3em ;
15+ margin : 0 ;
16+ padding : 0 1rem ;
17+ max-width : 100% ;
18+ word-wrap : break-word ;
19+ }
20+
21+ @media (max-width : 992px ) {
22+ height : 400px ;
1723
18- @media (max-width : 992px ) {
19- height : 400px ;
20- & h1 {
21- font-size : 2em ;
22- line-height : 1.2 ;
23- padding-top : 50% ;
24- }
24+ h1 {
25+ font-size : 2em ;
26+ padding : 0 1rem ;
2527 }
28+ }
2629}
You can’t perform that action at this time.
0 commit comments