mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 14:18:01 +08:00
87 lines
1.7 KiB
CSS
87 lines
1.7 KiB
CSS
/* Insert here special css for hugo theme, on top of any other imported css */
|
|
|
|
|
|
/* Table of contents */
|
|
|
|
.progress ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0 5px;
|
|
}
|
|
|
|
#TableOfContents {
|
|
font-size: 13px !important;
|
|
max-height: 85vh;
|
|
overflow: auto;
|
|
padding: 15px !important;
|
|
}
|
|
|
|
|
|
#TableOfContents > ul > li > ul > li > ul li {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
#TableOfContents > ul > li > a {
|
|
font-weight: bold; padding: 0 18px; margin: 0 2px;
|
|
}
|
|
|
|
#TableOfContents > ul > li > ul > li > a {
|
|
font-weight: bold;
|
|
}
|
|
|
|
#TableOfContents > ul > li > ul > li > ul > li > ul > li > ul > li {
|
|
display: none;
|
|
}
|
|
|
|
#body a.highlight, #body a.highlight:hover, #body a.highlight:focus {
|
|
text-decoration: none;
|
|
outline: none;
|
|
outline: 0;
|
|
}
|
|
#body a.highlight {
|
|
line-height: 1.1;
|
|
display: inline-block;
|
|
}
|
|
#body a.highlight:after {
|
|
display: block;
|
|
content: "";
|
|
height: 1px;
|
|
width: 0%;
|
|
background-color: #CE3B2F;
|
|
-webkit-transition: width 0.5s ease;
|
|
-moz-transition: width 0.5s ease;
|
|
-ms-transition: width 0.5s ease;
|
|
transition: width 0.5s ease;
|
|
}
|
|
#body a.highlight:hover:after, #body a.highlight:focus:after {
|
|
width: 100%;
|
|
}
|
|
.progress {
|
|
position:absolute;
|
|
background-color: rgba(246, 246, 246, 0.97);
|
|
width: auto;
|
|
border: thin solid #ECECEC;
|
|
display:none;
|
|
z-index:200;
|
|
}
|
|
|
|
#toc-menu {
|
|
border-right: thin solid #DAD8D8 !important;
|
|
padding-right: 1rem !important;
|
|
margin-right: 0.5rem !important;
|
|
}
|
|
|
|
#sidebar-toggle-span {
|
|
border-right: thin solid #DAD8D8 !important;
|
|
padding-right: 0.5rem !important;
|
|
margin-right: 1rem !important;
|
|
}
|
|
|
|
#top-bar {
|
|
z-index: 1000;
|
|
}
|
|
|
|
#top-bar.is_stuck {
|
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
|
|
}
|