waldyrious / primerpedia

Simplified extracts of Wikipedia articles, showing just the basic information.
https://primerpedia.toolforge.org
Other
11 stars 7 forks source link

Remove flowtype #35

Closed Jan-Ka closed 7 years ago

Jan-Ka commented 7 years ago

This resolves #27 .

The line-height calculation from flowtype cannot be replicated in pure CSS but adding the multiplication of the lineRatio did the trick to produce a quite similar output. It looks good when testing in the chrome device emulator.

Maybe using http://devinhunt.github.io/typebase.css/ or something similar would yield a better result and make it more readable at the same time?

waldyrious commented 7 years ago

FYI: I've rebased the branch on top of master before merging, so that the graph stays tidy, following the semi-linear workflow.