Skip to content

Commit d3cdc91

Browse files
committed
auto commit
1 parent 09993ad commit d3cdc91

File tree

3 files changed

+235
-3
lines changed

3 files changed

+235
-3
lines changed

docs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@
5757

5858
欢迎关注 公众号 “CyC2018” ,每天发布一道高频基础知识面试题,让你在闲暇时间也能学习进步!公众号也提供了一个学习打卡圈子,记录你每天的学习收获,见证你的成长!
5959

60-
![](https://i.loli.net/2019/03/08/5c81c43457b07.png)
60+
![](_media/公众号.jpg)

docs/_media/公众号.jpg

26.8 KB
Loading

docs/index.html

+234-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,239 @@
1212
<!-- <link rel="stylesheet" href="//unpkg.com/gitalk/dist/gitalk.css"> -->
1313
<link rel="stylesheet" href="_style/style.css">
1414
<!--solarizedlight tomorrow coy-->
15-
<link rel="stylesheet" href="_style/prism-master/themes/prism-coy.css">
15+
<!-- <link rel="stylesheet" href="_style/prism-master/themes/prism-coy.css"> -->
16+
<style type="text/css">
17+
/**
18+
* prism.js Coy theme for JavaScript, CoffeeScript, CSS and HTML
19+
* Based on https://github.com/tshedor/workshop-wp-theme (Example: http://workshop.kansan.com/category/sessions/basics or http://workshop.timshedor.com/category/sessions/basics);
20+
* @author Tim Shedor
21+
*/
22+
23+
code[class*="language-"],
24+
pre[class*="language-"] {
25+
color: black;
26+
background: none;
27+
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
28+
text-align: left;
29+
white-space: pre;
30+
word-spacing: normal;
31+
word-break: normal;
32+
word-wrap: normal;
33+
line-height: 1.5;
34+
35+
-moz-tab-size: 4;
36+
-o-tab-size: 4;
37+
tab-size: 4;
38+
39+
-webkit-hyphens: none;
40+
-moz-hyphens: none;
41+
-ms-hyphens: none;
42+
hyphens: none;
43+
}
44+
45+
/* Code blocks */
46+
pre[class*="language-"] {
47+
position: relative;
48+
margin: .5em 0;
49+
overflow: visible;
50+
padding: 0;
51+
}
52+
53+
pre[class*="language-"]>code {
54+
position: relative;
55+
border-left: 10px solid #358ccb;
56+
box-shadow: -1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf;
57+
background-color: #fdfdfd;
58+
background-image: linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%);
59+
background-size: 3em 3em;
60+
background-origin: content-box;
61+
background-attachment: local;
62+
}
63+
64+
code[class*="language"] {
65+
max-height: inherit;
66+
height: inherit;
67+
padding: 0 1em;
68+
display: block;
69+
overflow: auto;
70+
}
71+
72+
/* Margin bottom to accommodate shadow */
73+
:not(pre)>code[class*="language-"],
74+
pre[class*="language-"] {
75+
background-color: #fdfdfd;
76+
-webkit-box-sizing: border-box;
77+
-moz-box-sizing: border-box;
78+
box-sizing: border-box;
79+
margin-bottom: 1em;
80+
}
81+
82+
/* Inline code */
83+
:not(pre)>code[class*="language-"] {
84+
position: relative;
85+
padding: .2em;
86+
border-radius: 0.3em;
87+
color: #c92c2c;
88+
border: 1px solid rgba(0, 0, 0, 0.1);
89+
display: inline;
90+
white-space: normal;
91+
}
92+
93+
pre[class*="language-"]:before,
94+
pre[class*="language-"]:after {
95+
content: '';
96+
z-index: -2;
97+
display: block;
98+
position: absolute;
99+
bottom: 0.75em;
100+
left: 0.18em;
101+
width: 40%;
102+
height: 20%;
103+
max-height: 13em;
104+
box-shadow: 0px 13px 8px #979797;
105+
-webkit-transform: rotate(-2deg);
106+
-moz-transform: rotate(-2deg);
107+
-ms-transform: rotate(-2deg);
108+
-o-transform: rotate(-2deg);
109+
transform: rotate(-2deg);
110+
}
111+
112+
:not(pre)>code[class*="language-"]:after,
113+
pre[class*="language-"]:after {
114+
right: 0.75em;
115+
left: auto;
116+
-webkit-transform: rotate(2deg);
117+
-moz-transform: rotate(2deg);
118+
-ms-transform: rotate(2deg);
119+
-o-transform: rotate(2deg);
120+
transform: rotate(2deg);
121+
}
122+
123+
.token.comment,
124+
.token.block-comment,
125+
.token.prolog,
126+
.token.doctype,
127+
.token.cdata {
128+
color: #7D8B99;
129+
}
130+
131+
.token.punctuation {
132+
color: #5F6364;
133+
}
134+
135+
.token.property,
136+
.token.tag,
137+
.token.boolean,
138+
.token.number,
139+
.token.function-name,
140+
.token.constant,
141+
.token.symbol,
142+
.token.deleted {
143+
color: #c92c2c;
144+
}
145+
146+
.token.selector,
147+
.token.attr-name,
148+
.token.string,
149+
.token.char,
150+
.token.function,
151+
.token.builtin,
152+
.token.inserted {
153+
color: #2f9c0a;
154+
}
155+
156+
.token.operator,
157+
.token.entity,
158+
.token.url,
159+
.token.variable {
160+
color: #a67f59;
161+
background: rgba(255, 255, 255, 0.5);
162+
}
163+
164+
.token.atrule,
165+
.token.attr-value,
166+
.token.keyword,
167+
.token.class-name {
168+
color: #1990b8;
169+
}
170+
171+
.token.regex,
172+
.token.important {
173+
color: #e90;
174+
}
175+
176+
.language-css .token.string,
177+
.style .token.string {
178+
color: #a67f59;
179+
background: rgba(255, 255, 255, 0.5);
180+
}
181+
182+
.token.important {
183+
font-weight: normal;
184+
}
185+
186+
.token.bold {
187+
font-weight: bold;
188+
}
189+
190+
.token.italic {
191+
font-style: italic;
192+
}
193+
194+
.token.entity {
195+
cursor: help;
196+
}
197+
198+
.namespace {
199+
opacity: .7;
200+
}
201+
202+
@media screen and (max-width: 767px) {
203+
204+
pre[class*="language-"]:before,
205+
pre[class*="language-"]:after {
206+
bottom: 14px;
207+
box-shadow: none;
208+
}
209+
210+
}
211+
212+
/* Plugin styles */
213+
.token.tab:not(:empty):before,
214+
.token.cr:before,
215+
.token.lf:before {
216+
color: #e0d7d1;
217+
}
218+
219+
/* Plugin styles: Line Numbers */
220+
pre[class*="language-"].line-numbers.line-numbers {
221+
padding-left: 0;
222+
}
223+
224+
pre[class*="language-"].line-numbers.line-numbers code {
225+
padding-left: 3.8em;
226+
}
227+
228+
pre[class*="language-"].line-numbers.line-numbers .line-numbers-rows {
229+
left: 0;
230+
}
231+
232+
/* Plugin styles: Line Highlight */
233+
pre[class*="language-"][data-line] {
234+
padding-top: 0;
235+
padding-bottom: 0;
236+
padding-left: 0;
237+
}
238+
239+
pre[data-line] code {
240+
position: relative;
241+
padding-left: 4em;
242+
}
243+
244+
pre .line-highlight {
245+
margin-top: 0;
246+
}
247+
</style>
16248
</head>
17249

18250
<body>
@@ -41,7 +273,7 @@
41273
<!-- <script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script> -->
42274
<!-- 上面的基本不可用,无法搜索 -->
43275
<script src="https://cdn.bootcss.com/docsify/4.5.9/plugins/search.min.js"></script>
44-
<script src="//unpkg.com/docsify/lib/plugins/gitalk.min.js"></script>
276+
<!-- <script src="//unpkg.com/docsify/lib/plugins/gitalk.min.js"></script> -->
45277
<!-- <script src="//unpkg.com/gitalk/dist/gitalk.min.js"></script> -->
46278
<script src="//unpkg.com/docsify-copy-code"></script>
47279
<script src="//unpkg.com/prismjs/components/prism-java.min.js"></script>

0 commit comments

Comments
 (0)