elkarte/Elkarte — pull request #1329 by Spuds (2014-01-30 17:29:02+00:00)
Title: Font Sizing

We had a variety of font sizes callouts in the css, some in % some pt, and a wide variety of em. This causes additional difficulties when other font faces are used, as chrome vs fx vs others try to choose the closest pt size to em we define.

And then there is the crazy stuff, for example I've seen chrome in OSx take the .857 and round that down since .857*14 = 11.997 it picks 11 as the font, not 12, thats crazy :poop: but it does it in **some** cases.

So this attempts to standardize them ... the main callout we have creates a 14pt font, so for us 14pt = 1em. That results in the following pt size to em size table ... Many of these sizes were used (actually most callouts already adhered to this), but were they were some outliers and for those I chose the closest one to it. That means some 12.321 sized fonts are now 12 etc. So if this makes something to large or small for you, pick the next size in the table.

9 - .643
10 - .714
11 - .786
12 - .857
13 - .929
14 - 1
15 - 1.071
16 - 1.143
17 - 1.214
18 - 1.286
19 - 1.357
20 - 1.429
21 - 1.5
22 - 1.571
23 - 1.643
24 - 1.714
25 - 1.786
26 - 1.857
27 - 1.929
28 - 2
29 - 2.071