﻿.toastui-editor-defaultUI-toolbar .latex-icon {
	font-family: Times New Roman;
    font-size: 26px;
    line-height: 28px;
}

/*参考内部 css 添加的弹窗*/
.custom-file-upload .toastui-editor-file-name, .custom-img-upload .toastui-editor-img-name {
	border: 1px solid #e1e3e9;
	border-radius: 2px;
	cursor: pointer;
	display: inline-block;
	height: 30px;
	line-height: 30px;
	overflow: hidden;
	padding: 0 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 58%;
}

.custom-file-upload .toastui-editor-file-select-button, .custom-img-upload .toastui-editor-img-select-button {
	background-color: #f7f9fc;
	border: 1px solid #dadde6;
	border-radius: 2px;
	height: 30px;
	vertical-align: top;
	width: 40px;
}

.custom-file-upload .toastui-editor-popup-body, .custom-img-upload .toastui-editor-popup-body {
	padding: 0 20px 20px;
}

.toastui-editor-contents, .toastui-editor-defaultUI, .toastui-editor-tooltip, .ProseMirror, .toastui-editor-contents{
	font-family: "Segoe UI","Segoe UI Symbol","Microsoft YaHei UI","Microsoft Yahei",Simsun,"Helvetica Neue",Arial,sans-serif;
	font-size: 14px;

}
.toastui-editor-contents code, .toastui-editor-contents pre, .toastui-editor-md-code, .toastui-editor-md-code-block {
	font-family: Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;
}

	.toastui-editor-contents h1, .toastui-editor-contents h2 {
		border-bottom: none;
	}

.toastui-editor-md-container {
	background-color: #f6f6f6
}

.err {
	color: red;
}

.toastui-editor-popup-body label {
	margin: 10px 0 5px;
}

#img-width-input, #img-height-input {
	width: 80px;
}

.toastui-editor-custom-block {
	margin: 5px 0;
}
.toastui-editor-custom-block .toastui-editor-custom-block-view {
	background: #f4f7f8;
	padding: 10px;
}

	.toastui-editor-custom-block .toastui-editor-custom-block-view > div:first-child {
	}

	.toastui-editor-custom-block .toastui-editor-custom-block-view .tool {
		display: block;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}

.toastui-editor-custom-inline {
	position: relative;
}
.toastui-editor-defaultUI code {
	font-size: 14px;
}
	.toastui-editor-custom-inline .toastui-editor-custom-inline-view .tool {
		display: inline;
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
	}

	.toastui-editor-custom-inline .toastui-editor-custom-inline-view {
		padding: 5px 15px;
		background: #f4f7f8;
		margin-right: 1px; /*保证后面的光标能显示*/
	}

.toastui-editor-custom-inline-view button {
	background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMCAzMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMzAgMzAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIGQ9Im0xNS41IDEyLjUgMiAyTDEyIDIwaC0ydi0ybDUuNS01LjV6TTE4IDEwbDIgMi0xLjUgMS41LTItMkwxOCAxMHoiIHN0eWxlPSJmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtmaWxsOiM1NTUiLz48L3N2Zz4=) no-repeat;
	background-position: 50%;
	background-size: 30px 30px;
	border: 1px solid #ccc;
	height: 10px;
	padding: 3px;
	vertical-align: super;
	width: 10px;
}

.toastui-editor-custom-inline-editor .ProseMirror {
	padding: 0 10px;
}

.toastui-editor-custom-inline-editor {
	background: #f9f7fd;
	padding: 2px 5px;
	border: 1px solid #dbd4ea;
}

.toastui-editor-contents code, .toastui-editor-md-code {
	background: #f4f7f8;
	color: #07a;
	padding: 2px 5px;
}

	.toastui-editor-md-code.toastui-editor-md-marked-text {
		color: #07a;
	}

section code {
	background: #f5f2f0;
	color: #07a;
	padding: 5px 0;	/*左右padding会是代码块第一行产生空白*/
}

.ProseMirror{
	height: 100%;
}
.katex-display{
	margin: 0;
}