Move css overrides out of custom.scss
This commit is contained in:
parent
d30238c981
commit
3c0ee3f703
2 changed files with 42 additions and 43 deletions
|
@ -127,46 +127,3 @@ md: $content-width,
|
|||
lg: $content-width + $nav-width,
|
||||
xl: 1400px
|
||||
);
|
||||
|
||||
.aux-nav a:not([class]), .aux-nav a:not([class]):hover {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.aux-nav .mr-2 {
|
||||
margin-right: 0.1rem !important;
|
||||
}
|
||||
|
||||
.aux-nav a img {
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
pre.highlight, figure.highlight {
|
||||
line-height: 1.2em;
|
||||
}
|
||||
|
||||
pre.highlight code, figure.highlight code {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.navigation-list-item .navigation-list-child-list {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.navigation-list-item .navigation-list-link {
|
||||
padding-top: .35rem;
|
||||
padding-bottom: .45rem;
|
||||
}
|
||||
|
||||
.navigation-list-item > .navigation-list-link:not(:only-child) {
|
||||
padding-bottom: .3rem;
|
||||
}
|
||||
|
||||
.navigation-list-child-list .navigation-list-item .navigation-list-link {
|
||||
padding-top: .25rem;
|
||||
padding-bottom: .3rem;
|
||||
}
|
||||
|
||||
.navigation-list-link:hover {
|
||||
text-decoration: underline;
|
||||
text-decoration-color: rgba($link-color, 0.6);
|
||||
}
|
42
docs/_sass/overrides.scss
Normal file
42
docs/_sass/overrides.scss
Normal file
|
@ -0,0 +1,42 @@
|
|||
.aux-nav a:not([class]), .aux-nav a:not([class]):hover {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.aux-nav .mr-2 {
|
||||
margin-right: 0.1rem !important;
|
||||
}
|
||||
|
||||
.aux-nav a img {
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
pre.highlight, figure.highlight {
|
||||
line-height: 1.2em;
|
||||
}
|
||||
|
||||
code {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.navigation-list-item .navigation-list-child-list {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.navigation-list-item .navigation-list-link {
|
||||
padding-top: .35rem;
|
||||
padding-bottom: .45rem;
|
||||
}
|
||||
|
||||
.navigation-list-item > .navigation-list-link:not(:only-child) {
|
||||
padding-bottom: .3rem;
|
||||
}
|
||||
|
||||
.navigation-list-child-list .navigation-list-item .navigation-list-link {
|
||||
padding-top: .25rem;
|
||||
padding-bottom: .3rem;
|
||||
}
|
||||
|
||||
.navigation-list-link:hover {
|
||||
text-decoration: underline;
|
||||
text-decoration-color: rgba($link-color, 0.6);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue