1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Added a "skip to content" link.

Closes #2810
This commit is contained in:
Dan Brown
2021-06-15 20:58:45 +01:00
parent 7d951b842c
commit 3dda622f0a
8 changed files with 24 additions and 4 deletions

View File

@ -136,6 +136,23 @@ $btt-size: 40px;
}
}
.skip-to-content-link {
position: fixed;
top: -$-xxl;
left: 0;
background-color: #FFF;
z-index: 15;
border-radius: 0 4px 4px 0;
display: block;
box-shadow: $bs-dark;
font-weight: bold;
&:focus {
top: $-xl;
outline-offset: -10px;
outline: 2px dotted var(--color-primary);
}
}
.contained-search-box {
display: flex;
height: 38px;