/* 
网站色盘
purple: rgb(84, 13, 110);
red: rgb(238, 66, 102);
yello: rgb(255, 210, 63);
cyanBlue: rgb(59, 206, 172);
green: rgb(14, 173, 105);
*/

@font-face {
    font-family: 'Roboto';
    src: url('font/Roboto-Bold.ttf');
    src: url('font/Roboto-Medium.ttf');
}

body {
    font-family: "Roboto", "Arial", "Microsoft YaHei", "黑体", "宋体", sans-serif;
    margin: 0;
    padding: 0;
}

.navBar {
    /* display: block; */
    /* margin-left: -10px;
margin-right: -10px; */
    /* background-color: rgba(14, 173, 105);
    display: flex;
    height: 50px;
    width: 100%;
    align-items: center; */
    /* margin-right: -10px; */
    /* overflow: hidden; */
}

#navDiv {
    background-color: rgba(14, 173, 105, 0.8);
    display: flex;
    height: 50px;
    /* margin: 0; */
    align-items: center;
    overflow: hidden;
}

#topLogo img {
    margin-left: 10px;
    margin-right: 10px;
    /* margin-top: 8px; */
}

#topSlogan {
    font-weight: 600;
    font-size: 0.8em;
    letter-spacing: 2px;
    color: white;
    width: 220px;
    height: 50px;
    display: none;
    flex-direction: column;
    animation: show 10s linear infinite;
}

#topSlogan>div {
    padding: 20px 6px 10px 10px;
    height: 60px;
    /* display: block; */
    width: 210px;
    margin-bottom: 50px;
}

#topSlogan div {
    background-color: rgb(84, 13, 110);
}

#topSlogan div:first-child {
    background-color: rgb(59, 206, 172);
}

#topSlogan div:last-child {
    background-color: rgb(238, 66, 102);
}

@keyframes show {
    0% {
        margin-top: -550px;
    }
    2% {
        margin-top: -440px;
    }
    20% {
        margin-top: -360px;
    }
    38% {
        margin-top: -205px;
    }
    66% {
        margin-top: -155px;
    }
    71% {
        margin-top: -105px;
    }
    99.99% {
        margin-top: -10px;
    }
    100% {
        margin-top: -550px;
    }
}

#navOpt {
    list-style: none;
    display: flex;
    font-size: 20px;
    font-weight: 600;
    color: white;
    text-align: center;
    padding: 10px 10px;
    flex-grow: 2;
    justify-content: flex-end;
}

.nav {
    margin-left: 10px;
    margin-right: 10px;
    font-size: 0.8em;
}

.nav a {
    text-decoration: none;
    color: white;
}

.nav a:hover {
    color: rgb(238, 66, 102);
}

header {
    height: 80px;
    width: auto;
    /* margin-left: -10px;
margin-right: -10px; */
    background-color: rgba(238, 66, 102, 0.8);
    font-size: 0.7em;
    display: block;
}

.bannerParent {
    color: white;
    /* line-height: 1.5em; */
}

.bannerParent>div {
    padding: 5px 10px;
}

#banner {
    display: block;
    background-color: rgba(84, 13, 110, 0.8);
    font-weight: bold;
    padding: 5px 10px;
}


/*
从这里开始是mdk markdown自然转出的css代码：
*可任意修改样式，或恢复预设值，保存后生效
相对“默认样式”而作的修改会用  红色 标注*/

video {
    display: block;
    width: 480px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}

.output_wrapper
/*此属性为全局*/

{
    font-size: 0.8em;
    color: #3e3e3e;
    line-height: 1.6;
    word-spacing: 0px;
    letter-spacing: 0px;
    font-family: "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    padding: 5px 20px;
    margin-top: 10px;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 10px;
    border: 3px solid rgba(14, 173, 105, 0.5);
    border-radius: 10px;
}


/*
.output_wrapper * {
    font-size: inherit;
    color: inherit;
    line-height: inherit;
    margin: 0px;
    padding: 0px;
}
*/

p {
    /*段落*/
    margin: 1.5em 0px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 1.5em 0px;
    font-weight: bold;
}

h1 {
    font-size: 3em;
}

h2 {
    font-size: 2.5em;
}

h3 {
    font-size: 3em;
}

h4 {
    font-size: 1.2em;
}

h5 {
    font-size: 1em;
}

h6 {
    font-size: 1em;
}

h3
/*增加对h3标题属性的修改*/

{
    border-bottom: 2px solid rgb(14, 173, 105);
    margin-bottom: 50px;
    font-size: 1em;
}

h3 span {
    /*增加对h3标题字体的修改*/
    display: inline-block;
    background: rgb(14, 173, 105);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 5px;
    box-shadow: 5px 5px 10px black;
}

h3 span:before {
    /*增加对h3标题before 属性*/
    content: ". ";
    /*你可以参考这种方法，把它改为图片*/
    color: #159957;
}

ul,
ol {
    padding-left: 32px;
}

ul {
    /*无序列表*/
    list-style-type: disc;
}

ol {
    /*有序列表*/
    list-style-type: decimal;
}

li * {
    /* color: #3e3e3e;*/
}

li {
    /*在公众号下，改变不了li符号的属性（如颜色），并会影响其子元素的属性;而在其它博客平台中，则能正常使用*/
    margin-bottom: 0.5em;
    /*  color:#159957; */
}

