Authored by 梁志锋

侧边栏字体间距缩小

... ... @@ -45,7 +45,7 @@
a {
display: block;
height: 100%;
padding-left: 108rem / $pxConvertRem;
padding-left: 92rem / $pxConvertRem;
color: #444;
}
... ... @@ -58,9 +58,13 @@
display: inline-block;
font-size: 36rem / $pxConvertRem;
vertical-align: bottom;
padding-left: 1rem;
padding-left: 20rem / $pxConvertRem;
// 此处字体小于 12px, 先扩大,再scale缩小
@include transform(scale(0.5));
-webkit-transform-origin: 0 50% 0;
-moz-transform-origin: 0 50% 0;
-ms-transform-origin: 0 50% 0;
transform-origin: 0 50% 0;
}
... ...