hugo-theme-relearn/static/css/hugo-theme.css

87 lines
1.7 KiB
CSS
Raw Normal View History

2016-03-17 20:05:42 +00:00
/* 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;
}
2016-03-17 20:05:42 +00:00
#TableOfContents > ul > li > ul > li > ul li {
margin-right: 8px;
}
2016-03-17 20:05:42 +00:00
#TableOfContents > ul > li > a {
font-weight: bold; padding: 0 18px; margin: 0 2px;
2016-03-17 20:05:42 +00:00
}
#TableOfContents > ul > li > ul > li > a {
font-weight: bold;
2016-03-17 20:05:42 +00:00
}
#TableOfContents > ul > li > ul > li > ul > li > ul > li > ul > li {
display: none;
}
2016-03-17 20:05:42 +00:00
#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%;
}
2016-03-17 20:05:42 +00:00
.progress {
position:absolute;
background-color: rgba(246, 246, 246, 0.97);
width: auto;
border: thin solid #ECECEC;
display:none;
2016-03-18 18:00:27 +00:00
z-index:200;
2016-03-17 20:05:42 +00:00
}
#toc-menu {
border-right: thin solid #DAD8D8 !important;
padding-right: 1rem !important;
margin-right: 0.5rem !important;
}
2016-03-18 18:00:27 +00:00
#sidebar-toggle-span {
border-right: thin solid #DAD8D8 !important;
padding-right: 0.5rem !important;
margin-right: 1rem !important;
}
2016-03-18 18:00:27 +00:00
#top-bar {
z-index: 1000;
}
#top-bar.is_stuck {
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}