-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocs.less
More file actions
120 lines (103 loc) · 1.84 KB
/
docs.less
File metadata and controls
120 lines (103 loc) · 1.84 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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
@import "../../../src/themes/mixins/mixins";
body {
font-family: "微软雅黑" "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
color: #555;
line-height: 1.6;
}
@font-face {
font-family: 'Raleway';
font-style: normal;
font-weight: 200;
src: url(../fonts/Raleway.woff2) format('woff2');
}
@font-face {
font-family: 'PT Mono';
font-style: normal;
font-weight: 400;
src: url(../fonts/PTMono.woff2) format('woff2');
}
a {
color: #3b8bba;
cursor: pointer;
text-decoration: none;
}
.main {
position: relative;
margin-left: 220px;
top: 20px;
}
.hero {
text-align: center;
.hero-title {
padding: 0 1em;
margin: 4em auto 2em;
max-width: 768px;
color: #555;
h1 {
font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 400%;
font-weight: 100;
}
h2 {
font-weight: 100;
}
}
}
.header {
max-width: 768px;
margin: 0 auto;
padding: 1em;
text-align: center;
border-bottom: 1px solid #eee;
background: #fff;
letter-spacing: 0.05em;
h1 {
font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 300%;
font-weight: 100;
margin: 0;
}
h2 {
font-size: 125%;
font-weight: 100;
line-height: 1.5;
margin: 0;
color: #666;
letter-spacing: -0.02em;
}
}
.content {
margin: 0 auto 4em;
padding: 0 1em;
max-width: 768px;
p {
b {
margin-right: 10px;
}
em {
color: rgb(202, 60, 60);
}
}
.subhead {
margin: 2em 0 1em 0;
font-weight: 300;
color: #888;
position: relative;
}
.split {
& > div {
padding: 0 10px;
margin-bottom: 20px;
.box-sizing(border-box);
}
.prettyprint {
margin: 0;
}
}
}
@media (min-width: 768px) {
.header, .content {
padding: 1em 2em;
}
}