UNPKG

5.22 kBCSSView Raw
1html, body, div, span, applet, object, iframe,
2p, blockquote, pre,
3a, abbr, acronym, address, big, cite, code,
4del, dfn, em, img, ins, kbd, q, s, samp,
5small, strike, strong, sub, sup, tt, var,
6b, u, i, center,
7dl, dt, dd,
8form, label, legend,
9table, caption, tbody, tfoot, thead, tr, th, td,
10article, aside, canvas, details, embed,
11figure, figcaption, footer, header, hgroup,
12menu, nav, output, ruby, section, summary,
13time, mark, audio, video {
14 margin: 0;
15 padding: 0;
16 border: 0;
17 font: inherit;
18 vertical-align: baseline;
19 line-height:160%;
20}
21
22#cover-image {
23 width:100%;
24}
25
26div>ol.toc {
27 list-style-type:disc;
28}
29
30ol.toc {
31 list-style-type:circle;
32}
33
34blockquote {
35 margin: 10px;
36 padding-left: 10px;
37 padding-right: 10px;
38 padding-top: 1px;
39 padding-bottom: 1px;
40 border: 3px double #373737;
41 color:#333333;
42}
43
44h1, h1 a { font-size: xx-large; color:#050505; text-align:center; margin:30px; font-weight: bold; font-family: 'DFKai-sb', 'Tahoma'; }
45
46h2, h2 a { font-size: x-large; color:#8B008B; margin-top:30px; margin-bottom:30px; font-weight: bold; font-family: 'DFKai-sb', 'Tahoma'; }
47
48h3, h3 a { font-size: large; color:#000080; font-weight: bold; font-family: 'DFKai-sb', 'Tahoma'; }
49
50h4, h4 a { font-size: medium; color:#4B0082; font-weight: bold; font-family: 'DFKai-sb', 'Tahoma'; }
51
52h5, h5 a { font-size: small ; color:#708090; font-weight: bold; font-family: 'DFKai-sb', 'Tahoma'; }
53
54h6, h6 a { font-size: x-small; color:#000080; }
55
56p {
57 font-family: 'Pmingliu', 'Tahoma';
58 margin: 10px 0 15px 0;
59 font-size:100%;
60 color:#353535;
61}
62
63li {
64 font-size:100%;
65}
66
67footer p {
68 color: #f2f2f2;
69}
70
71a {
72 text-decoration: none;
73 color: #007edf;
74 text-shadow: none;
75
76 transition: color 0.5s ease;
77 transition: text-shadow 0.5s ease;
78 -webkit-transition: color 0.5s ease;
79 -webkit-transition: text-shadow 0.5s ease;
80 -moz-transition: color 0.5s ease;
81 -moz-transition: text-shadow 0.5s ease;
82 -o-transition: color 0.5s ease;
83 -o-transition: text-shadow 0.5s ease;
84 -ms-transition: color 0.5s ease;
85 -ms-transition: text-shadow 0.5s ease;
86}
87
88table {
89 border-collapse: collapse;
90 border-spacing: 0;
91 border: 1px solid #373737;
92 margin-bottom: 20px;
93 text-align: left;
94 margin-left:auto;
95 margin-right:auto;
96}
97
98th {
99 padding: 10px;
100 background-color:black;
101 color:white;
102}
103
104td {
105 padding: 10px;
106 vertical-align: middle;
107 border: 1px solid #373737;
108}
109
110em {
111 color: blue;
112}
113
114strong {
115 font-weight:bold;
116 color: red;
117}
118
119
120#header_wrap {
121 margin: 0;
122 padding: 16px;
123 border: 0;
124 font: inherit;
125 vertical-align: baseline;
126 background-color:black;
127 color:white;
128}
129
130#header_wrap h1, #header_wrap h1 sub, #header_wrap h1 a {
131 color:white;
132 font-family: 'DFKai-sb', 'Tahoma';
133}
134
135#header_wrap sub {
136 color:white;
137 font-size:60%;
138}
139
140#bar, #bar a, #header_wrap a, #header_wrap h1 sub a {
141 color:white;
142 width:95%;
143 text-align:right;
144 font-weight:bold;
145}
146
147.title, .author, .date {
148 color:#333333;
149 text-align:center;
150 font-family: 'DFKai-sb', 'Tahoma' ;
151}
152
153.title { font-size:xx-large; line-height:800%; }
154
155.author { font-size:large; line-height:300%; }
156
157.date { font-size:large; line-height:300%; }
158
159
160#content {
161 margin:10px;
162 padding:10px;
163}
164
165pre {
166 border: 1px solid #373737;
167 background-color:#efefef;
168 color:#3f3f3f;
169 font-size:medium;
170 width:95%;
171 padding:10px;
172 /* wrap ,自動換行 */
173 white-space: pre-wrap; /* css-3 */
174 white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
175 white-space: -pre-wrap; /* Opera 4-6 */
176 white-space: -o-pre-wrap; /* Opera 7 */
177 word-wrap: break-word; /* Internet Explorer 5.5+ */
178}
179
180code {
181// font-family: SimSun;
182// color:blue;
183 font-size:100%;
184}
185
186pre code {
187 font-family: SimSun;
188 font-size:125%;
189}
190
191.figure {
192 margin:10px;
193 padding:10px;
194 margin-left: auto;
195 margin-right: auto;
196 display: block;
197}
198
199img { vertical-align:middle; }
200
201.figure img {
202 margin-left: auto;
203 margin-right: auto;
204 display: block;
205}
206
207.figure .caption {
208 text-align:center;
209}
210
211#TOC {
212}
213
214#footer {
215 text-align:center;
216 font-size:small;
217 color:#6f6f6f;
218 margin: 10px;
219 padding: 10px;
220}
221
222/* JavaScript Style */
223table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode {
224 margin: 0; padding: 0; vertical-align: baseline; border: none; }
225table.sourceCode { width: 100%; }
226td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #afafaf; border-right: 1px solid #aaaaaa; }
227td.sourceCode { padding-left: 5px; }
228code > span.kw { color: #007020; font-weight: bold; }
229code > span.dt { color: #902000; }
230code > span.dv { color: #40a070; }
231code > span.bn { color: #40a070; }
232code > span.fl { color: #40a070; }
233code > span.ch { color: #4070a0; }
234code > span.st { color: #4070a0; }
235code > span.co { color: #60a0b0; font-style: italic; }
236code > span.ot { color: #007020; }
237code > span.al { color: #ff0000; font-weight: bold; }
238code > span.fu { color: #06287e; }
239code > span.er { color: #ff0000; font-weight: bold; }
240