Skip to content

Commit 78ed065

Browse files
committed
Add doc theme and css reset
1 parent f69853b commit 78ed065

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

docs/source/css/reset.css.scss

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
// http://meyerweb.com/eric/tools/css/reset/
2+
html, body, div, span, applet, object, iframe,
3+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
4+
a, abbr, acronym, address, big, cite, code,
5+
del, dfn, em, img, ins, kbd, q, s, samp,
6+
small, strike, strong, sub, sup, tt, var,
7+
b, u, i, center,
8+
dl, dt, dd, ol, ul, li,
9+
fieldset, form, label, legend,
10+
table, caption, tbody, tfoot, thead, tr, th, td,
11+
article, aside, canvas, details, embed,
12+
figure, figcaption, footer, header, hgroup,
13+
menu, nav, output, ruby, section, summary,
14+
time, mark, audio, video {
15+
margin: 0;
16+
padding: 0;
17+
border: 0;
18+
font-size: 100%;
19+
font: inherit;
20+
vertical-align: baseline;
21+
}
22+
article, aside, details, figcaption, figure,
23+
footer, header, hgroup, menu, nav, section {
24+
display: block;
25+
}
26+
body {
27+
line-height: 1;
28+
}
29+
ol, ul {
30+
list-style: none;
31+
}
32+
blockquote, q {
33+
quotes: none;
34+
}
35+
blockquote:before, blockquote:after,
36+
q:before, q:after {
37+
content: '';
38+
content: none;
39+
}
40+
table {
41+
border-collapse: collapse;
42+
border-spacing: 0;
43+
}

docs/source/css/syntax.css.scss.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<%= Rouge::Themes::Github.render(:scope => '.highlight') %>

0 commit comments

Comments
 (0)