File tree Expand file tree Collapse file tree 4 files changed +22
-20
lines changed
Expand file tree Collapse file tree 4 files changed +22
-20
lines changed Original file line number Diff line number Diff line change 1717 {% if update_list.size > 0 %}
1818
1919 < div id ="access-lastmod " class ="post ">
20- < h3 data-toc-skip >
21- {{- site.data.label.panel.lastmod -}}
22- </ h3 >
20+ < span > {{- site.data.label.panel.lastmod -}}</ span >
2321 < ul class ="post-content pl-0 pb-1 ml-1 mt-2 ">
2422
2523 {% for item in update_list %}
@@ -44,25 +42,24 @@ <h3 data-toc-skip>
4442
4543 {% if trending_tags.size > 0 %}
4644 < div id ="access-tags ">
47- < h3 data-toc-skip >
48- {{- site.data.label.panel.trending_tags -}}
49- </ h3 >
45+ < span > {{- site.data.label.panel.trending_tags -}}</ span >
5046 < div class ="d-flex flex-wrap mt-3 mb-1 mr-3 ">
51-
47+
5248 {% for tag in trending_tags %}
5349 {% capture url %}/tags/{{ tag | downcase | url_encode }}/{% endcapture %}
5450 < a class ="post-tag " href ="{{ url | relative_url }} "> {{ tag | replace: '-', ' ' }}</ a >
5551 {% endfor %}
52+
5653 </ div >
5754 </ div >
5855 {% endif %}
5956 </ div > <!-- .access -->
6057
6158 {% if page.layout == 'post' and site.toc and page.toc %}
6259 < div id ="toc-wrapper " class ="pl-0 pr-4 mb-5 ">
63- < h3 data-toc-skip class ="pl-3 pt-2 mb-2 ">
60+ < span class ="pl-3 pt-2 mb-2 ">
6461 {{- site.data.label.panel.toc -}}
65- </ h3 >
62+ </ span >
6663 < nav id ="toc " data-toggle ="toc "> </ nav >
6764 </ div >
6865 {% endif %}
Original file line number Diff line number Diff line change @@ -516,20 +516,15 @@ footer {
516516 & .topbar-down {
517517 top : 6rem ;
518518 }
519- >div {
519+ > div {
520520 padding-left : 1rem ;
521521 border-left : 1px solid var (--main-border-color );
522522 & :not (:last-child ) {
523523 margin-bottom : 4rem ;
524524 }
525525 }
526- h3 {
527- padding-top : .5rem ;
528- padding-bottom : .5rem ;
529- margin-top : 0 ;
530- margin-bottom : 0 ;
531- letter-spacing : -0.02em ;
532- @include label (inherit , 600 );
526+ span {
527+ @include panel-label ;
533528 }
534529 .post-content {
535530 font-size : .9rem ;
Original file line number Diff line number Diff line change 9999 font-family : ' Roboto Condensed' , ' Microsoft Yahei' , sans-serif ;
100100}
101101
102+ @mixin panel-label {
103+ display : block ;
104+ line-height : 1.2 ;
105+ padding-top : .5rem ;
106+ padding-bottom : .5rem ;
107+ margin-top : 0 ;
108+ margin-bottom : 0 ;
109+ letter-spacing : -0.02em ;
110+ @include label (inherit );
111+ }
112+
102113@mixin align-center {
103114 position : relative ;
104115 left : 50% ;
Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ $prompt-newer: "{{ site.data.label.post.button.next }}";
132132}
133133
134134#toc-wrapper {
135- margin-top : 7rem ;
136135 border-left : 1px solid rgba (158 , 158 , 158 , 0.17 );
137136 position : -webkit-sticky ;
138137 position : sticky ;
@@ -142,8 +141,8 @@ $prompt-newer: "{{ site.data.label.post.button.next }}";
142141 & .topbar-down {
143142 top : 6rem ;
144143 }
145- >h3 {
146- @include label ( inherit , 600 ) ;
144+ > span {
145+ @include panel- label ;
147146 }
148147}
149148
You can’t perform that action at this time.
0 commit comments