mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-23 14:58:23 +00:00
Stop the navbar from sticking to the top of screen
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,10 +1,6 @@
|
||||
@import "custom-variables";
|
||||
@import "node_modules/bootstrap/scss/bootstrap";
|
||||
|
||||
body, .pad-top {
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
#content {
|
||||
padding: 40px 15px;
|
||||
}
|
||||
@@ -79,8 +75,7 @@ ins {
|
||||
}
|
||||
|
||||
.skip-link {
|
||||
background: $info;
|
||||
color: $white;
|
||||
background: $dark;
|
||||
outline: unset;
|
||||
height: 30px;
|
||||
left: 50%;
|
||||
@@ -91,7 +86,7 @@ ins {
|
||||
}
|
||||
|
||||
.skip-link:focus {
|
||||
transform: translateY(0%);
|
||||
transform: translateY(45px); /* TODO Remove absolute positioning */
|
||||
}
|
||||
|
||||
html.embedded {
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<a class="skip-link" href='#main'>Skip to content</a>
|
||||
{% include "analytics.html" %}
|
||||
{% block navbar %}
|
||||
<nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-dark" role="navigation">
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark" role="navigation">
|
||||
<div class="container">
|
||||
{% block titleheader %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user