client/css: change font size declarations to em

This commit is contained in:
Michael Serajnik 2017-12-18 03:35:30 +01:00 committed by rr-
parent 26a1451ff6
commit 4ce29cf222
5 changed files with 9 additions and 11 deletions

View file

@ -123,7 +123,7 @@ $comment-border-color = #DDD
font-family: 'MS PGothic', ' ', 'IPAMonaPGothic', 'Trebuchet MS', Verdana, Futura, Arial, Helvetica, sans-serif
background: #fbfbfb
color: #111
font-size: 12pt
font-size: 1em
line-height: 1
margin: 0
padding: 4px

View file

@ -21,14 +21,12 @@ body
margin: 0
color: $text-color
font-family: 'Open Sans', sans-serif
font-size: 12pt
line-height: 18pt
font-size: 1em
line-height: 1.4
@media (max-width: 800px)
font-size: 10pt
line-height: 15pt
font-size: 0.875em
@media (max-width: 1200px)
font-size: 11pt
line-height: 16.5pt
font-size: 0.95em
h1, h2, h3
font-weight: normal

View file

@ -16,7 +16,7 @@
color: mix($text-color, $inactive-link-color)
font-size: 120%
i
font-size: 12pt
font-size: 1em
color: $inactive-link-color
float: right
line-height: 2em

View file

@ -6,7 +6,7 @@
margin-bottom: 1em
h1
line-height: initial
font-size: 30pt
font-size: 2.5em
margin: 0
.messages

View file

@ -70,7 +70,7 @@
height: 1em
text-align: center
line-height: 1em
font-size: 20pt
font-size: 1.6em
&.tagged
background: rgba(0, 230, 0, 0.7)
&:after
@ -94,7 +94,7 @@
height: 1.2em
text-align: center
line-height: 1em
font-size: 20pt
font-size: 1.6em
border: 3px solid
&.safety-safe
background-color: darken($safety-safe, 5%)