53 lines
1,003 B
SCSS
53 lines
1,003 B
SCSS
// sass-lint:disable no-important
|
|
// Refactor of entire CSS is sorely needed
|
|
|
|
.glossary {
|
|
main {
|
|
width: calc(100vw - 200px);
|
|
margin-left: 200px;
|
|
}
|
|
|
|
.page__header-wrap,
|
|
.page__content {
|
|
.inner-wrap {
|
|
max-width: initial;
|
|
margin-left: 1rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.component--glossary-toc {
|
|
width: 200px; height: calc(100vh - 4rem);
|
|
bottom: 0; left: 0;
|
|
|
|
background-color: $lbry-white;
|
|
border-right: 1px solid $lbry-gray-1;
|
|
font-size: 0.8rem;
|
|
line-height: 1.33;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
padding-top: 0.25rem !important;
|
|
padding-left: 0 !important;
|
|
position: fixed;
|
|
z-index: 1;
|
|
|
|
li {
|
|
list-style-type: none !important;
|
|
|
|
&:hover {
|
|
background-color: $lbry-gray-2;
|
|
}
|
|
|
|
&:last-of-type {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
a {
|
|
padding: 0.25rem 0.5rem 0.25rem 0.75rem;
|
|
background-image: none !important;
|
|
color: inherit !important;
|
|
display: block !important;
|
|
text-shadow: none !important;
|
|
}
|
|
}
|
|
}
|