Authored by 梁志锋

侧边栏字体间距缩小

@@ -45,7 +45,7 @@ @@ -45,7 +45,7 @@
45 a { 45 a {
46 display: block; 46 display: block;
47 height: 100%; 47 height: 100%;
48 - padding-left: 108rem / $pxConvertRem; 48 + padding-left: 92rem / $pxConvertRem;
49 color: #444; 49 color: #444;
50 } 50 }
51 51
@@ -58,9 +58,13 @@ @@ -58,9 +58,13 @@
58 display: inline-block; 58 display: inline-block;
59 font-size: 36rem / $pxConvertRem; 59 font-size: 36rem / $pxConvertRem;
60 vertical-align: bottom; 60 vertical-align: bottom;
61 - padding-left: 1rem; 61 + padding-left: 20rem / $pxConvertRem;
62 // 此处字体小于 12px, 先扩大,再scale缩小 62 // 此处字体小于 12px, 先扩大,再scale缩小
63 @include transform(scale(0.5)); 63 @include transform(scale(0.5));
  64 +
  65 + -webkit-transform-origin: 0 50% 0;
  66 + -moz-transform-origin: 0 50% 0;
  67 + -ms-transform-origin: 0 50% 0;
64 transform-origin: 0 50% 0; 68 transform-origin: 0 50% 0;
65 } 69 }
66 70