@@ -143,11 +143,10 @@ div#header li.nav-item > a.nav-link {
143143}
144144
145145div .scala-logo-container {
146- width : 232px ;
147- height : calc (400px + 13em );
146+ height : calc (100vh - 80px );
148147 margin : auto;
149148 position : absolute;
150- top : 0 ; right : 0 ; bottom : 0 ; left : 0 ;
149+ top : 80 px ; right : 0 ; bottom : 0 ; left : 0 ;
151150}
152151
153152div .scala-logo-container > p {
@@ -158,21 +157,25 @@ div.scala-logo-container > p {
158157}
159158
160159div .scala-logo-container > p > img {
161- width : 100% ;
162- height : auto;
160+ max-width : 100% ;
161+ height : 60% ;
162+ display : block;
163163}
164164
165165h1 # dotty {
166166 font-family : 'Source Sans Pro' , sans-serif;
167167 font-weight : 700 ;
168168 text-align : center;
169- font-size : 3.5 em ;
169+ font-size : 10 vh ;
170170 margin-top : 20px ;
171171}
172172
173173div .centered-subtitle {
174174 text-align : center;
175175 font-family : 'Source Sans Pro' , sans-serif;
176+ position : absolute;
177+ bottom : 0 ;
178+ width : 100% ;
176179}
177180
178181div .centered-subtitle > a {
@@ -183,6 +186,10 @@ div.centered-subtitle > a > i#scroll-down-arrow {
183186 font-size : 3em ;
184187}
185188
189+ div .centered-subtitle > p {
190+ font-size : 3vh ;
191+ }
192+
186193pre {
187194 background-color : # efefef ;
188195 border-radius : 4px ;
@@ -446,6 +453,10 @@ screen /* Most mobile devices */
446453and (max-device-width : 480px )
447454and (orientation : portrait)
448455,
456+ screen /* Most mobile devices, landscape */
457+ and (max-device-height : 450px )
458+ and (orientation : landscape)
459+ ,
449460only screen /* iPhone 6 */
450461and (max-device-width : 667px )
451462and (-webkit-device-pixel-ratio : 2 )
@@ -510,13 +521,12 @@ and (-webkit-device-pixel-ratio: 2)
510521 }
511522
512523 div .scala-logo-container {
513- width : 40% ;
514524 height : 84% ;
515525 top : 70px ;
516526 }
517527
518- # content > div .page . red . exactly-one-page > div . scala-logo-container > div > p {
519- font-size : 0.8 em ;
528+ div .scala-logo-container > p > img {
529+ height : 50 % ;
520530 }
521531
522532 /* Feature */
0 commit comments