Replace px font-size with relative units (em and rem)

This commit is contained in:
Michael Rose
2016-03-30 16:59:48 -04:00
parent 570864dfb8
commit 045c7db1dd
18 changed files with 104 additions and 98 deletions

View File

@ -13,9 +13,8 @@
padding: 0.5em 1em;
color: #fff !important;
font-family: $sans-serif;
font-size: 14px;
font-size: $type-size-6;
font-weight: bold;
line-height: 1.5;
text-align: center;
text-decoration: none;
background-color: $primary-color;
@ -137,24 +136,18 @@
/* extra large button */
&--x-large {
font-size: 24px;
font-size: $type-size-3;
}
/* large button */
&--large {
font-size: 18px;
font-size: $type-size-4;
}
/* small button */
&--small {
font-size: 12px;
}
/* extra small button */
&--x-small {
font-size: 10px;
font-weight: normal;
font-size: $type-size-7;
}
}