mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-27 00:28: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 "custom-variables";
|
||||||
@import "node_modules/bootstrap/scss/bootstrap";
|
@import "node_modules/bootstrap/scss/bootstrap";
|
||||||
|
|
||||||
body, .pad-top {
|
|
||||||
padding-top: 50px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
padding: 40px 15px;
|
padding: 40px 15px;
|
||||||
}
|
}
|
||||||
@@ -79,8 +75,7 @@ ins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.skip-link {
|
.skip-link {
|
||||||
background: $info;
|
background: $dark;
|
||||||
color: $white;
|
|
||||||
outline: unset;
|
outline: unset;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
@@ -91,7 +86,7 @@ ins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.skip-link:focus {
|
.skip-link:focus {
|
||||||
transform: translateY(0%);
|
transform: translateY(45px); /* TODO Remove absolute positioning */
|
||||||
}
|
}
|
||||||
|
|
||||||
html.embedded {
|
html.embedded {
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
<a class="skip-link" href='#main'>Skip to content</a>
|
<a class="skip-link" href='#main'>Skip to content</a>
|
||||||
{% include "analytics.html" %}
|
{% include "analytics.html" %}
|
||||||
{% block navbar %}
|
{% 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">
|
<div class="container">
|
||||||
{% block titleheader %}
|
{% block titleheader %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user