.code_size_default
/*代码块默认size*/

{
    line-height: 18px;
    font-size: 14px;
    font-weight: normal;
    word-spacing: 0px;
    letter-spacing: 0px;
}

.code_size_tight
/*代码块紧凑size*/

{
    line-height: 15px;
    font-size: 11px;
    font-weight: normal;
    word-spacing: -3px;
    letter-spacing: 0px;
}

pre code
/*代码块*/

{
    font-family: Consolas, Inconsolata, Courier, monospace;
    border-radius: 0px;
}

blockquote {
    /*引用块*/
    display: block;
    padding: 15px 1rem;
    font-size: 0.9em;
    padding-right: 15px;
    margin: 1em 0;
    color: black;
    border-left: 6px solid rgba(14, 173, 105, 0.4);
    background: rgba(14, 173, 105, 0.1);
    overflow: auto;
    overflow-scrolling: touch;
    word-wrap: normal;
    word-break: normal;
}

blockquote p {
    margin: 0px;
}

a {
    /*超链接*/
    text-decoration: none;
    color: #1e6bb8;
    word-wrap: break-word;
}

strong
/*强调*/

{
    font-weight: bold;
}

em
/*斜体*/

{
    font-style: italic;
}

del
/*删除线*/

{
    font-style: italic;
}

strong em
/*强调的斜体*/

{
    font-weight: bold;
}

hr {
    /*分隔线*/
    height: 1px;
    margin: 1.5rem 0px;
    border: none;
    border-top: 1px dashed #A5A5A5;
}

code
/*行内代码*/

{
    word-wrap: break-word;
    padding: 2px 4px;
    border-radius: 4px;
    margin: 0 2px;
    color: #e96900;
    background: #f8f8f8;
}

img {
    display: block;
    margin: 0 auto;
    /*图片水平居中*/
    /* margin:0 0;  */
    /*图片水平居左，如需要请打开*/
    max-width: 100%;
}

figcaption
/*图片描述文字*/

{
    margin-top: 10px;
    text-align: center;
    /* text-align:left;  */
    /*当图片水平居左时，请打开*/
    color: #999;
    font-size: 0.7em;
}


/*================表格开始================*/

table {
    display: table;
    width: 100%;
    text-align: left;
}

tbody {
    border: 0;
}

table tr {
    border: 0;
    border-top: 1px solid #CCC;
    background-color: white;
}


/*隔行改变行的背景色，如需要请打开*/


/*
table tr:nth-child(2n) {
  background-color: #F8F8F8;
}
*/

table tr th,
table tr td {
    font-size: 1em;
    border: 1px solid #CCC;
    padding: 0.5em 1em;
    text-align: left;
}


/*表头的属性*/

table tr th {
    font-weight: bold;
    background-color: #F0F0F0;
}


/*================表格结束================*/


/*================数学公式开始================*/

.katex-display {
    /*块公式*/
    font-size: 1.22em;
}

.katex {
    /*行内公式*/
    padding: 8px 3px;
}

.katex-display>.katex {
    /*块公式*/
    display: inline-block;
    text-align: center;
    padding: 3px;
}

.katex img {
    /*行内公式对应的图片*/
    display: inline-block;
    vertical-align: middle;
}


/*================数学公式结束================*/

a[href^="#"] sup {
    /*注脚*/
    vertical-align: super;
    margin: 0 2px;
    padding: 1px 3px;
    color: #ffffff;
    background: #666666;
    font-size: 0.7em;
}


/*================任务列表开始================*/

.task-list-list {
    list-style-type: none;
}

.task-list-list.checked {
    /*已完成*/
    color: #3e3e3e;
}

.task-list-list.uncheck {
    /*未完成*/
    color: #bfc1bf;
}

.task-list-list .icon_uncheck,
.task-list-list .icon_check {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.task-list-list .icon_check:before {
    /*已完成*/
    content: "√";
    border: 2px solid #3e3e3e;
    color: red;
}

.task-list-list .icon_uncheck:before {
    /*未完成*/
    content: "x";
    border: 2px solid #bfc1bf;
    color: #bfc1bf;
}

.task-list-list .icon_check:before,
.task-list-list .icon_uncheck:before {
    /*标志框*/
    padding: 2px;
    padding-left: 5px;
    padding-right: 8px;
    border-radius: 5px;
}


/*================任务列表结束================*/

.toc {
    /*总目录*/
    margin-top: 10px;
    margin-left: 0;
}

.toc_item {
    /*每条目录*/
    display: block;
}

.toc_left {
    /*每级目录的缩进*/
    margin-left: 25px;
}

@media (max-width: 768px) {
    body {
        margin-top: -1px;
    }
    #topLogo img {
        width: 80%;
        height: auto;
    }
    #topSlogan>div {
        font-size: 0.5em;
        width: 160px;
        margin-left: -25px;
    }
    .nav {
        font-size: 0.2em;
        font-weight: normal;
    }
    /* .navBar {
        margin-top: 0px;
    } */
    header {
        height: 80px;
    }
    .mainContainer {
        margin-right: auto;
        margin-left: auto;
    }
    #titleBar {
        font-size: 20px;
    }
    .output_wrapper {
        margin-left: 5%;
        margin-right: 5%;
    }
    video {
        width: 280px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 10px;
    }
}