File tree Expand file tree Collapse file tree 4 files changed +26
-37
lines changed
pep_sphinx_extensions/theme Expand file tree Collapse file tree 4 files changed +26
-37
lines changed Original file line number Diff line number Diff line change 2020 div .content-wrapper {
2121 max-width : 75em ;
2222 }
23- . main-content {
23+ article {
2424 max-width : 40em ;
2525 width : 74% ;
2626 float : right;
3939 }
4040}
4141@media (min-width : 60em ) {
42- . main-content {
42+ article {
4343 max-width : none;
4444 padding-left : 3.2% ;
4545 padding-right : 3.2% ;
Original file line number Diff line number Diff line change 6161}
6262
6363/* 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- }
7164aside .left-sidebar > h2 {
7265 font-size : 1.4rem ;
7366}
@@ -84,10 +77,6 @@ a:hover,
8477a : focus {
8578 text-decoration-color : # 878787 ;
8679}
87- aside .left-sidebar ul a ,
88- ul .breadcrumbs a {
89- text-decoration : none;
90- }
9180
9281/* Blockquote rules */
9382blockquote {
@@ -220,22 +209,35 @@ div.content-wrapper {
220209 display : table;
221210 clear : both;
222211}
223- section . main-content > article {
212+ article {
224213 margin-top : 1.3125rem ;
225214 padding-bottom : 3.5rem ;
226215}
227216
228217/* Breadcrumbs rules */
229- ul .breadcrumbs {
230- padding : 0.5rem 0 ;
218+ header {
231219 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 ;
233231 list-style : none;
232+ display : inline-block;
234233}
235234ul .breadcrumbs li {
236235 display : inline;
237236 vertical-align : baseline;
238237}
238+ ul .breadcrumbs a {
239+ text-decoration : none;
240+ }
239241
240242span .footer-metadata {
241243 display : block;
@@ -314,3 +316,6 @@ aside.left-sidebar::-webkit-scrollbar-thumb {
314316aside .left-sidebar ul {
315317 margin-left : 1rem ;
316318}
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-
31{# Table of Contents #}
42{%- if display_toc %}
53< h2 > Contents</ h2 >
Original file line number Diff line number Diff line change 1212 {%- if favicon %}< link rel ="shortcut icon " href ="{{ pathto('_static/' + favicon, resource=True)|e }} "/> {%- endif %}
1313</ head >
1414< body class ="python pages pep-page ">
15- < header style ="height: 219px; background-color: #2b5b84; "> </ header >
16-
1715 < div class ="content-wrapper ">
18- < section class ="main-content ">
16+ < header >
17+ < h1 > Python Enhancement Proposals</ h1 >
1918 < ul class ="breadcrumbs ">
2019 < li > < a href ="{{ theme_root_url }} " title ="The Python Programming Language "> Python</ a > » </ li >
2120 < li > < a href ="{{ pathto( "pep-0000 ") }}"> PEP Index</ a > » </ li >
2221 < li > {{ title }}</ li >
2322 </ ul >
24- < article class =" text " > {{ body }} </ article >
25- </ section >
23+ </ header >
24+ < article class =" text " > {{ body }} </ article >
2625 < 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 %}
3426 {% include "customsidebar.html" %}
3527 </ aside >
3628 </ div >
3729
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-
4430 < script src ="{{ pathto('_static/doctools.js', resource=True) }} "> </ script >
4531</ body >
4632</ html >
You can’t perform that action at this time.
0 commit comments