mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.git
synced 2024-11-18 14:49:16 +00:00
feat: move docsy overrides to a separate file
This commit is contained in:
parent
082e0c37be
commit
9077451d1e
|
@ -1,32 +1,4 @@
|
|||
.td-navbar {
|
||||
background: $dark;
|
||||
min-height: 5rem;
|
||||
.navbar-brand__name {
|
||||
display: none;
|
||||
}
|
||||
.nav-link {
|
||||
color: $secondary !important;
|
||||
font-weight: 600;
|
||||
}
|
||||
.nav-link:hover, .nav-link.active{
|
||||
background-color: #616161;
|
||||
color: white;
|
||||
border-radius: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.td-breadcrumbs__single {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.td-navbar .td-navbar-nav-scroll {
|
||||
height: unset !important;
|
||||
margin-top: unset !important;
|
||||
}
|
||||
|
||||
.td-navbar .td-navbar-nav-scroll .nav-link {
|
||||
padding: .5rem 1.5rem;
|
||||
}
|
||||
@import "docsy_overrides";
|
||||
|
||||
.sp-footer a.nav-link span {
|
||||
width: 2rem;
|
||||
|
@ -40,10 +12,6 @@
|
|||
margin: auto;
|
||||
}
|
||||
|
||||
.td-navbar .td-navbar-nav-scroll .navbar-nav {
|
||||
padding-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
margin-right: .5rem !important;
|
||||
}
|
||||
|
|
74
assets/scss/docsy_overrides.scss
Normal file
74
assets/scss/docsy_overrides.scss
Normal file
|
@ -0,0 +1,74 @@
|
|||
.td-navbar {
|
||||
background: $dark;
|
||||
min-height: 5rem;
|
||||
.navbar-brand__name {
|
||||
display: none;
|
||||
}
|
||||
.nav-link {
|
||||
color: $secondary !important;
|
||||
font-weight: 600;
|
||||
}
|
||||
.nav-link:hover, .nav-link.active{
|
||||
background-color: #616161;
|
||||
color: white;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.td-navbar-nav-scroll {
|
||||
height: unset !important;
|
||||
margin-top: unset !important;
|
||||
}
|
||||
.td-navbar-nav-scroll .nav-link {
|
||||
padding: .5rem 1.5rem;
|
||||
}
|
||||
.td-navbar-nav-scroll .navbar-nav {
|
||||
padding-bottom: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.td-breadcrumbs__single {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.td-sidebar-nav .td-sidebar-link__page,
|
||||
ul.ul-2>.td-sidebar-nav__section-title a {
|
||||
color: #616161 !important;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
ul.ul-2>.td-sidebar-nav__section-title a:hover {
|
||||
color: $blue !important;
|
||||
}
|
||||
|
||||
.td-toc ul {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.td-toc li {
|
||||
display: block;
|
||||
padding-bottom: .5rem;
|
||||
}
|
||||
|
||||
.td-toc a{
|
||||
display: inline !important;
|
||||
}
|
||||
|
||||
.tab-content .tab-pane {
|
||||
border: 1px solid rgba(0, 0, 0, 0.125) !important;
|
||||
border-radius: 0px .25rem .25rem .25rem;
|
||||
}
|
||||
|
||||
.nav-tabs {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.nav-tabs a:not(.active).nav-link:hover {
|
||||
background-color: #0d6efd11;
|
||||
}
|
||||
|
||||
.td-content ul li, .td-content ol li {
|
||||
margin-bottom: unset !important;
|
||||
}
|
||||
|
||||
.tab-content div {
|
||||
transition: none;
|
||||
}
|
Loading…
Reference in a new issue