File tree 4 files changed +26
-37
lines changed
pep_sphinx_extensions/theme
4 files changed +26
-37
lines changed Original file line number Diff line number Diff line change 20
20
div .content-wrapper {
21
21
max-width : 75em ;
22
22
}
23
- . main-content {
23
+ article {
24
24
max-width : 40em ;
25
25
width : 74% ;
26
26
float : right;
39
39
}
40
40
}
41
41
@media (min-width : 60em ) {
42
- . main-content {
42
+ article {
43
43
max-width : none;
44
44
padding-left : 3.2% ;
45
45
padding-right : 3.2% ;
Original file line number Diff line number Diff line change 61
61
}
62
62
63
63
/* Header override rules for the sidebar */
64
- aside .left-sidebar > h1 {
65
- font-size : 1.1rem ;
66
- font-weight : bold;
67
- margin-top : 0 ;
68
- margin-bottom : 0 ;
69
- text-align : center;
70
- }
71
64
aside .left-sidebar > h2 {
72
65
font-size : 1.4rem ;
73
66
}
@@ -84,10 +77,6 @@ a:hover,
84
77
a : focus {
85
78
text-decoration-color : # 878787 ;
86
79
}
87
- aside .left-sidebar ul a ,
88
- ul .breadcrumbs a {
89
- text-decoration : none;
90
- }
91
80
92
81
/* Blockquote rules */
93
82
blockquote {
@@ -220,22 +209,35 @@ div.content-wrapper {
220
209
display : table;
221
210
clear : both;
222
211
}
223
- section . main-content > article {
212
+ article {
224
213
margin-top : 1.3125rem ;
225
214
padding-bottom : 3.5rem ;
226
215
}
227
216
228
217
/* Breadcrumbs rules */
229
- ul .breadcrumbs {
230
- padding : 0.5rem 0 ;
218
+ header {
231
219
border-bottom : 1px solid # caccce ;
232
- margin-left : 0 ;
220
+ }
221
+ header > h1 {
222
+ font-size : 1.1rem ;
223
+ margin : 0 ;
224
+ display : inline-block;
225
+ padding-right : .6rem ;
226
+ border-right : 1px solid # 949699 ;
227
+ }
228
+ ul .breadcrumbs {
229
+ margin : 0 ;
230
+ padding : .5rem 0 .5rem .4rem ;
233
231
list-style : none;
232
+ display : inline-block;
234
233
}
235
234
ul .breadcrumbs li {
236
235
display : inline;
237
236
vertical-align : baseline;
238
237
}
238
+ ul .breadcrumbs a {
239
+ text-decoration : none;
240
+ }
239
241
240
242
span .footer-metadata {
241
243
display : block;
@@ -314,3 +316,6 @@ aside.left-sidebar::-webkit-scrollbar-thumb {
314
316
aside .left-sidebar ul {
315
317
margin-left : 1rem ;
316
318
}
319
+ aside .left-sidebar ul a {
320
+ text-decoration : none;
321
+ }
Original file line number Diff line number Diff line change 1
- < h1 > Python Enhancement Proposals</ h1 >
2
-
3
1
{# Table of Contents #}
4
2
{%- if display_toc %}
5
3
< h2 > Contents</ h2 >
Original file line number Diff line number Diff line change 12
12
{%- if favicon %}< link rel ="shortcut icon " href ="{{ pathto('_static/' + favicon, resource=True)|e }} "/> {%- endif %}
13
13
</ head >
14
14
< body class ="python pages pep-page ">
15
- < header style ="height: 219px; background-color: #2b5b84; "> </ header >
16
-
17
15
< div class ="content-wrapper ">
18
- < section class ="main-content ">
16
+ < header >
17
+ < h1 > Python Enhancement Proposals</ h1 >
19
18
< ul class ="breadcrumbs ">
20
19
< li > < a href ="{{ theme_root_url }} " title ="The Python Programming Language "> Python</ a > » </ li >
21
20
< li > < a href ="{{ pathto( "pep-0000 ") }}"> PEP Index</ a > » </ li >
22
21
< li > {{ title }}</ li >
23
22
</ ul >
24
- < article class =" text " > {{ body }} </ article >
25
- </ section >
23
+ </ header >
24
+ < article class =" text " > {{ body }} </ article >
26
25
< aside class ="left-sidebar ">
27
- {%- if logo %}
28
- < p class ="logo ">
29
- < a href ="{{ pathto(master_doc) }} ">
30
- < img class ="logo " src ="{{ pathto('_static/' + logo, resource=True) }} "/>
31
- </ a >
32
- </ p >
33
- {%- endif %}
34
26
{% include "customsidebar.html" %}
35
27
</ aside >
36
28
</ div >
37
29
38
-
39
- < footer >
40
- < div style ="height: 553.5px; background-color: #e6e8ea; border-top: 1px solid #d8dbde; "> </ div >
41
- < div style ="height: 103.05px; background-color: #2b5b84; "> </ div >
42
- </ footer >
43
-
44
30
< script src ="{{ pathto('_static/doctools.js', resource=True) }} "> </ script >
45
31
</ body >
46
32
</ html >
You can’t perform that action at this time.
0 commit comments