1
0
mirror of https://github.com/Chalarangelo/mini.css.git synced 2025-09-03 10:53:23 +02:00

Implemented fluid typography

Flavors updated as needed, documentation for fluid typography added in the core module.
This commit is contained in:
Angelos Chalaris
2017-05-11 14:52:31 +03:00
parent 8b007dd20e
commit d8e6925f77
15 changed files with 107 additions and 17 deletions

15
dist/mini-dark.css vendored
View File

@@ -9,7 +9,20 @@
Browsers resets and base typography.
*/
html {
font-size: 16px;
font-size: 14px;
}
@media screen and (min-width: 256px) {
html {
font-size: 16px;
font-size: calc(14px + 2 * ((100vw - 256px) / 512));
}
}
@media screen and (min-width: 768px) {
html {
font-size: 16px;
}
}
html, * {