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

139 lines
3.1 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: #0082a7; /*#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);
}
2016-03-27 12:24:51 +00:00
.btn {
display: inline-block !important;
padding: 6px 12px !important;
margin-bottom: 0 !important;
font-size: 14px !important;
font-weight: normal !important;
line-height: 1.42857143 !important;
text-align: center !important;
white-space: nowrap !important;
vertical-align: middle !important;
-ms-touch-action: manipulation !important;
touch-action: manipulation !important;
cursor: pointer !important;
-webkit-user-select: none !important;
-moz-user-select: none !important;
-ms-user-select: none !important;
user-select: none !important;
background-image: none !important;
border: 1px solid transparent !important;
border-radius: 4px !important;
-webkit-transition: all 0.15s !important;
-moz-transition: all 0.15s !important;
transition: all 0.15s !important;
}
.btn:focus {
/*outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;*/
outline: none !important;
}
.btn:hover,
.btn:focus {
color: #2b2b2b !important;
text-decoration: none !important;
}
.btn-default {
color: #333 !important;
background-color: #fff !important;
border-color: #ccc !important;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active {
color: #fff !important;
background-color: #9e9e9e !important;
border-color: #9e9e9e !important;
}
.btn-default:active {
background-image: none !important;
}