#mainContent .output_wrapper/*此属性为全局*/
{
     font-size: 15px;/*更改默认的字体大小*/
     color: #3e3e3e;
     line-height: 1.8; /*更改默认的行距*/
     word-spacing:2px; /*更改默认的词间距*/
     letter-spacing:0px;/*更改默认的字符间距*/
     font-family: "Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;

     /*增加背景网格*/
     /*background-image: linear-gradient(90deg, rgba(50, 0, 0, 0.05) 3%, rgba(0, 0, 0, 0) 3%), linear-gradient(360deg,rgba(50, 0, 0, 0.05) 3%, rgba(0, 0, 0, 0) 3%);*/
     background-size: 20px 20px;
     background-position: center center;
}
#mainContent .output_wrapper *
{
  font-size: inherit  ;
  color: inherit;
  line-height: inherit;
  margin:0px;
  padding:0px;
}

#mainContent p {/*段落*/
  margin: 1.7em 0px;/*更改默认的段落距离*/
}
#mainContent h1,h2,h3,h4,h5,h6 {
  margin: 1.6em 0px;/*增加默认的标题间距*/
  font-weight:bold;
}
#mainContent h1 {
  font-size: 1.6em  ;
}
#mainContent h2 {
  font-size: 1.4em;
}
#mainContent h3 {
  font-size: 1.3em;
}
#mainContent h4 {
  font-size: 1.2em;
}
#mainContent h5 {
  font-size: 1em;
}
#mainContent h6 {
  font-size: 1em;
}

#mainContent h1, h2, h3, h4, h5, h6{
   /*增加对h1标题的修改*/
   border-bottom:2px  solid   #d8d8d8; /*rgb(239,112,96);*/
}

#mainContent h1 {
    margin: 1em 0 0.5em 0;
    font-weight: normal;
    position: relative;
    font-weight: 700;
    line-height: 40px;
    background: #f5f5f5;
    padding: 5px 15px;
    color: #3f3f3f;
    border-radius: 0 10px 0 10px;
    font-family: 'Muli', sans-serif;
    text-shadow: 0 1px white, 0 2px #777;
}

#mainContent h2
{
    margin: 1em 0 0.5em 0;
    color: #3f3f3f;
    line-height: 35px;
    font-weight: 700;
    font-family: 'Josefin Sans', sans-serif;
}

#mainContent h3{
    margin: 1em 0 0.5em 0;
    color: #3f3f3f;
    line-height: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Josefin Sans', sans-serif;
    letter-spacing: 1px;
    font-style: italic;
}

#mainContent h4{
    margin: 1em 0 0.5em 0;
    color: #3f3f3f;
    line-height: 25px;
    font-weight: 700;
    font-family: 'Josefin Sans', sans-serif;
}

#mainContent ul, ol {
  padding-left: 32px;
}
#mainContent ul{ /*无序列表*/
    list-style-type: disc;
}
#mainContent ol { /*有序列表*/
  list-style-type: decimal;
}
#mainContent li *
{
 /* color: #3e3e3e;*/
}

#mainContent li{  /*在公众号下，改变不了li符号的属性（如颜色），并会影响其子元素的属性;而在其它博客平台中，则能正常使用*/
    margin-bottom: 0.5em;
/*  color:#159957; */
}
#mainContent .code_size_default  /*代码块默认size*/
{
  line-height: 18px;
  font-size: 14px;
  font-weight:normal;
  word-spacing:0px;
  letter-spacing:0px;
}
#mainContent .code_size_tight /*代码块紧凑size*/
{
   line-height: 15px;
   font-size: 11px;
   font-weight:normal;
   word-spacing:-3px;
   letter-spacing:0px;
}
#mainContent pre code /*代码块*/
{
     font-family: Consolas, Inconsolata, Courier, monospace;
     border-radius: 0px;
}
#mainContent blockquote { /*引用块*/
  display: block;
  padding: 15px 1rem;
  font-size: 0.9em;
  padding-right: 15px;
  margin: 1em 0;
  /*更改默认值*/
  color: #823c17;
  border-left: 8px solid #dddfe4;
  background: #f2f2f2;
  overflow: auto;
  overflow-scrolling: touch;
  word-wrap: normal;
  word-break: normal;
}
#mainContent blockquote p {
    margin: 0px;
}

