:root {
	--sidebar-width: 220px;
	--header-height: 50px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	scrollbar-width: thin;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

body {
	display: flex;
	flex-direction: column;
	height: 100vh;
}
a {
  text-decoration: none;
  color: #000;
}
p > a{
    color: blue;
}
.tblue{
    color: blue;
}
.b{
    font-weight: bold;
}
.ml15{
    margin-left:15px;
}
.block{
    display: block;
}
.toolbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: var(--header-height);
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
	display: flex;
	align-items: center;
	padding: 0 1rem;
	z-index: 100;
}

.hamburger {
    width:30px;
    height:30px;
	background: none;
	border: none;
	font-size: 1.4rem;
	cursor: pointer;
}

.brand {
	margin-left: .5rem;
	font-weight: bold;
}

.wrapper {
	display: flex;
	flex: 1;
	max-height: calc(100vh - var(--header-height));
	margin-top: var(--header-height);
}

.sidebar {
	width: var(--sidebar-width);
	background: #f7f7f7;
	border-right: 1px solid #e5e5e5;
	transition: transform .3s;
}

.sidebar-inner {
	position: relative;
	max-height: calc(100% - 41px);
	padding: 1rem;
	overflow-y: auto;
}

.close-btn {
    width:30px;
    height:30px;
	/*position: absolute;*/
	/*top: .5rem;*/
	/*right: .5rem;*/
	background: none;
	border: none;
	font-size: 1.2rem;
	display: none;
	cursor: pointer;
}
.cdBtnN{
	height:40px;
	line-height: 40px;
	border-bottom: 1px solid #e5e5e5;
}
.cdBtnNv{
	width:calc(100% - 0.5px);
	border-right: 1px solid #e5e5e5;
}
.cdBtnNv:last-child{
	border-right: 0;
}
.nav ul {
	list-style: none;
}
/* 根目录不缩进 */
.dir-list {
	display: none;
}

/* 子级默认隐藏 */
.dir-toggle {
	cursor: pointer;
	font-weight: bold;
}

.dir-toggle.open+.dir-list {
	display: block;
}

.nav li.file a {
	display: block;
	padding: .2rem 0;
	color: #0366d6;
	text-decoration: none;
}

.nav li.file a:hover {
	text-decoration: underline;
}

.outline-wrapper{
    display: none;
}
.outline-wrapper h4 {
	margin: .5rem 0 .2rem 0;
	font-size: .9rem;
	color: #555;
}

.outline ul {
	list-style: none;
	padding-left: 1rem;
}

.outline li.level-1 {
	padding-left: 0;
}

.outline li.level-2 {
	padding-left: 1rem;
}

.outline li.level-3 {
	padding-left: 2rem;
}

.outline li.level-4 {
	padding-left: 3rem;
}

.outline li.level-5 {
	padding-left: 4rem;
}

.outline li.level-6 {
	padding-left: 5rem;
}

.content {
	flex: 1;
	padding: 1rem 1.2rem;
	overflow-y: auto;
}
.dgv{
    line-height: 30px;
}
.act::before{
    position: absolute;
    display: inline-block;
    content: '';
    width:30px;
    height:4px;
    background: #999;
    border-radius: 8px;
    bottom: 0;
}
li{
    line-height: 28px;
}
ol{
    margin-left: 40px;
    margin-top:10px;
}
h2{
    margin-top:26px;
}
h3{
    margin-top:16px;
}
h4{
    line-height: 20px;
}
p{
    margin-top:10px;
    text-indent: 32px;
}
._h1{
    padding-bottom: 30px;
}
._h3{
    padding-left: 15px;
}
@media (min-width: 768px) {
    .hamburger,.close-btn{
        display: none;
    }
}
@media (max-width: 768px) {
	.sidebar {
		position: fixed;
		top: var(--header-height);
		left: 0;
		bottom: 0;
		transform: translateX(-100%);
		z-index: 99;
	}
	.sidebar.open {
		transform: translateX(0);
	}
}