Skip to content

Commit 2fd5ab8

Browse files
committed
加载项目基础资源
1 parent a356c92 commit 2fd5ab8

23 files changed

+2953
-30
lines changed

src/App.vue

-23
This file was deleted.

src/assets/advanced-swift-cover.png

27.1 KB
Loading

src/assets/advanced-swift-header.png

150 KB
Loading

src/assets/core-data-cover.png

28.8 KB
Loading

src/assets/core-data-header.png

207 KB
Loading

src/assets/functional-swift-cover.png

29.8 KB
Loading
185 KB
Loading

src/assets/swifter-tips-cover.png

56.5 KB
Loading

src/assets/swifter-tips-header.png

133 KB
Loading

src/fonts/demo.css

+370
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,370 @@
1+
*{margin: 0;padding: 0;list-style: none;}
2+
/*
3+
KISSY CSS Reset
4+
理念:1. reset 的目的不是清除浏览器的默认样式,这仅是部分工作。清除和重置是紧密不可分的。
5+
2. reset 的目的不是让默认样式在所有浏览器下一致,而是减少默认样式有可能带来的问题。
6+
3. reset 期望提供一套普适通用的基础样式。但没有银弹,推荐根据具体需求,裁剪和修改后再使用。
7+
特色:1. 适应中文;2. 基于最新主流浏览器。
8+
维护:玉伯<[email protected]>, 正淳<[email protected]>
9+
*/
10+
11+
/** 清除内外边距 **/
12+
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, /* structural elements 结构元素 */
13+
dl, dt, dd, ul, ol, li, /* list elements 列表元素 */
14+
pre, /* text formatting elements 文本格式元素 */
15+
form, fieldset, legend, button, input, textarea, /* form elements 表单元素 */
16+
th, td /* table elements 表格元素 */ {
17+
margin: 0;
18+
padding: 0;
19+
}
20+
21+
/** 设置默认字体 **/
22+
body,
23+
button, input, select, textarea /* for ie */ {
24+
font: 12px/1.5 tahoma, arial, \5b8b\4f53, sans-serif;
25+
}
26+
h1, h2, h3, h4, h5, h6 { font-size: 100%; }
27+
address, cite, dfn, em, var { font-style: normal; } /* 将斜体扶正 */
28+
code, kbd, pre, samp { font-family: courier new, courier, monospace; } /* 统一等宽字体 */
29+
small { font-size: 12px; } /* 小于 12px 的中文很难阅读,让 small 正常化 */
30+
31+
/** 重置列表元素 **/
32+
ul, ol { list-style: none; }
33+
34+
/** 重置文本格式元素 **/
35+
a { text-decoration: none; }
36+
a:hover { text-decoration: underline; }
37+
38+
39+
/** 重置表单元素 **/
40+
legend { color: #000; } /* for ie6 */
41+
fieldset, img { border: 0; } /* img 搭车:让链接里的 img 无边框 */
42+
button, input, select, textarea { font-size: 100%; } /* 使得表单元素在 ie 下能继承字体大小 */
43+
/* 注:optgroup 无法扶正 */
44+
45+
/** 重置表格元素 **/
46+
table { border-collapse: collapse; border-spacing: 0; }
47+
48+
/* 清除浮动 */
49+
.ks-clear:after, .clear:after {
50+
content: '\20';
51+
display: block;
52+
height: 0;
53+
clear: both;
54+
}
55+
.ks-clear, .clear {
56+
*zoom: 1;
57+
}
58+
59+
.main {
60+
padding: 30px 100px;
61+
width: 960px;
62+
margin: 0 auto;
63+
}
64+
.main h1{font-size:36px; color:#333; text-align:left;margin-bottom:30px; border-bottom: 1px solid #eee;}
65+
66+
.helps{margin-top:40px;}
67+
.helps pre{
68+
padding:20px;
69+
margin:10px 0;
70+
border:solid 1px #e7e1cd;
71+
background-color: #fffdef;
72+
overflow: auto;
73+
}
74+
75+
.icon_lists{
76+
width: 100% !important;
77+
78+
}
79+
80+
.icon_lists li{
81+
float:left;
82+
width: 100px;
83+
height:180px;
84+
text-align: center;
85+
list-style: none !important;
86+
}
87+
.icon_lists .icon{
88+
font-size: 42px;
89+
line-height: 100px;
90+
margin: 10px 0;
91+
color:#333;
92+
-webkit-transition: font-size 0.25s ease-out 0s;
93+
-moz-transition: font-size 0.25s ease-out 0s;
94+
transition: font-size 0.25s ease-out 0s;
95+
96+
}
97+
.icon_lists .icon:hover{
98+
font-size: 100px;
99+
}
100+
101+
102+
103+
.markdown {
104+
color: #666;
105+
font-size: 14px;
106+
line-height: 1.8;
107+
}
108+
109+
.highlight {
110+
line-height: 1.5;
111+
}
112+
113+
.markdown img {
114+
vertical-align: middle;
115+
max-width: 100%;
116+
}
117+
118+
.markdown h1 {
119+
color: #404040;
120+
font-weight: 500;
121+
line-height: 40px;
122+
margin-bottom: 24px;
123+
}
124+
125+
.markdown h2,
126+
.markdown h3,
127+
.markdown h4,
128+
.markdown h5,
129+
.markdown h6 {
130+
color: #404040;
131+
margin: 1.6em 0 0.6em 0;
132+
font-weight: 500;
133+
clear: both;
134+
}
135+
136+
.markdown h1 {
137+
font-size: 28px;
138+
}
139+
140+
.markdown h2 {
141+
font-size: 22px;
142+
}
143+
144+
.markdown h3 {
145+
font-size: 16px;
146+
}
147+
148+
.markdown h4 {
149+
font-size: 14px;
150+
}
151+
152+
.markdown h5 {
153+
font-size: 12px;
154+
}
155+
156+
.markdown h6 {
157+
font-size: 12px;
158+
}
159+
160+
.markdown hr {
161+
height: 1px;
162+
border: 0;
163+
background: #e9e9e9;
164+
margin: 16px 0;
165+
clear: both;
166+
}
167+
168+
.markdown p,
169+
.markdown pre {
170+
margin: 1em 0;
171+
}
172+
173+
.markdown > p,
174+
.markdown > blockquote,
175+
.markdown > .highlight,
176+
.markdown > ol,
177+
.markdown > ul {
178+
width: 80%;
179+
}
180+
181+
.markdown ul > li {
182+
list-style: circle;
183+
}
184+
185+
.markdown > ul li,
186+
.markdown blockquote ul > li {
187+
margin-left: 20px;
188+
padding-left: 4px;
189+
}
190+
191+
.markdown > ul li p,
192+
.markdown > ol li p {
193+
margin: 0.6em 0;
194+
}
195+
196+
.markdown ol > li {
197+
list-style: decimal;
198+
}
199+
200+
.markdown > ol li,
201+
.markdown blockquote ol > li {
202+
margin-left: 20px;
203+
padding-left: 4px;
204+
}
205+
206+
.markdown code {
207+
margin: 0 3px;
208+
padding: 0 5px;
209+
background: #eee;
210+
border-radius: 3px;
211+
}
212+
213+
.markdown pre {
214+
border-radius: 6px;
215+
background: #f7f7f7;
216+
padding: 20px;
217+
}
218+
219+
.markdown pre code {
220+
border: none;
221+
background: #f7f7f7;
222+
margin: 0;
223+
}
224+
225+
.markdown strong,
226+
.markdown b {
227+
font-weight: 600;
228+
}
229+
230+
.markdown > table {
231+
border-collapse: collapse;
232+
border-spacing: 0px;
233+
empty-cells: show;
234+
border: 1px solid #e9e9e9;
235+
width: 95%;
236+
margin-bottom: 24px;
237+
}
238+
239+
.markdown > table th {
240+
white-space: nowrap;
241+
color: #333;
242+
font-weight: 600;
243+
244+
}
245+
246+
.markdown > table th,
247+
.markdown > table td {
248+
border: 1px solid #e9e9e9;
249+
padding: 8px 16px;
250+
text-align: left;
251+
}
252+
253+
.markdown > table th {
254+
background: #F7F7F7;
255+
}
256+
257+
.markdown blockquote {
258+
font-size: 90%;
259+
color: #999;
260+
border-left: 4px solid #e9e9e9;
261+
padding-left: 0.8em;
262+
margin: 1em 0;
263+
font-style: italic;
264+
}
265+
266+
.markdown blockquote p {
267+
margin: 0;
268+
}
269+
270+
.markdown .anchor {
271+
opacity: 0;
272+
transition: opacity 0.3s ease;
273+
margin-left: 8px;
274+
}
275+
276+
.markdown .waiting {
277+
color: #ccc;
278+
}
279+
280+
.markdown h1:hover .anchor,
281+
.markdown h2:hover .anchor,
282+
.markdown h3:hover .anchor,
283+
.markdown h4:hover .anchor,
284+
.markdown h5:hover .anchor,
285+
.markdown h6:hover .anchor {
286+
opacity: 1;
287+
display: inline-block;
288+
}
289+
290+
.markdown > br,
291+
.markdown > p > br {
292+
clear: both;
293+
}
294+
295+
296+
.hljs {
297+
display: block;
298+
background: white;
299+
padding: 0.5em;
300+
color: #333333;
301+
overflow-x: auto;
302+
}
303+
304+
.hljs-comment,
305+
.hljs-meta {
306+
color: #969896;
307+
}
308+
309+
.hljs-string,
310+
.hljs-variable,
311+
.hljs-template-variable,
312+
.hljs-strong,
313+
.hljs-emphasis,
314+
.hljs-quote {
315+
color: #df5000;
316+
}
317+
318+
.hljs-keyword,
319+
.hljs-selector-tag,
320+
.hljs-type {
321+
color: #a71d5d;
322+
}
323+
324+
.hljs-literal,
325+
.hljs-symbol,
326+
.hljs-bullet,
327+
.hljs-attribute {
328+
color: #0086b3;
329+
}
330+
331+
.hljs-section,
332+
.hljs-name {
333+
color: #63a35c;
334+
}
335+
336+
.hljs-tag {
337+
color: #333333;
338+
}
339+
340+
.hljs-title,
341+
.hljs-attr,
342+
.hljs-selector-id,
343+
.hljs-selector-class,
344+
.hljs-selector-attr,
345+
.hljs-selector-pseudo {
346+
color: #795da3;
347+
}
348+
349+
.hljs-addition {
350+
color: #55a532;
351+
background-color: #eaffea;
352+
}
353+
354+
.hljs-deletion {
355+
color: #bd2c00;
356+
background-color: #ffecec;
357+
}
358+
359+
.hljs-link {
360+
text-decoration: underline;
361+
}
362+
363+
pre{
364+
background: #fff;
365+
}
366+
367+
368+
369+
370+

0 commit comments

Comments
 (0)