git ssb

0+

Grey the earthling / gkn.me.uk



Commit 09853b2cb333cee284b5dd42cb21a933dbdc1b66

Add and remove visually-hidden <hr>

Improve layout in text-mode browsers (i.e. links).

In the graphical layout, adjacent sets of links are styled differently.
In text-mode, use an <hr> instead.
Greg K Nicholson committed on 2/16/2018, 5:58:34 PM
Parent: 173a8cf5c44e8a852fa2ab25bb86b1d88de44ae6

Files changed

themes/ran/templates/archives.htmlchanged
themes/ran/templates/article.htmlchanged
themes/ran/templates/base.htmlchanged
themes/ran/templates/period_archives.htmlchanged
themes/ran/templates/tag.htmlchanged
themes/ran/templates/archives.htmlView
@@ -28,8 +28,7 @@
2828 </li>
2929 {%- endif -%}
3030 {%- endfor -%}
3131 </ul>
32- <hr class="visuallyhidden">
3332 </section>
3433 {%- endblock -%}
3534
themes/ran/templates/article.htmlView
@@ -149,8 +149,9 @@
149149 </a>
150150 </li>
151151 {%- endfor -%}
152152 </ul>
153 + <hr class="visuallyhidden">
153154 {%- endif -%}
154155 <nav class="nearby">
155156 <ul>
156157 {%- if article.prev_article -%}
themes/ran/templates/base.htmlView
@@ -82,8 +82,9 @@
8282 </main>
8383 {%- endblock -%}
8484 <section class="bottomnav">
8585 {%- block bottomnav -%}
86 + <hr class="visuallyhidden">
8687 <nav>
8788 {{- self.logo() -}}
8889 </nav>
8990 {%- endblock -%}
themes/ran/templates/period_archives.htmlView
@@ -30,9 +30,8 @@
3030 </a>
3131 </li>
3232 {%- endfor -%}
3333 </ul>
34- <hr class="visuallyhidden">
3534 </section>
3635 {%- elif period | length == 2 and
3736 dates | unique(attribute="date.day") | list | length > 1 -%}
3837 <section class="smalllinks">
@@ -52,9 +51,8 @@
5251 </a>
5352 </li>
5453 {%- endfor -%}
5554 </ul>
56- <hr class="visuallyhidden">
5755 </section>
5856 {%- endif -%}
5957 {%- endblock -%}
6058 {%- block maincontent -%}
@@ -177,7 +175,8 @@
177175 {%- endif -%}
178176 {%- endfor -%}
179177 </ul>
180178 </nav>
179 + <hr class="visuallyhidden">
181180 {{- super() -}}
182181 {%- endblock -%}
183182
themes/ran/templates/tag.htmlView
@@ -41,7 +41,8 @@
4141 {%- endif -%}
4242 {%- endfor -%}
4343 </ul>
4444 </nav>
45 + <hr class="visuallyhidden">
4546 {{- super() -}}
4647 {% endblock %}
4748

Built with git-ssb-web