File tree 2 files changed +19
-22
lines changed
2 files changed +19
-22
lines changed Original file line number Diff line number Diff line change 19
19
}
20
20
21
21
#sidebar {
22
- padding: 30px ;
22
+ padding: 1.5em ;
23
23
overflow: hidden;
24
24
}
25
25
#sidebar > *:last-child {
63
63
}
64
64
h2 {
65
65
font-size: 1.75em;
66
- margin: 1em 0 .50em 0;
66
+ margin: 2em 0 .50em 0;
67
67
}
68
68
h3 {
69
69
font-size: 1.4em;
70
- margin: 25px 0 10px 0;
70
+ margin: 1.6em 0 .7em 0;
71
71
}
72
72
h4 {
73
73
margin: 0;
86
86
a {
87
87
color: #058;
88
88
text-decoration: none;
89
- transition: color .3s ease-in-out;
90
- }
91
- a:hover {
92
- color: #e82;
89
+ transition: color .2s ease-in-out;
93
90
}
91
+ a:visited {color: #503}
92
+ a:hover {color: #b62}
94
93
95
94
.title code {
96
95
font-weight: bold;
100
99
}
101
100
.ident {
102
101
color: #900;
102
+ font-weight: bold;
103
103
}
104
104
105
105
pre code {
106
- background: #f8f8f8;
107
106
font-size: .8em;
108
107
line-height: 1.4em;
108
+ padding: 1em;
109
+ display: block;
109
110
}
110
111
code {
111
- background: #f2f2f1;
112
+ background: #f3f3f3;
113
+ font-family: "DejaVu Sans Mono", monospace;
112
114
padding: 1px 4px;
113
115
overflow-wrap: break-word;
114
116
}
115
117
h1 code { background: transparent }
116
118
117
119
pre {
118
- background: #f8f8f8;
119
- border: 0;
120
120
border-top: 1px solid #ccc;
121
121
border-bottom: 1px solid #ccc;
122
122
margin: 1em 0;
123
- padding: 1ex;
124
123
}
125
124
126
125
#http-server-module-list {
181
180
}
182
181
.name {
183
182
background: #eee;
184
- font-weight: bold;
185
183
font-size: .85em;
186
184
padding: 5px 10px;
187
185
display: inline-block;
271
269
}
272
270
273
271
.admonition {
274
- padding: .1em .5em ;
272
+ padding: .1em 1em ;
275
273
margin-bottom: 1em;
276
274
}
277
275
.admonition-title {
318
316
pre code {
319
317
font-size: 1em;
320
318
}
321
- .item . name {
319
+ .name {
322
320
font-size: 1em;
323
321
}
324
322
main {
327
325
justify-content: flex-end;
328
326
}
329
327
.toc ul ul,
330
- #index ul {
331
- padding-left: 1.5em ;
328
+ #index ul ul {
329
+ padding-left: 1em ;
332
330
}
333
331
.toc > ul > li {
334
332
margin-top: .5em;
Original file line number Diff line number Diff line change 301
301
<%include file =" _lunr_search.inc.mako" />
302
302
% endif
303
303
304
- <h1 >Index</h1 >
305
304
${ extract_toc(module.docstring) if extract_module_toc_into_sidebar else ' ' }
306
305
<ul id =" index" >
307
306
% if supermodule:
367
366
<html lang =" ${html_lang}" >
368
367
<head >
369
368
<meta charset =" utf-8" >
370
- <meta name =" viewport" content =" width=device-width, initial-scale=1, minimum-scale=1" / >
371
- <meta name =" generator" content =" pdoc ${pdoc.__version__}" / >
369
+ <meta name =" viewport" content =" width=device-width, initial-scale=1, minimum-scale=1" >
370
+ <meta name =" generator" content =" pdoc3 ${pdoc.__version__}" >
372
371
373
372
<%
374
373
module_list = ' modules' in context.keys() # Whether we're showing module list in server mode
375
374
%>
376
375
377
376
% if module_list:
378
377
<title >Python module list</title >
379
- <meta name =" description" content =" A list of documented Python modules." / >
378
+ <meta name =" description" content =" A list of documented Python modules." >
380
379
% else :
381
380
<title >${ module.name} API documentation</title >
382
- <meta name =" description" content =" ${module.docstring | glimpse, trim, h}" / >
381
+ <meta name =" description" content =" ${module.docstring | glimpse, trim, h}" >
383
382
% endif
384
383
385
384
<link rel =" stylesheet" href =" https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/13.0.0/sanitize.min.css" integrity =" sha512-y1dtMcuvtTMJc1yPgEqF0ZjQbhnc/bFhyvIyVNb9Zk5mIGtqVaAB1Ttl28su8AvFMOY0EwRbAe+HCLqj6W7/KA==" crossorigin >
You can’t perform that action at this time.
0 commit comments