lbry.tech/app/sass/partials/_glossary.scss

54 lines
1,003 B
SCSS
Raw Normal View History

2018-12-12 18:15:27 +01:00
// sass-lint:disable no-important
// Refactor of entire CSS is sorely needed
2018-10-01 17:31:49 +02:00
2018-12-12 18:15:27 +01:00
.glossary {
main {
width: calc(100vw - 200px);
margin-left: 200px;
}
2018-12-12 18:15:27 +01:00
.page__header-wrap,
.page__content {
.inner-wrap {
max-width: initial;
margin-left: 1rem;
}
}
}
2018-07-20 00:36:48 +02:00
.component--glossary-toc {
2018-12-12 18:15:27 +01:00
width: 200px; height: calc(100vh - 4rem);
bottom: 0; left: 0;
2018-07-20 00:36:48 +02:00
2018-10-13 00:29:53 +02:00
background-color: $lbry-white;
2018-12-12 18:15:27 +01:00
border-right: 1px solid $lbry-gray-1;
font-size: 0.8rem;
line-height: 1.33;
overflow-x: hidden;
overflow-y: auto;
2018-12-12 18:15:27 +01:00
padding-top: 0.25rem !important;
padding-left: 0 !important;
position: fixed;
2018-07-20 00:36:48 +02:00
z-index: 1;
2018-12-12 18:15:27 +01:00
li {
list-style-type: none !important;
2018-10-01 17:31:49 +02:00
2018-12-12 18:15:27 +01:00
&:hover {
background-color: $lbry-gray-2;
2018-10-01 17:31:49 +02:00
}
2018-12-12 18:15:27 +01:00
&:last-of-type {
margin-bottom: 1rem;
}
2018-10-01 17:31:49 +02:00
2018-12-12 18:15:27 +01:00
a {
padding: 0.25rem 0.5rem 0.25rem 0.75rem;
background-image: none !important;
color: inherit !important;
display: block !important;
text-shadow: none !important;
2018-10-01 17:31:49 +02:00
}
}
2018-07-27 17:18:29 +02:00
}