File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,23 @@ body {
43
43
44
44
.menu-container {
45
45
margin-bottom : 1em ;
46
+ margin-top : 1rem ;
46
47
}
47
48
48
49
.menu-container .ui .item .menu {
49
50
justify-content : normal;
50
51
}
51
52
53
+ # skip-link {
54
+ position : absolute;
55
+ top : -200px ;
56
+ }
57
+
58
+ # skip-link : focus {
59
+ position : absolute;
60
+ top : 8px ;
61
+ }
62
+
52
63
footer {
53
64
font-size : x-small;
54
65
text-align : center;
Original file line number Diff line number Diff line change 59
59
{% block menu %}
60
60
{% if menu %}
61
61
< div class ="ui container menu-container ">
62
+ < a id ="skip-link " href ="#submenu "> {% trans %}Skip main menu{% endtrans %}</ a >
62
63
< nav class ="ui stackable labeled icon seven item {% if self.submenu() | trim %}{% if not no_secret_key %}top {% endif %}attached{% endif %} menu ">
63
64
{% if logo_url %}
64
65
< a href ="/ " class ="item logo ">
114
115
{% endif %}
115
116
</ nav >
116
117
{% if self.submenu() | trim %}
117
- < nav class ="ui bottom attached equal width borderless menu ">
118
+ < nav id =" submenu " class ="ui bottom attached equal width borderless menu ">
118
119
{% block submenu %}{% endblock %}
119
120
</ nav >
120
121
{% endif %}
You can’t perform that action at this time.
0 commit comments