Skip to content

Commit e310a6a

Browse files
committed
add default themes
1 parent 991ddb0 commit e310a6a

36 files changed

+3359
-0
lines changed

themes/github.css

+384
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,384 @@
1+
@include-when-export url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,700,400&subset=latin,latin-ext);
2+
3+
/**
4+
* css forked from https://github.com/GitbookIO/gitbook
5+
* www.gitbook.com
6+
* Apache License
7+
* https://github.com/GitbookIO/gitbook/blob/master/LICENSE
8+
**/
9+
10+
@font-face {
11+
font-family: 'Open Sans';
12+
font-style: normal;
13+
font-weight: normal;
14+
src: local('Open Sans Regular'),url('./github/400.woff') format('woff')
15+
}
16+
17+
@font-face {
18+
font-family: 'Open Sans';
19+
font-style: italic;
20+
font-weight: normal;
21+
src: local('Open Sans Italic'),url('./github/400i.woff') format('woff')
22+
}
23+
24+
@font-face {
25+
font-family: 'Open Sans';
26+
font-style: normal;
27+
font-weight: bold;
28+
src: local('Open Sans Bold'),url('./github/700.woff') format('woff')
29+
}
30+
31+
@font-face {
32+
font-family: 'Open Sans';
33+
font-style: italic;
34+
font-weight: bold;
35+
src: local('Open Sans Bold Italic'),url('./github/700i.woff') format('woff')
36+
}
37+
38+
html {
39+
font-size: 16px;
40+
}
41+
42+
body {
43+
font-family: "Open Sans","Clear Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
44+
color: rgb(51, 51, 51);
45+
line-height: 1.6;
46+
}
47+
48+
#write{
49+
max-width: 860px;
50+
margin: 0 auto;
51+
padding: 20px 30px 40px 30px;
52+
padding-top: 20px;
53+
padding-bottom: 100px;
54+
}
55+
#write > ul:first-child,
56+
#write > ol:first-child{
57+
margin-top: 30px;
58+
}
59+
60+
body > *:first-child {
61+
margin-top: 0 !important;
62+
}
63+
body > *:last-child {
64+
margin-bottom: 0 !important;
65+
}
66+
a {
67+
color: #4183C4;
68+
}
69+
h1,
70+
h2,
71+
h3,
72+
h4,
73+
h5,
74+
h6 {
75+
position: relative;
76+
margin-top: 1rem;
77+
margin-bottom: 1rem;
78+
font-weight: bold;
79+
line-height: 1.4;
80+
cursor: text;
81+
}
82+
h1:hover a.anchor,
83+
h2:hover a.anchor,
84+
h3:hover a.anchor,
85+
h4:hover a.anchor,
86+
h5:hover a.anchor,
87+
h6:hover a.anchor {
88+
/*background: url("../../images/modules/styleguide/para.png") no-repeat 10px center;*/
89+
text-decoration: none;
90+
}
91+
h1 tt,
92+
h1 code {
93+
font-size: inherit;
94+
}
95+
h2 tt,
96+
h2 code {
97+
font-size: inherit;
98+
}
99+
h3 tt,
100+
h3 code {
101+
font-size: inherit;
102+
}
103+
h4 tt,
104+
h4 code {
105+
font-size: inherit;
106+
}
107+
h5 tt,
108+
h5 code {
109+
font-size: inherit;
110+
}
111+
h6 tt,
112+
h6 code {
113+
font-size: inherit;
114+
}
115+
h1 {
116+
padding-bottom: .3em;
117+
font-size: 2.25em;
118+
line-height: 1.2;
119+
border-bottom: 1px solid #eee;
120+
}
121+
h2 {
122+
padding-bottom: .3em;
123+
font-size: 1.75em;
124+
line-height: 1.225;
125+
border-bottom: 1px solid #eee;
126+
}
127+
h3 {
128+
font-size: 1.5em;
129+
line-height: 1.43;
130+
}
131+
h4 {
132+
font-size: 1.25em;
133+
}
134+
h5 {
135+
font-size: 1em;
136+
}
137+
h6 {
138+
font-size: 1em;
139+
color: #777;
140+
}
141+
p,
142+
blockquote,
143+
ul,
144+
ol,
145+
dl,
146+
table{
147+
margin: 0.8em 0;
148+
}
149+
li>ol,
150+
li>ul {
151+
margin: 0 0;
152+
}
153+
hr {
154+
height: 4px;
155+
padding: 0;
156+
margin: 16px 0;
157+
background-color: #e7e7e7;
158+
border: 0 none;
159+
overflow: hidden;
160+
box-sizing: content-box;
161+
border-bottom: 1px solid #ddd;
162+
}
163+
164+
body > h2:first-child {
165+
margin-top: 0;
166+
padding-top: 0;
167+
}
168+
body > h1:first-child {
169+
margin-top: 0;
170+
padding-top: 0;
171+
}
172+
body > h1:first-child + h2 {
173+
margin-top: 0;
174+
padding-top: 0;
175+
}
176+
body > h3:first-child,
177+
body > h4:first-child,
178+
body > h5:first-child,
179+
body > h6:first-child {
180+
margin-top: 0;
181+
padding-top: 0;
182+
}
183+
a:first-child h1,
184+
a:first-child h2,
185+
a:first-child h3,
186+
a:first-child h4,
187+
a:first-child h5,
188+
a:first-child h6 {
189+
margin-top: 0;
190+
padding-top: 0;
191+
}
192+
h1 p,
193+
h2 p,
194+
h3 p,
195+
h4 p,
196+
h5 p,
197+
h6 p {
198+
margin-top: 0;
199+
}
200+
li p.first {
201+
display: inline-block;
202+
}
203+
ul,
204+
ol {
205+
padding-left: 30px;
206+
}
207+
ul:first-child,
208+
ol:first-child {
209+
margin-top: 0;
210+
}
211+
ul:last-child,
212+
ol:last-child {
213+
margin-bottom: 0;
214+
}
215+
blockquote {
216+
border-left: 4px solid #dddddd;
217+
padding: 0 15px;
218+
color: #777777;
219+
}
220+
blockquote blockquote {
221+
padding-right: 0;
222+
}
223+
table {
224+
padding: 0;
225+
}
226+
table tr {
227+
border-top: 1px solid #cccccc;
228+
background-color: white;
229+
margin: 0;
230+
padding: 0;
231+
}
232+
table tr:nth-child(2n) {
233+
background-color: #f8f8f8;
234+
}
235+
table tr th {
236+
font-weight: bold;
237+
border: 1px solid #cccccc;
238+
text-align: left;
239+
margin: 0;
240+
padding: 6px 13px;
241+
}
242+
table tr td {
243+
border: 1px solid #cccccc;
244+
text-align: left;
245+
margin: 0;
246+
padding: 6px 13px;
247+
}
248+
table tr th:first-child,
249+
table tr td:first-child {
250+
margin-top: 0;
251+
}
252+
table tr th:last-child,
253+
table tr td:last-child {
254+
margin-bottom: 0;
255+
}
256+
257+
.CodeMirror-gutters {
258+
border-right: 1px solid #ddd;
259+
}
260+
261+
.md-fences,
262+
code,
263+
tt {
264+
border: 1px solid #ddd;
265+
background-color: #f8f8f8;
266+
border-radius: 3px;
267+
padding: 0;
268+
font-family: Consolas, "Liberation Mono", Courier, monospace;
269+
padding: 2px 4px 0px 4px;
270+
font-size: 0.9em;
271+
}
272+
273+
.md-fences {
274+
margin-bottom: 15px;
275+
margin-top: 15px;
276+
padding: 0.2em 1em;
277+
padding-top: 8px;
278+
padding-bottom: 6px;
279+
}
280+
.task-list{
281+
padding-left: 0;
282+
}
283+
284+
.task-list-item {
285+
padding-left:32px;
286+
}
287+
288+
.task-list-item input {
289+
top: 3px;
290+
left: 8px;
291+
}
292+
293+
@media screen and (min-width: 914px) {
294+
/*body {
295+
width: 854px;
296+
margin: 0 auto;
297+
}*/
298+
}
299+
@media print {
300+
html {
301+
font-size: 13px;
302+
}
303+
table,
304+
pre {
305+
page-break-inside: avoid;
306+
}
307+
pre {
308+
word-wrap: break-word;
309+
}
310+
}
311+
312+
.md-fences {
313+
background-color: #f8f8f8;
314+
}
315+
#write pre.md-meta-block {
316+
padding: 1rem;
317+
font-size: 85%;
318+
line-height: 1.45;
319+
background-color: #f7f7f7;
320+
border: 0;
321+
border-radius: 3px;
322+
color: #777777;
323+
margin-top: 0 !important;
324+
}
325+
326+
.mathjax-block>.code-tooltip {
327+
bottom: .375rem;
328+
}
329+
330+
#write>h3.md-focus:before{
331+
left: -1.5625rem;
332+
top: .375rem;
333+
}
334+
#write>h4.md-focus:before{
335+
left: -1.5625rem;
336+
top: .285714286rem;
337+
}
338+
#write>h5.md-focus:before{
339+
left: -1.5625rem;
340+
top: .285714286rem;
341+
}
342+
#write>h6.md-focus:before{
343+
left: -1.5625rem;
344+
top: .285714286rem;
345+
}
346+
.md-image>.md-meta {
347+
border: 1px solid #ddd;
348+
background-color: #f8f8f8;
349+
border-radius: 3px;
350+
font-family: Consolas, "Liberation Mono", Courier, monospace;
351+
padding: 2px 4px 0px 4px;
352+
font-size: 0.9em;
353+
color: inherit;
354+
}
355+
356+
.md-tag{
357+
color: inherit;
358+
}
359+
360+
.md-toc {
361+
margin-top:20px;
362+
padding-bottom:20px;
363+
}
364+
365+
#typora-quick-open {
366+
border: 1px solid #ddd;
367+
background-color: #f8f8f8;
368+
}
369+
370+
#typora-quick-open-item {
371+
background-color: #FAFAFA;
372+
border-color: #FEFEFE #e5e5e5 #e5e5e5 #eee;
373+
border-style: solid;
374+
border-width: 1px;
375+
}
376+
377+
/** focus mode */
378+
.on-focus-mode blockquote {
379+
border-left-color: rgba(85, 85, 85, 0.12);
380+
}
381+
382+
header, .context-menu, .megamenu-content, footer{
383+
font-family: "Segoe UI", "Arial", sans-serif;
384+
}

themes/github/300.woff

67.8 KB
Binary file not shown.

themes/github/400.woff

65.9 KB
Binary file not shown.

themes/github/400i.woff

63.7 KB
Binary file not shown.

themes/github/600i.woff

64.3 KB
Binary file not shown.

themes/github/700.woff

68.5 KB
Binary file not shown.

themes/github/700i.woff

63.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)