This repository was archived by the owner on Jun 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
project_template/_templates/plugin_layouts/sphinx_bootstrap Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -688,11 +688,11 @@ div.flash {
688688 height : 50px
689689}
690690
691- . relations-next {
691+ # relations-next {
692692 right : 35px ;
693693}
694694
695- . relations-prev {
695+ # relations-prev {
696696 left : 35px ;
697697}
698698
@@ -702,35 +702,16 @@ div.flash {
702702 height : 50px ;
703703}
704704
705- .nextprev-list-top {
706- display : none;
707- }
708-
709705@media (max-width : 600px ) {
710-
711- .nextprev-list-top {
712- display : block;
713- }
714706
715707 .navLink {
716708 display : inline-block;
717709 bottom : auto;
718710 position : absolute;
719711 }
720712
721- ul # top-relations-console ,
722- ul # bottom-relations-console {
723- list-style : none;
724- text-align : center;
725- width : 100% ;
726- margin : 0 auto;
727- padding : 40px 0 20px 0 ;
728- }
729-
730- # top-relations-next ,
731- # top-relations-prev ,
732- # bottom-relations-next ,
733- # bottom-relations-prev {
713+ # relations-next ,
714+ # relations-prev {
734715 width : 25% ;
735716 padding : 0 20px ;
736717 display : inline;
Original file line number Diff line number Diff line change 293293< div class ="container " id ="continue-reading "> </ div >
294294
295295< div class ="container " id ="main-content " role ="main ">
296-
297- {% with place='top' %}
298- {% include "subchapter.html" %}
299- {% endwith %}
300-
296+
301297<!-- Ad Serving for Runestone Campaign -->
302298{% if dynamic_pages == 'True' %}
303299 {% raw %}
319315 < div id ="scprogresscontainer ">
320316 You have attempted < span id ="scprogresstotal "> </ span > of < span id ="scprogressposs "> </ span > activities on this page < div id ="subchapterprogress " aria-label ="Page progress "> </ div >
321317 </ div >
322- {% with place='bottom'%}
323- {% include "subchapter.html" %}
324- {% endwith %}
318+
319+ {% include "subchapter.html" %}
320+
325321</ div >
326322{%- endblock %}
327323
Original file line number Diff line number Diff line change 1- < ul role ="navigation " class ="nextprev-list nextprev-list-{{place}} " aria-label ="Change page ">
1+ < ul role ="navigation " class ="nextprev-list nextprev-list " aria-label ="Change page ">
22{%- if prev %}
3- < li id ="relations-prev-{{place}} " class ="relations-prev navLink " title ='Previous Section - {{ prev.title|extractText|extractTextII }} ' data-toggle ="tooltip ">
3+ < li id ="relations-prev " class ="navLink " title ='Previous Section - {{ prev.title|extractText|extractTextII }} ' data-toggle ="tooltip ">
44 < a href ="{{ prev.link|e }} " aria-label ="Previous - {{ prev.title|extractText|extractTextII }} ">
55 < i class ='prevNav glyphicon glyphicon-chevron-left ' style ="top:50%; transform:translateY(-50%)translateX(-50%); left: 50%; color:black; "> </ i >
66 </ a >
77</ li >
88{% endif %}
99
1010{%- if next %}
11- < li id ="relations-next-{{place}} " class ="relations-next navLink " title ='Next Section - {{ next.title|extractText|extractTextII }} ' data-toggle ="tooltip " >
11+ < li id ="relations-next " class ="navLink " title ='Next Section - {{ next.title|extractText|extractTextII }} ' data-toggle ="tooltip " >
1212 < a href ="{{ next.link|e }} " aria-label ="Next - {{ next.title|extractText|extractTextII }} ">
1313 < i id ="relationsNextIcon " class ='nextNav glyphicon glyphicon-chevron-right ' style ="top:50%; transform:translateY(-50%)translateX(-50%); left: 50%; color:black; "> </ i >
1414 </ a >
1818
1919< script >
2020window . addEventListener ( 'load' , ( event ) => {
21- $ ( '#relations-prev-{{place}} ' ) . tooltip ( { 'placement' : 'right' , 'delay' : { show : 100 , hide : 50 } } ) ;
22- $ ( '#relations-next-{{place}} ' ) . tooltip ( { 'placement' : 'left' , 'delay' : { show : 100 , hide : 50 } } ) ;
21+ $ ( '#relations-prev' ) . tooltip ( { 'placement' : 'right' , 'delay' : { show : 100 , hide : 50 } } ) ;
22+ $ ( '#relations-next' ) . tooltip ( { 'placement' : 'left' , 'delay' : { show : 100 , hide : 50 } } ) ;
2323} ) ;
2424</ script >
You can’t perform that action at this time.
0 commit comments