mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 19:48:11 +00:00
responsive font size
This commit is contained in:
@@ -35,5 +35,13 @@ export default defineComponent({
|
|||||||
color: $textColor;
|
color: $textColor;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
padding: 1em 0.5em;
|
padding: 1em 0.5em;
|
||||||
|
|
||||||
|
@media screen and (max-width: $breakpointMd) {
|
||||||
|
font-size: calc(0.7rem + 0.75vw);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (orientation: landscape) and (max-width: $breakpointMd) {
|
||||||
|
font-size: calc(0.75rem + 0.4vw);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user