Remove font-size mixin (#1413)
This commit is contained in:
parent
a4dae93801
commit
4909e965c4
7 changed files with 5 additions and 28 deletions
|
@ -7,9 +7,7 @@ input[type="submit"] {
|
|||
border-radius: 3px;
|
||||
background: $color__background-button;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
|
||||
@include font-size(0.75);
|
||||
|
||||
font-size: 0.75rem;
|
||||
line-height: 1;
|
||||
padding: 0.6em 1em 0.4em;
|
||||
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
// Rem output with px fallback
|
||||
@mixin font-size($sizeValue: 1) {
|
||||
font-size: ($sizeValue * 16) * 1px;
|
||||
font-size: $sizeValue * 1rem;
|
||||
}
|
||||
|
||||
// Center block
|
||||
@mixin center-block {
|
||||
display: block;
|
||||
|
|
|
@ -19,9 +19,7 @@
|
|||
clip-path: none;
|
||||
color: $color__text-screen;
|
||||
display: block;
|
||||
|
||||
@include font-size(0.875);
|
||||
|
||||
font-size: 0.875rem;
|
||||
font-weight: 700;
|
||||
height: auto;
|
||||
left: 5px;
|
||||
|
|
|
@ -20,8 +20,7 @@ address {
|
|||
pre {
|
||||
background: $color__background-pre;
|
||||
font-family: $font__pre;
|
||||
|
||||
@include font-size(0.9375);
|
||||
font-size: 0.9375rem;
|
||||
line-height: $font__line-height-pre;
|
||||
margin-bottom: 1.6em;
|
||||
max-width: 100%;
|
||||
|
@ -34,8 +33,7 @@ kbd,
|
|||
tt,
|
||||
var {
|
||||
font-family: $font__code;
|
||||
|
||||
@include font-size(0.9375);
|
||||
font-size: 0.9375rem;
|
||||
}
|
||||
|
||||
abbr,
|
||||
|
|
|
@ -6,8 +6,7 @@ optgroup,
|
|||
textarea {
|
||||
color: $color__text-main;
|
||||
font-family: $font__main;
|
||||
|
||||
@include font-size(1);
|
||||
font-size: 1rem;
|
||||
line-height: $font__line-height-body;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue