{% extends "!layout.html" %}
  {% block footer %} {{ super() }}

  <style>
  	a {
    color: #E0D0A9;
	}
	a:visited {/*展开的目录颜色*/
    color: #8DB6CD;
	}
	
  a.navlink:visited{
    color: #2980B9;
  }
	
  .rst-content {
    width: 120%;
  }
  html{
    scroll-padding-top: 66px;
  }
  #myBtn {
    display: none; /* 默认隐藏 */
    position: fixed; 
    bottom: 30px; 
    right: 30%; 
    z-index: 99; 
    border: none;
    outline: none; 
    
    color: white; /* 文本颜色 */
    cursor: pointer; 
    padding: 8px; 
    border-radius: 50%;
    width: 60px;
    height: 60px;
    vertical-align:middle;
    text-align: center;
    line-height: 23px;
    background: url(../img/top2.png) no-repeat center #D9D9D9;
}
 
#myBtn:hover {
    background-color: rgb(184, 184, 184); 
}



    .wy-nav-content-wrap {
    background: rgba(255, 255, 255, 0.05);
  }

	.wy-side-nav-search>a.icon-home {
    color: #E0D0A9;
	}	
	
	.wy-side-nav-search>a.icon-home img.logo {
    width: 70%;
    height: 60%;
    padding: 0;
	}

	.wy-side-nav-search>div.version {/*版本号颜色*/
    color: #8DB6CD;
    font-weight: bold;
	}
    /* Sidebar header (and topbar for mobile) */
    .wy-side-nav-search, .wy-nav-top {
      background: #102031;
    }
    /* Sidebar */
    .wy-nav-side {
      background: #102031;
    }
    .wy-side-nav-search input[type=text] {
    border-radius: 15px;
    border-color: #FFFFFF;
	}
  .wy-menu-vertical{ /*目录底部留白*/
    padding-bottom: 44px;
  }
  .wy-menu-vertical header, .wy-menu-vertical p.caption {/*目录标题*/
    color: #FFFFFF; /*标题字体颜色*/
    text-transform: capitalize; /*标题字体大小写*/
    padding-left: 16px;
    font-size: 15px;
    font-weight: 560;
    font-family: Arial, Helvetica, sans-serif;
  }
  
  .wy-table-responsive table td, .wy-table-responsive table th {/*表格换行*/
    white-space: pre-wrap;
  }
  .wy-table thead, .rst-content table.docutils thead, .rst-content table.field-list thead {/*表格标题居中*/
    text-align: center;
  }
  .wy-menu-vertical a:hover {
    background-color: transparent;
    color: #cfe0ecb2;
  }
  .rst-content dl:not(.docutils) dt {
    display: table;
    margin: 6px 0;
    font-size: 90%;
    line-height: normal;
    background: #e7f2fa;;
    color: #2980B9;
    border-top: none;
    border-left: solid 3px #6ab0de;
    padding: 6px;
    position: relative;
  } 
  .rst-content dl:not(.docutils) dl dt{
    display: table;
    margin: 6px 0;
    font-size: 90%;
    line-height: normal;
    background: #e7f2fa;;
    color: #2980B9;
    border-top: none;
    border-left: solid 3px #6ab0de;
    padding: 6px;
    position: relative;
  }
  
  /* override table width restrictions as found on https://github.com/getpelican/pelican/issues/1311 */
	/*.wy-table-responsive table td, .wy-table-responsive table th {
		white-space: normal;
	}

	.wy-table-responsive {
		margin-bottom: 24px;
		max-width: 100%;
		overflow: visible;
	}

  .rst-content div.figure p.caption {
    font-style: italic;
    text-align: center;
}*/
 


/*contents折叠*/	
.toggle .header {
    display: block;
    clear: both;
}

.toggle .header:after {
    content: " ▶";
}

.toggle .header.open:after {
    content: " ▼";
}  

.math {
  text-align: left;
}

.eqno {
  float: right;
}
  </style>
{% endblock %}



/* 盒子模型效果. */
@media screen and (min-width: 450px){
	.tocdescr {
		display: flex; display: -webkit-flex;
		flex-flow: row wrap; -webkit-flex-flow: row wrap;  /*换行*/
		justify-content: space-between; -webkit-justify-content: space-between;
		align-items: flex-start; -webkit-align-items: flex-start;
		align-content: flex-start; -webkit-align-content: flex-start;
		list-style-type: none;
		margin-bottom: 10px;
	}
	/*占位*/
	.tocdescr:after {
		content: ""; /*给链接添加名称*/
		flex: 1 0 33.3%; -webkit-flex: 1 0 33.3%;
		margin-left: 65px;
		align-self: stretch; -webkit-align-self: stretch;  /*对齐元素*/
	}

  #myBtn {
    right: 2%; 
  }
}

