_var.scss
1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/**
* ------------------------------------------------------------------
* Sass 变量
*
* ------------------------------------------------------------------
*
*/
$contentWidth:1200px;
$borderRadiusSmall:5px;
$borderRadius:8px;
// Margin
$marginSmallHalf: 5px; // 小间距的一半
$marginSmall: 10px; // 小间距
$marginMedium: 28px; // 间距
// $marginLarge: 28px;
// Padding
$paddingSmall: 10px;
$paddingMedium: 28px;
// Font
$fontSizeTitle:16px;
$fontSize:14px;
$fontSizeSmall:12px;
$fontSizeTitle-M:17px;
$fontSize-M:14px;
$fontSizeSmall-M:12px;
$fontSizeTitle-M2:24px;
$fontSize-M2:20px;
$fontSizeSmall-M2:16px;
// Color
$cOrange:#f05a23;
$cFontGray: #4c4948;
$cGreen:#006441;
$cGray:#bfbfbf;
$cGray2:#494949;
$cDark:#dcdcdc;
$cLightBlack:#606266;
$cDisabled:#888888;
$cOrange2:#ff6839;
$cFontGray2: #58595b;
$cFontGray3: #666666;
// 文章宽度
$articleWidth:1040px;
$articleTitleLarge:36.5px;
$articleStrong:24px;
$articleNormal:22px;
$articleSmall:18px;
// 移动端
$marginSmall-M: 10px; // 小间距
$marginMedium-M: 20px; // 间距
// $marginLarge: 28px;
// $navHeight-M:90px; // 移动端顶栏高度
$navHeight-M:72px; // 移动端顶栏高度