Skip to content

Commit

Permalink
Use px units in the font specimens
Browse files Browse the repository at this point in the history
Point values (pt) are appropriate only for print-based applications. Point values are subject to variations in sizes depending on the browser (see: https://css-tricks.com/css-font-size/ )

Pixel values (px) have better accuracy across different browsers and are more appropriate for web-based applications. I modified the font sizes to use the px units.
  • Loading branch information
phoenixenero committed Dec 3, 2015
1 parent 8cc7830 commit 1cac759
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions _layouts/font.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ <h6 data-desc="h6" contenteditable>Kiwi jam overfilled gaps in the quartz crysta
</article>
<article class="paragraphs">
<span class="section">Paragraphs</span>
<p data-desc="p @ 16pt" style="font-size: 16pt" contenteditable>One morning, as Gregor Samsa was waking up from anxious dreams, he discovered that in his bed he had been changed into a monstrous verminous bug. He lay on his armour-hard back and saw, as he lifted his head up a little, his brown, arched abdomen divided up into rigid bow-like sections. From this height the blanket, just about ready to slide off completely, could hardly stay in place. His numerous legs, pitifully thin in comparison to the rest of his circumference, flickered helplessly before his eyes.</p>
<p data-desc="p @ 14pt" style="font-size: 14pt" contenteditable>One morning, as Gregor Samsa was waking up from anxious dreams, he discovered that in his bed he had been changed into a monstrous verminous bug. He lay on his armour-hard back and saw, as he lifted his head up a little, his brown, arched abdomen divided up into rigid bow-like sections. From this height the blanket, just about ready to slide off completely, could hardly stay in place. His numerous legs, pitifully thin in comparison to the rest of his circumference, flickered helplessly before his eyes.</p>
<p data-desc="p @ 12pt" style="font-size: 12pt" contenteditable>One morning, as Gregor Samsa was waking up from anxious dreams, he discovered that in his bed he had been changed into a monstrous verminous bug. He lay on his armour-hard back and saw, as he lifted his head up a little, his brown, arched abdomen divided up into rigid bow-like sections. From this height the blanket, just about ready to slide off completely, could hardly stay in place. His numerous legs, pitifully thin in comparison to the rest of his circumference, flickered helplessly before his eyes.</p>
<p data-desc="p @ 10pt" style="font-size: 10pt" contenteditable>One morning, as Gregor Samsa was waking up from anxious dreams, he discovered that in his bed he had been changed into a monstrous verminous bug. He lay on his armour-hard back and saw, as he lifted his head up a little, his brown, arched abdomen divided up into rigid bow-like sections. From this height the blanket, just about ready to slide off completely, could hardly stay in place. His numerous legs, pitifully thin in comparison to the rest of his circumference, flickered helplessly before his eyes.</p>
<p data-desc="p @ 21px" style="font-size: 21px" contenteditable>One morning, as Gregor Samsa was waking up from anxious dreams, he discovered that in his bed he had been changed into a monstrous verminous bug. He lay on his armour-hard back and saw, as he lifted his head up a little, his brown, arched abdomen divided up into rigid bow-like sections. From this height the blanket, just about ready to slide off completely, could hardly stay in place. His numerous legs, pitifully thin in comparison to the rest of his circumference, flickered helplessly before his eyes.</p>
<p data-desc="p @ 18px" style="font-size: 18px" contenteditable>One morning, as Gregor Samsa was waking up from anxious dreams, he discovered that in his bed he had been changed into a monstrous verminous bug. He lay on his armour-hard back and saw, as he lifted his head up a little, his brown, arched abdomen divided up into rigid bow-like sections. From this height the blanket, just about ready to slide off completely, could hardly stay in place. His numerous legs, pitifully thin in comparison to the rest of his circumference, flickered helplessly before his eyes.</p>
<p data-desc="p @ 16px" style="font-size: 16px" contenteditable>One morning, as Gregor Samsa was waking up from anxious dreams, he discovered that in his bed he had been changed into a monstrous verminous bug. He lay on his armour-hard back and saw, as he lifted his head up a little, his brown, arched abdomen divided up into rigid bow-like sections. From this height the blanket, just about ready to slide off completely, could hardly stay in place. His numerous legs, pitifully thin in comparison to the rest of his circumference, flickered helplessly before his eyes.</p>
<p data-desc="p @ 14px" style="font-size: 14px" contenteditable>One morning, as Gregor Samsa was waking up from anxious dreams, he discovered that in his bed he had been changed into a monstrous verminous bug. He lay on his armour-hard back and saw, as he lifted his head up a little, his brown, arched abdomen divided up into rigid bow-like sections. From this height the blanket, just about ready to slide off completely, could hardly stay in place. His numerous legs, pitifully thin in comparison to the rest of his circumference, flickered helplessly before his eyes.</p>
</article>
</section>
</section>

0 comments on commit 1cac759

Please sign in to comment.