Replace px font-size with relative units (em and rem)
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user