#mainContent a { /*超链接*/
  text-decoration: none;
  color: #1e6bb8;
  word-wrap:break-word;
}

#mainContent strong  /*强调*/
{
  font-weight: bold;
  color:#be0d15;/*更改默认的颜色*/
}
#mainContent em /*斜体*/
{
 font-style:italic; /*把默认的斜体去掉*/
 color:#823c17;/*更改默认的颜色*/
}
#mainContent del /*删除线*/
{
 font-style:italic;
 text-decoration:none;/*把默认的删除线去掉*/
 color:#2962FF;/*更改默认的颜色*/
}
#mainContent strong em/*强调的斜体*/
{
font-weight: bold;
color:#C51162;/*更改默认的颜色*/
}

#mainContent hr {  /*分隔线*/
  height: 1px;
  margin: 1.5rem 0px;
  border: none;
  border-top: 1px dashed #A5A5A5;
}

#mainContent code /*行内代码*/
{
    padding: .1em .2em;
    margin: 0 .1em .1em 0;
    white-space: nowrap;
    background-color: #f9f2f1; /*fff4e7;*/
    border-radius: 3px;
    color: #be0d15;
    text-decoration: none;
}
/*
code
{
    word-wrap: break-word;
    padding: 2px 4px;
    border-radius: 4px;
    margin:0 2px;
    color:#f82375;/*更改默认的颜色*/
    background: #f8f8f8;
}*/
#mainContent img
{
  display: block;
  margin:0 auto;  /*图片水平居中*/
  /* margin:0 0;  */ /*图片水平居左，如需要请打开*/
  max-width:100%;
}
#mainContent figcaption/*图片描述文字*/
{
  margin-top:10px;
  text-align:center;
   /* text-align:left;  */ /*当图片水平居左时，请打开*/
  color:#999;
  font-size: 0.7em;
}

/*================表格开始================*/
#mainContent table
{
 display:table;
 width: 100% ;
 text-align: left;
}
#mainContent tbody {
  border: 0;
}

#mainContent table tr {
  border: 0;
  border-top: 1px solid #CCC;
  background-color: white;

}

/*隔行改变行的背景色*/
#mainContent table tr:nth-child(2n) {
  background-color: #F8F8F8;
}


#mainContent table tr th, #mainContent table tr td {
  font-size: 1em;
  border: 1px solid #CCC;
  padding: 0.5em 1em;
  text-align: left;
}
/*表头的属性*/
#mainContent table tr th {
 font-weight: bold;
  background-color: #F0F0F0;
}
/*================表格结束================*/



/*================数学公式开始================*/
#mainContent .katex-display {/*块公式*/
  font-size:1.22em;
}
#mainContent .katex
{/*行内公式*/
  padding:8px 3px;
}
#mainContent .katex-display > .katex
{/*块公式*/
   display:inline-block;
   text-align:center;
   padding:3px;
}
#mainContent .katex img
{/*行内公式对应的图片*/
  display:inline-block;
  vertical-align:middle;
}
/*================数学公式结束================*/

#mainContent a[href^="#"] sup
{/*注脚*/
  vertical-align:super;
  margin:0 2px;
  padding:1px 3px;
  color: #ffffff;
  background:#666666;
  font-size:0.7em;
}

/*================任务列表开始================*/
#mainContent .task-list-list {
  list-style-type: none;
}
#mainContent .task-list-list.checked {/*已完成*/
  color: #3e3e3e;
}

#mainContent .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-left:25px;
}
.toc_item
{/*每条目录*/
  display:block;

}
.toc_left
{/*每级目录的缩进*/
  margin-left:25px;
}
