2023-01-01 18:41:14 -05:00
|
|
|
$header-height: 80px;
|
|
|
|
|
|
|
|
header {
|
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0px 80px;
|
|
|
|
z-index: 9999;
|
2023-01-02 20:46:39 -05:00
|
|
|
background-color: var(--header);
|
2023-01-01 18:41:14 -05:00
|
|
|
margin: 0 !important;
|
|
|
|
height: $header-height;
|
|
|
|
}
|
|
|
|
|
|
|
|
.book-menu,
|
|
|
|
.book-menu-content,
|
|
|
|
.book-toc-content,
|
|
|
|
.book-page {
|
|
|
|
margin-top: $header-height;
|
|
|
|
}
|
|
|
|
|
|
|
|
.book-header {
|
|
|
|
display: flex;
|
|
|
|
padding: 30px;
|
|
|
|
}
|
|
|
|
|
2023-01-02 20:46:39 -05:00
|
|
|
#page-title a {
|
|
|
|
color: var(--dark);
|
|
|
|
}
|
|
|
|
|
2023-01-01 18:41:14 -05:00
|
|
|
@media screen and (max-width: $mobile-breakpoint) {
|
|
|
|
.book-header {
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
#page-title {
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-search {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
#search-icon {
|
|
|
|
width: 100%;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
header #search-icon {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: $mobile-breakpoint) {
|
|
|
|
.book-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-search {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
header #search-icon {
|
|
|
|
display: block;
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.book-toc-content::-webkit-scrollbar,
|
|
|
|
.book-menu-content::-webkit-scrollbar {
|
|
|
|
width: 10px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2023-01-02 19:45:12 -05:00
|
|
|
pre::-webkit-scrollbar {
|
|
|
|
width: 8px;
|
|
|
|
height: 10px;
|
|
|
|
}
|
|
|
|
|
2023-01-01 18:41:14 -05:00
|
|
|
*::-webkit-scrollbar-thumb {
|
|
|
|
background: grey;
|
|
|
|
border-radius: 8px;
|
|
|
|
// box-shadow: inset 2px 2px 2px hsla(0,0%,100%,.25),inset -2px -2px 2px rgba(0,0,0,.25);
|
|
|
|
}
|
|
|
|
|
|
|
|
*::-webkit-scrollbar-track {
|
|
|
|
// background: linear-gradient(90deg,#434343,#434343 1px,#111 0,#111);
|
|
|
|
background-color: #DDD;
|
2023-01-02 19:45:12 -05:00
|
|
|
}
|
|
|
|
|
2023-01-02 20:46:39 -05:00
|
|
|
.markdown h1,
|
|
|
|
.markdown h2,
|
|
|
|
.markdown h3 {
|
2023-01-02 19:45:12 -05:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
2023-01-02 20:46:39 -05:00
|
|
|
color: var(--secondary);
|
2023-01-02 19:45:12 -05:00
|
|
|
font-size: 3rem;
|
|
|
|
padding-bottom: 1rem;
|
2023-01-02 20:46:39 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.book-toc-content {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.book-menu-content a:hover,
|
|
|
|
.book-toc-content a:hover {
|
|
|
|
opacity: 100%;
|
2023-01-01 18:41:14 -05:00
|
|
|
}
|