Fixed generic-header font on mobile devices

This commit is contained in:
ahmadbilalkhalid 2020-01-20 21:49:13 +05:00
parent bf70ecff18
commit bd53373020

View file

@ -1,3 +1,7 @@
:root {
font-size: 16px;
}
.blue-bg { .blue-bg {
background-color: #40a9e3; background-color: #40a9e3;
} }
@ -17,7 +21,13 @@
h1.generic-header { h1.generic-header {
line-height: 6rem; line-height: 6rem;
text-transform: uppercase;
font-size: 7rem; font-size: 7rem;
text-transform: uppercase;
} }
@media only screen and (max-width: 1068px){
h1.generic-header {
font-size: 10vw;
line-height: 12vw;
}
}