forked from alibaba-fusion/next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.scss
97 lines (79 loc) · 1.97 KB
/
main.scss
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
@import "../core/index-noreset.scss";
@import "scss/variable.scss";
#{$typography-prefix} {
color: $typography-text-color;
&-title {
font-weight: $typography-title-font-weight;
margin-bottom: .5em;
}
& + &-title {
margin-top: 1.2em;
}
&-paragraph {
color: $typography-text-color;
margin-bottom: 1em;
font-size: $typography-paragraph-font-size;
line-height: $typography-paragraph-line-height;
}
mark {
padding: 0;
background: $typography-text-mark-background;
color: $typography-text-mark-color;
}
strong {
font-weight: $typography-text-strong-font-weight;
}
code {
background-color: $typography-text-code-background;
color: $typography-text-code-color;
border: 1px solid $typography-text-code-border-color;
margin: 0 .2em;
padding: .2em .4em .1em;
font-size: 85%;
border-radius: $typography-text-code-corner;
}
ul,
ol {
margin: 0 0 1em 0;
padding: 0;
}
li {
list-style-type: circle;
margin: 0 0 0 20px;
padding: 0 0 0 4px;
}
a {
text-decoration: none;
&:link {
color: $color-link-1;
}
&:visited {
color: $color-link-2;
}
&:hover {
color: $color-link-3;
}
&:active {
text-decoration: underline;
color: $color-link-3;
}
}
}
h1#{$typography-prefix}-title {
font-size: $typography-title-h1-font-size;
}
h2#{$typography-prefix}-title {
font-size: $typography-title-h2-font-size;
}
h3#{$typography-prefix}-title {
font-size: $typography-title-h3-font-size;
}
h4#{$typography-prefix}-title {
font-size: $typography-title-h4-font-size;
}
h5#{$typography-prefix}-title {
font-size: $typography-title-h5-font-size;
}
h6#{$typography-prefix}-title {
font-size: $typography-title-h6-font-size;
}