Remove outdated font-size mixin

This commit is contained in:
Michael Rose 2014-12-30 11:48:44 -05:00
parent b4e03f5851
commit fc4b8fa6ee
2 changed files with 1 additions and 29 deletions

View file

@ -1,7 +1,7 @@
.CodeRay { .CodeRay {
background-color: #efefef; background-color: #efefef;
font-family: $code-font; font-family: $code-font;
@include font(12); @include font-size(12);
color: #333332; color: #333332;
margin-bottom: 1.5em; margin-bottom: 1.5em;
@include rounded(4px); @include rounded(4px);

View file

@ -19,34 +19,6 @@
margin-right: auto; margin-right: auto;
} }
// TYPOGRAPHY
// --------------------------------------------------
// Full-fat vertical rhythm
// ------------------------
@mixin font-size($size) {
font-size: 0px + $size;
font-size: 0rem + $size / $doc-font-size;
line-height: 0 + round($doc-line-height / $size*10000) / 10000;
margin-bottom: 0px + $doc-line-height;
margin-bottom: 0rem + ($doc-line-height / $doc-font-size);
}
// Just the REMs
// -------------
@mixin font-rem($size) {
font-size: 0px + $size;
font-size: 0rem + $size / $doc-font-size;
}
// Just font-size and line-height
// ------------------------------
@mixin font($size) {
font-size: 0px + $size;
font-size: 0rem + $size / $doc-font-size;
line-height: 0 + round($doc-line-height / $size*10000) / 10000;
}
@mixin text-overflow() { @mixin text-overflow() {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;