@media screen and (max-width: 450px) {
	.tocdescr {
		display: flex; display: -webkit-flex;
		flex-flow: row wrap; -webkit-flex-flow: row wrap;
		justify-content: space-between; -webkit-justify-content: space-between;
		align-items: flex-start; -webkit-align-items: flex-start;
		align-content: flex-start; -webkit-align-content: flex-start;
		list-style-type: none;
		margin-bottom: 10px;
	}
  /*占位*/
	.tocdescr:after {
		content: "";
		flex: none; -webkit-flex: none;
	}

  .rst-content {
    width: 100%;
}

#myBtn {
  right: 2%; 
}
}

@media screen and (min-width: 769px){
  .descr {
    flex: 2 0 33.3%; -webkit-flex: 33.3%; 
    padding: 16px;
    margin: 8px;
    border-radius: 3px;
    user-select: none;
    color: #0C2636;
    font-size: 12px;
    height: 160px;
    display: flex;
    flex-flow: row nowrap;/* 设置向两边对齐 */
    justify-content: space-between;
    align-content: flex-start;
    background-color: #FFFFFF;
  }
}

@media screen and (max-width: 768px){
  .descr {
    flex: 2 0 33.3%; -webkit-flex: 33.3%; 
    padding: 16px;
    margin: 8px;
    border-radius: 3px;
    user-select: none;
    color: #0C2636;
    font-size: 12px;
    height: 160px;
    display: flex;
    flex-flow: column nowrap;/* 设置向上下对齐 */
    justify-content: space-between;
    align-content: flex-start;
    background-color: #FFFFFF;
    width: 100%;
    height: 330px;
  }

}

.descr figure,
.descr div.figure,

.descr_text
{ 
  text-align: left;
}

.descr_image
{ 
  text-align: right; 
}

/*盒子阴影*/
.descr {
	box-shadow: 0px 0px 3px #686666;
}


@media screen and (min-width: 768px){
.update_list {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: fixed;	        /* 设置fixed固定定位 */
  top: 0;		/* 距离浏览器窗口上边框距离 */
  left: 300px;
  width: 100%;   /* 悬浮窗宽度 */
  height: 65px;
  font-size: 1em; /*文本大小 */
  font-weight: bold;
  color: rgb(114, 108, 108);			/* 文本颜色 */
  background-color: white;		/* 设置背景颜色 */
  letter-spacing: 0.06em;		/* 设置文字间距 */
  z-index: auto;
  -webkit-box-shadow: 0px 1px 1px #e1e1e1;
  -moz-box-shadow: 0px 1px 1px #e1e1e1;
  box-shadow: 0px 1px 1px #e1e1e1;
}
.rst-content{
  margin-top: 65px;
  width: 100%;
}
.tagtag{
  margin-left: 30px;
  display: flex;
  align-items: center;
}

#myBtn {
  right: 2%; 
}

}

@media screen and (max-width: 768px) {
.update_list {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: fixed;	        /* 设置fixed固定定位 */
  top: 0;		/* 距离浏览器窗口上边框距离 */
  left: 0;
  width: 100%;   /* 悬浮窗宽度 */
  height: 50px;
  font-size: 1em; /*文本大小 */
  font-weight: bold;
  color: rgb(114, 108, 108);			/* 文本颜色 */
  background-color: white;		/* 设置背景颜色 */
  letter-spacing: 0.06em;		/* 设置文字间距 */
  z-index: auto;
  -webkit-box-shadow: 0px 1px 1px #e1e1e1;
  -moz-box-shadow: 0px 1px 1px #e1e1e1;
  box-shadow: 0px 1px 1px #e1e1e1;
}

.wy-nav-content-wrap{
  margin-top: 50px;
}
.tagtag{
  width: fit-content;
  margin-left: 20px;
  display: flex;
  align-items: center;
}
.to_hide{
  display: none;
}

.rst-content {
  width: 100%;
}
#myBtn {
  right: 2%; 
}

}

@media screen and (min-width: 1281px){

  .rst-content{
    width: 120%;
  }

  #myBtn {
    right: 2%; 
  }
}
 
@media screen and (min-width: 1282px) and (max-width: 1899px) {

  .rst-content{
    width: 120%;
  }

  #myBtn {
    left: 1260px; 
  }
}


@media screen and (min-width: 1900px){

  .rst-content{
    width: 120%;
  }

  #myBtn {
    right: 30%; 
  }
}





kbd {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -o-border-radius: 4px;
  -khtml-border-radius: 4px;
  border-radius: 4px;
  border-style: outset;
  border: 1px solid #aaa;
  background: #fafafa;
  padding: 0px 3px 1px 3px;
  margin: 0px 0px 0px 0px;
  vertical-align: baseline;
  line-height: 1.8em;
  white-space: nowrap;
}