-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmyDocco.css
170 lines (156 loc) · 3.62 KB
/
myDocco.css
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
/* Adapted from a .css file that is Copyright (c) 2009-2013 Jeremy Ashkenas
* https://github.com/jashkenas/docco
* NP modified 02/03/14
* MIT licence */
/*--------------------- Typography ----------------------------*/
@font-face {
font-family: 'fleurons';
src: url('http://jashkenas.github.io/docco/resources/linear/public/fonts/fleurons.eot');
src: url('http://jashkenas.github.io/docco/resources/linear/public/fonts/fleurons.eot?#iefix') format('embedded-opentype'),
url('http://jashkenas.github.io/docco/resources/linear/public/fonts/fleurons.woff') format('woff'),
url('http://jashkenas.github.io/docco/resources/linear/public/fonts/fleurons.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
/*--------------------- Base Styles ----------------------------*/
body {
font-family: Andika, Alegreya, Minion Pro;
background: url('http://jashkenas.github.io/docco/resources/linear/public/images/gray.png') #fff;
background-size: 322px;
margin: 0;
}
hr {
height: 1px;
background: #ddd;
border: 0;
}
h1, h2, h3, h4, h5, h6 {
/*color: #112233;*/
color: #8a0000;
font-weight: normal;
font-family: Lato, Andika, Myriad Pro ;
/* text-transform: uppercase;*/
line-height: 1em;
margin-top: 50px;
}
h1 {
margin: 0;
text-align: center;
color: #8a0000;
}
h2 {
font-size: 1.3em;
}
h1:after {
content: "8";
display: block;
font-family: 'fleurons', NeoclassicFleuronsFree;
/*color: #999;*/
color: #8a0000;
font-size: 80px;
padding: 10px 0 25px;
}
a {
color: #000;
}
b, strong {
font-weight: bold;
font-family: Andika Basic, Alegreya, Minion Pro;
}
blockquote {
border-left: 5px solid #ccc;
margin-left: 0;
padding: 1px 0 1px 1em;
}
.page blockquote p {
font-family: Monaco, Menlo, Consolas, monospace;
font-size: 14px; line-height: 19px;
color: #999;
margin: 10px 0 0;
white-space: pre-wrap;
}
pre, tt, code {
font-family: Monaco, Menlo, Consolas, monospace;
font-size: 14px;
display: inline-block;
/*border: 1px solid #EAEAEA;*/
border-radius: 10px;
/*background: #f8f8f8;*/
color: #555;
padding: 0 5px;
line-height: 20px;
}
.page pre {
margin: 0;
width: 658px;
padding: 10px 15px;
/*background: #fcfcfc;*/
background: #272822;
-moz-box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
-webkit-box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
overflow-x: auto;
}
.page pre code {
border: 0;
padding: 0;
/* background: transparent;*/
}
.fleur {
font-family: "fleurons", NeoclassicFleuronsFree;
font-size: 100px;
text-align: center;
margin: 40px 0;
/*color: #ccc;*/
color: #8a0000;
}
/*--------------------- Layout ----------------------------*/
.container {
width: 810px;
margin: 0 auto;
background: #fff;
background: rgba(255,255,255, 0.4);
overflow: hidden;
}
.page {
width: 690px;
padding: 30px;
margin: 30px;
background: #fff;
font-size: 17px;
line-height: 26px;
}
.page p {
color: #30404f;
margin: 26px 0;
}
ul.sections {
list-style: none;
padding:0 0 5px 0;;
margin:0;
}
.page li p {
margin: 12px 0;
}
.toc {
max-height: 0;
overflow: hidden;
text-align: center;
font-size: 13px;
line-height: 20px;
-moz-transition: max-height 1s;
-webkit-transition: max-height 1s;
transition: max-height 1s;
}
.header:hover .toc {
max-height: 500px;
}
.toc h3 {
margin-top: 20px;
}
.toc ol {
margin: 0 0 20px 0;
display: inline-block;
text-align: left;
list-style-type: upper-roman;
}