article#m-jumbo {
margin-top: -1rem;
}
-article#m-jumbo > header #m-jumbo-image {
- font-size: 2.5vh;
- height: 60vh;
- margin-bottom: 1rem;
-}
#m-landing-cover, #m-cover-image > div, article#m-jumbo > header #m-jumbo-cover {
background: linear-gradient(transparent 0%, transparent 50%, var(--background-color) 100%);
width: 100%;
text-align: center;
font-weight: bold;
}
+article#m-jumbo > header a {
+ text-decoration: none;
+}
+article#m-jumbo > header #m-jumbo-cover {
+ padding-bottom: 5rem;
+}
+article#m-jumbo > header #m-jumbo-image {
+ font-size: 2.5vmin;
+ margin-bottom: -3rem;
+}
article#m-jumbo > header h1 {
- font-size: 10vh;
+ font-size: 10vmin;
}
article#m-jumbo > header h2 {
- font-size: 3vh;
+ font-size: 3vmin;
}
-article#m-jumbo > header a {
- text-decoration: none;
+/* 2.5vmin equals to 16px (= 1 rem) on 640px, use that as the lower limit */
+@media screen and (max-height: 640px) , screen and (max-width: 640px) {
+ article#m-jumbo > header h1 {
+ font-size: 3rem;
+ }
+ article#m-jumbo > header #m-jumbo-image, article#m-jumbo > header h2 {
+ font-size: 1rem;
+ }
}
article#m-jumbo > header, article#m-jumbo > header h1, article#m-jumbo > header a {