35 lines
583 B
SCSS
35 lines
583 B
SCSS
@function px2rem($px) {
|
|
@return ($px) * 0.01rem;
|
|
}
|
|
|
|
// 默认字体大小
|
|
|
|
// 我的颜色变量
|
|
$mycolor: #00c56e;
|
|
|
|
$defaultFontSize: px2rem(18);
|
|
// 标题文字大小和颜色
|
|
$headFontSize: px2rem(36);
|
|
$headColor: #fff;
|
|
|
|
// 默认字体颜色
|
|
|
|
|
|
$baseColor: #fff;
|
|
// 选中字体颜色
|
|
$activeColor: #00E452;
|
|
|
|
|
|
|
|
// 头部两边的文字大小
|
|
$headerleftFontSize: px2rem(18);
|
|
// 头部导航文字大小
|
|
|
|
$headerNavFontSize: px2rem(20);
|
|
//
|
|
|
|
// 小标题的文字大小
|
|
$titleFontSize: px2rem(20);
|
|
|
|
$titleleftBorder: .03rem solid #00E452;
|
|
$titlebottomBorder: .01rem solid #fff; |