1- /* *
2- * Author: Sivan [[email protected] ] 3- * Description: define variables, alias etc.
4- */
1+ // Author: Sivan [[email protected] ]2+ // Description: define variables, alias etc.
53
64// 定义赫蹏根 class 名
75$root-selector : ' .heti' !default ;
86
9- /* 字体 Fonts */
7+ // 字体 Fonts
108// 字体栈 Font Stacks
119$_font-stack-sans : " Helvetica Neue" , Helvetica , Arial !default ;
1210$_font-stack-serif : " Times New Roman" , Times !default ;
@@ -42,7 +40,7 @@ $font-size-h4: 18px !default;
4240$font-size-h5 : 16px !default ;
4341$font-size-h6 : 14px !default ;
4442
45- /* 行 Lines */
43+ // 行 Lines
4644// 行宽
4745$line-length : 42em !default ;
4846
@@ -65,7 +63,7 @@ $line-height-size-h4: 24px !default;
6563$line-height-size-h5 : 24px !default ;
6664$line-height-size-h6 : 24px !default ;
6765
68- /* 段落 Paragraphs */
66+ // 段落 Paragraphs
6967// 标准网格单位变量 Standard Length
7068// 垂直方向标准单位 = 标准行高
7169// 水平方向标准单位 = 标准字号
@@ -76,18 +74,18 @@ $std-inline-unit: $font-size-normal !default;
7674$text-indent-length : 2em !default ;
7775$text-indent-size : $font-size-normal * 2 !default ;
7876
79- /* 栏 Columns */
77+ // 栏 Columns
8078// 分栏
8179$column-count-list : (1 , 2 , 3 , 4 ) !default ;
8280$column-width-list : (16em , 20em , 24em , 28em , 32em , 36em , 40em , 44em , 48em ) !default ;
8381
84- /* 开发用配置项 Develop Configs */
85- // 预设重置方案
86- // `reset`:假定 Eric Meyer 的 CSS Reset 或其它流行的 Reset
87- // `normalize`:指定为 normalize.css
82+ // 开发用配置项 Develop Configs
83+ /// 预设重置方案
84+ /// `reset`:假定 Eric Meyer 的 CSS Reset 或其它流行的 Reset
85+ /// `normalize`:指定为 normalize.css
8886$_css-reset-scheme : " reset" ;
8987
90- /* 混合 Mix-ins */
88+ // 混合 Mix-ins
9189// Mix-in: Clear float
9290@mixin clear-float {
9391 & ::before ,
@@ -116,7 +114,7 @@ $_css-reset-scheme: "reset";
116114 text-indent : 0 ;
117115}
118116
119- /* 函数 Functions */
117+ // 函数 Functions
120118// Function: batch prefix/suffix list-item
121119// batch-fix-list((2, 3), '#{$root-selector}--columns-') => (.heti--columns-2, .heti--columns-3)
122120@function batch-fix-list ($list , $prefix : ' ' , $suffix : ' ' ) {
0 commit comments