Merge pull request 'Fix tab borders in docs' (#107) from nevfy/selfprivacy.org:fix-tabs into master
continuous-integration/drone/push Build is passing Details

Reviewed-on: #107
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
pull/115/head
Inex Code 2024-02-12 15:18:52 +02:00
commit 174bcb1d4e
1 changed files with 38 additions and 0 deletions

View File

@ -144,6 +144,44 @@ li:has(input[type="checkbox"]) {
font-weight: 600;
}
.tab-content {
.tab-pane {
border: none !important;
box-shadow: $shadow;
}
div {
transition: none;
}
}
.nav-tabs {
border: none !important;
.nav-item {
.nav-link {
border: none !important;
box-shadow: $shadow;
margin-bottom: -4px;
}
.nav-link.active {
border-color: transparent transparent white transparent !important;
}
}
a:not(.active).nav-link:hover {
background-color: #0d6efd11;
}
}
.tab-body {
background-color: white;
border: none !important;
position: relative;
z-index: 1;
h3:before {
content: none;
}
}
@media (min-width: 768px) {
.td-sidebar {
padding-top: 5rem;