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:
15
dist/mini-dark.css
vendored
15
dist/mini-dark.css
vendored
@@ -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, * {
|
||||
|
Reference in New Issue
Block a user