@charset "utf-8";

.chl-editor {
    margin: 15px auto;
    /* min-height: 400px; */
    word-break: break-word;
    line-height: 1.5;
}

.chl-editor a {
    padding: 0 2px;
    color: #999;
}

.chl-editor a:hover {
    text-decoration: underline;
}

/* 图片设置 */

.chl-editor img {
    display: block;
    margin-top: 15px;
    margin-bottom: 15px;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
}

.chl-editor .aligncenter {
    text-align: center;
    margin: 15px auto ;
    display: block;
}

.chl-editor .alignleft {
    float: left;
    text-align: left;
}

.chl-editor .alignright {
    float: right;
    text-align: right;
}

/* .chl-editor .alignright::before{
    display: block;
	height: 0;
	content: "";
	clear: both;
	overflow: hidden;
} */


/* 列表设置 */
.chl-editor ul,
.chl-editor ol {
    padding-left: 15px;
}

.chl-editor ul li {
    list-style: disc;
}



.chl-editor ol li {
    list-style: decimal;
}

/* 标题文字 */

.chl-editor h1,
.chl-editor h2,
.chl-editor h3,
.chl-editor h4,
.chl-editor h5,
.chl-editor h6 {
    line-height: 1.5;
    margin-top: 15px;
    margin-bottom: 15px;
}

.chl-editor h1 {
    font-size: 32px;
}

.chl-editor h2 {
    font-size: 24px;
}

.chl-editor h3 {
    font-size: 18px;
}

.chl-editor h4 {
    font-size: 16px;
}

.chl-editor h5 {
    font-size: 14px;
}

.chl-editor h6 {
    font-size: 12px;
}

.chl-editor p {
    margin-bottom: 10px;
    line-height:  2;
    color: #666;
}

.chl-editor pre {
    width: 100%;
    word-wrap: break-word;
    white-space: pre-wrap;
}

/* .chl-editor strong {
    font-size: 18px;
} */

.chl-editor blockquote{
    margin: 15px 0;
    border: none;
    border-left: 4px solid #e8e8e8;
    line-height: 1.5;
    padding: 0 0 0 16px;
    text-align: justify;
    color: #707070;
    background: #fff;
}

/* 代码风格 */

.chl-editor code {
    padding: 15px;
    display: block;
    color: #333;
    background-color: #f5f5f5;
    border: 1px solid #999;
    border-radius: 16px;
    font-family: "oxaniumregular";
}



/* 表格设置 */
.chl-editor table {
    width: 100%!important;
    border-collapse: collapse;
    border-spacing: 1;
    border-spacing: 0;
    /* overflow-x: auto; */
}

/* .chl-editor tbody{
    width: 768px;
    display: block;
} */

.chl-editor th,
.chl-editor tr,
.chl-editor td {
    height: auto!important;
    padding: 5px 10px;
    border: 1px solid #ccc;
}


@media (max-width:768px) {
    .chl-editor img {width: 100% !important;height: auto !important;}
}