Skip to content
Snippets Groups Projects
Commit 150c08bd authored by Benjamin Becker's avatar Benjamin Becker
Browse files

refactors css for skip link

parent 5b03c4d0
No related branches found
No related tags found
No related merge requests found
......@@ -150,6 +150,18 @@ fieldset {
display: none;
}
.trapo-skip-link {
position: fixed;
top: -200px;
text-decoration: none;
padding: 10px;
display: inline-block;
}
.trapo-skip-link:focus {
top: 0;
}
.trapo-logo {
width: 155px;
}
......
This diff is collapsed.
......@@ -237,6 +237,18 @@ fieldset {
display: none;
}
.trapo-skip-link {
position: fixed;
top: -200px;
text-decoration: none;
padding: 10px;
display: inline-block;
&:focus {
top: 0;
}
}
// header
.trapo-logo {
......@@ -1171,7 +1183,6 @@ a.trapo-timerange-submit {
display: flex;
li {
a {
background-color: $trapo-background-dark-gray;
display: flex;
......@@ -1192,7 +1203,6 @@ a.trapo-timerange-submit {
}
&.active {
a {
background-color: $trapo-blue;
color: white;
......
{% ckan_extends %}
{% block skip %}
<a class="skip-link" href="#content">
<a class="trapo-skip-link" href="#content">
Zum Inhalt springen.
</a>
{% endblock skip %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment