mirror of
https://github.com/mindoc-org/mindoc.git
synced 2026-02-27 17:03:57 +08:00
upgrade editor.md(many bug exists)
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
* Editor.md
|
||||
*
|
||||
* @file editormd.css
|
||||
* @version v1.5.0
|
||||
* @version v1.7.17
|
||||
* @description Open source online markdown editor.
|
||||
* @license MIT License
|
||||
* @author Pandao
|
||||
* {@link https://github.com/pandao/editor.md}
|
||||
* @updateTime 2015-06-09
|
||||
* @author IBM Skills Network
|
||||
* {@link https://github.com/ibm-skills-network/editor.md}
|
||||
* @updateTime 2024-03-27
|
||||
*/
|
||||
|
||||
@charset "UTF-8";
|
||||
@@ -47,9 +47,9 @@
|
||||
.editormd .editormd-markdown-textarea {
|
||||
display: none;
|
||||
}
|
||||
.editormd input[type="text"],
|
||||
.editormd input[type="button"],
|
||||
.editormd input[type="submit"],
|
||||
.editormd input[type=text],
|
||||
.editormd input[type=button],
|
||||
.editormd input[type=submit],
|
||||
.editormd select, .editormd textarea, .editormd button {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
@@ -73,16 +73,11 @@
|
||||
border-radius: 6px;
|
||||
}
|
||||
.editormd ::-webkit-scrollbar-thumb:hover {
|
||||
-webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25);
|
||||
/* Webkit browsers */
|
||||
-moz-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25);
|
||||
/* Firefox */
|
||||
-ms-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25);
|
||||
/* IE9 */
|
||||
-o-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25);
|
||||
/* Opera(Old) */
|
||||
box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25);
|
||||
/* IE9+, News */
|
||||
-webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25); /* Webkit browsers */
|
||||
-moz-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25); /* Firefox */
|
||||
-ms-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25); /* IE9 */
|
||||
-o-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25); /* Opera(Old) */
|
||||
box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25); /* IE9+, News */
|
||||
background-color: rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
@@ -148,12 +143,9 @@
|
||||
-o-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #fff;
|
||||
-webkit-transition: all 300ms ease-out;
|
||||
/* Safari, Chrome */
|
||||
-moz-transition: all 300ms ease-out;
|
||||
/* Firefox 4.0~16.0 */
|
||||
transition: all 300ms ease-out;
|
||||
/* IE >9, FF >15, Opera >12.0 */
|
||||
-webkit-transition: all 300ms ease-out; /* Safari, Chrome */
|
||||
-moz-transition: all 300ms ease-out; /* Firefox 4.0~16.0 */
|
||||
transition: all 300ms ease-out; /* IE >9, FF >15, Opera >12.0 */
|
||||
}
|
||||
.editormd-menu > li > a:hover, .editormd-menu > li > a.active {
|
||||
border: 1px solid #ddd;
|
||||
@@ -186,16 +178,11 @@
|
||||
top: 33px;
|
||||
left: 0;
|
||||
z-index: 100;
|
||||
-webkit-box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.15);
|
||||
/* Webkit browsers */
|
||||
-moz-box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.15);
|
||||
/* Firefox */
|
||||
-ms-box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.15);
|
||||
/* IE9 */
|
||||
-o-box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.15);
|
||||
/* Opera(Old) */
|
||||
box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.15);
|
||||
/* IE9+, News */
|
||||
-webkit-box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.15); /* Webkit browsers */
|
||||
-moz-box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.15); /* Firefox */
|
||||
-ms-box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.15); /* IE9 */
|
||||
-o-box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.15); /* Opera(Old) */
|
||||
box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.15); /* IE9+, News */
|
||||
}
|
||||
.editormd-dropdown-menu:before, .editormd-dropdown-menu:after {
|
||||
width: 0;
|
||||
@@ -222,12 +209,9 @@
|
||||
}
|
||||
.editormd-dropdown-menu > li > a:hover {
|
||||
background: #f6f6f6;
|
||||
-webkit-transition: all 300ms ease-out;
|
||||
/* Safari, Chrome */
|
||||
-moz-transition: all 300ms ease-out;
|
||||
/* Firefox 4.0~16.0 */
|
||||
transition: all 300ms ease-out;
|
||||
/* IE >9, FF >15, Opera >12.0 */
|
||||
-webkit-transition: all 300ms ease-out; /* Safari, Chrome */
|
||||
-moz-transition: all 300ms ease-out; /* Firefox 4.0~16.0 */
|
||||
transition: all 300ms ease-out; /* IE >9, FF >15, Opera >12.0 */
|
||||
}
|
||||
.editormd-dropdown-menu > li + li {
|
||||
border-top: 1px solid #ddd;
|
||||
@@ -256,16 +240,11 @@
|
||||
-ms-border-radius: 3px;
|
||||
-o-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
|
||||
/* Webkit browsers */
|
||||
-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
|
||||
/* Firefox */
|
||||
-ms-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
|
||||
/* IE9 */
|
||||
-o-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
|
||||
/* Opera(Old) */
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
|
||||
/* IE9+, News */
|
||||
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Webkit browsers */
|
||||
-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Firefox */
|
||||
-ms-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* IE9 */
|
||||
-o-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Opera(Old) */
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* IE9+, News */
|
||||
background: #fff;
|
||||
font-size: 14px;
|
||||
}
|
||||
@@ -301,12 +280,9 @@
|
||||
right: 15px;
|
||||
font-size: 18px;
|
||||
color: #ccc;
|
||||
-webkit-transition: color 300ms ease-out;
|
||||
/* Safari, Chrome */
|
||||
-moz-transition: color 300ms ease-out;
|
||||
/* Firefox 4.0~16.0 */
|
||||
transition: color 300ms ease-out;
|
||||
/* IE >9, FF >15, Opera >12.0 */
|
||||
-webkit-transition: color 300ms ease-out; /* Safari, Chrome */
|
||||
-moz-transition: color 300ms ease-out; /* Firefox 4.0~16.0 */
|
||||
transition: color 300ms ease-out; /* IE >9, FF >15, Opera >12.0 */
|
||||
}
|
||||
.editormd-dialog-close:hover {
|
||||
color: #999;
|
||||
@@ -315,12 +291,9 @@
|
||||
.editormd-dialog-header {
|
||||
padding: 11px 20px;
|
||||
border-bottom: 1px solid #eee;
|
||||
-webkit-transition: background 300ms ease-out;
|
||||
/* Safari, Chrome */
|
||||
-moz-transition: background 300ms ease-out;
|
||||
/* Firefox 4.0~16.0 */
|
||||
transition: background 300ms ease-out;
|
||||
/* IE >9, FF >15, Opera >12.0 */
|
||||
-webkit-transition: background 300ms ease-out; /* Safari, Chrome */
|
||||
-moz-transition: background 300ms ease-out; /* Firefox 4.0~16.0 */
|
||||
transition: background 300ms ease-out; /* IE >9, FF >15, Opera >12.0 */
|
||||
}
|
||||
.editormd-dialog-header:hover {
|
||||
background: #f6f6f6;
|
||||
@@ -385,24 +358,18 @@
|
||||
.editormd-mask {
|
||||
position: fixed;
|
||||
background: #000;
|
||||
opacity: 0.2;
|
||||
/* W3C */
|
||||
filter: alpha(opacity=20);
|
||||
/* IE */
|
||||
opacity: 0.2; /* W3C */
|
||||
filter: alpha(opacity=20); /* IE */
|
||||
z-index: 99998;
|
||||
}
|
||||
|
||||
.editormd-container-mask,
|
||||
.editormd-dialog-mask-con {
|
||||
background: url(../images/loading.gif) no-repeat center center;
|
||||
-webkit-background-size: 32px 32px;
|
||||
/* Chrome, iOS, Safari */
|
||||
-moz-background-size: 32px 32px;
|
||||
/* Firefox 3.6~4.0 */
|
||||
-o-background-size: 32px 32px;
|
||||
/* Opera 9.5 */
|
||||
background-size: 32px 32px;
|
||||
/* IE9+, New */
|
||||
-webkit-background-size: 32px 32px; /* Chrome, iOS, Safari */
|
||||
-moz-background-size: 32px 32px; /* Firefox 3.6~4.0 */
|
||||
-o-background-size: 32px 32px; /* Opera 9.5 */
|
||||
background-size: 32px 32px; /* IE9+, New */
|
||||
}
|
||||
|
||||
.editormd-container-mask {
|
||||
@@ -462,12 +429,9 @@
|
||||
vertical-align: middle;
|
||||
border: 1px solid #ddd;
|
||||
text-decoration: none;
|
||||
-webkit-transition: background-color 300ms ease-out, color 100ms ease-in;
|
||||
/* Safari, Chrome */
|
||||
-moz-transition: background-color 300ms ease-out, color 100ms ease-in;
|
||||
/* Firefox 4.0~16.0 */
|
||||
transition: background-color 300ms ease-out, color 100ms ease-in;
|
||||
/* IE >9, FF >15, Opera >12.0 */
|
||||
-webkit-transition: background-color 300ms ease-out, color 100ms ease-in; /* Safari, Chrome */
|
||||
-moz-transition: background-color 300ms ease-out, color 100ms ease-in; /* Firefox 4.0~16.0 */
|
||||
transition: background-color 300ms ease-out, color 100ms ease-in; /* IE >9, FF >15, Opera >12.0 */
|
||||
}
|
||||
.editormd-grid-table-row a.selected {
|
||||
color: #666;
|
||||
@@ -504,12 +468,9 @@
|
||||
-o-border-top-right-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
background: #f6f6f6;
|
||||
-webkit-transition: all 300ms ease-out;
|
||||
/* Safari, Chrome */
|
||||
-moz-transition: all 300ms ease-out;
|
||||
/* Firefox 4.0~16.0 */
|
||||
transition: all 300ms ease-out;
|
||||
/* IE >9, FF >15, Opera >12.0 */
|
||||
-webkit-transition: all 300ms ease-out; /* Safari, Chrome */
|
||||
-moz-transition: all 300ms ease-out; /* Firefox 4.0~16.0 */
|
||||
transition: all 300ms ease-out; /* IE >9, FF >15, Opera >12.0 */
|
||||
}
|
||||
.editormd-tab-head li a:hover {
|
||||
color: #666;
|
||||
@@ -549,17 +510,17 @@
|
||||
.editormd-form input:focus {
|
||||
outline: 0;
|
||||
}
|
||||
.editormd-form input[type="text"], .editormd-form input[type="number"] {
|
||||
.editormd-form input[type=text], .editormd-form input[type=number] {
|
||||
color: #999;
|
||||
padding: 8px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
.editormd-form input[type="number"] {
|
||||
.editormd-form input[type=number] {
|
||||
width: 40px;
|
||||
display: inline-block;
|
||||
padding: 6px 8px;
|
||||
}
|
||||
.editormd-form input[type="text"] {
|
||||
.editormd-form input[type=text] {
|
||||
display: inline-block;
|
||||
width: 264px;
|
||||
}
|
||||
@@ -585,11 +546,11 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.editormd-form input[type="submit"], .editormd-form .editormd-btn, .editormd-form button,
|
||||
.editormd-dialog-container input[type="submit"],
|
||||
.editormd-form input[type=submit], .editormd-form .editormd-btn, .editormd-form button,
|
||||
.editormd-dialog-container input[type=submit],
|
||||
.editormd-dialog-container .editormd-btn,
|
||||
.editormd-dialog-container button,
|
||||
.editormd-dialog-footer input[type="submit"],
|
||||
.editormd-dialog-footer input[type=submit],
|
||||
.editormd-dialog-footer .editormd-btn,
|
||||
.editormd-dialog-footer button {
|
||||
color: #666;
|
||||
@@ -603,18 +564,15 @@
|
||||
-ms-border-radius: 3px;
|
||||
-o-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
-webkit-transition: background 300ms ease-out;
|
||||
/* Safari, Chrome */
|
||||
-moz-transition: background 300ms ease-out;
|
||||
/* Firefox 4.0~16.0 */
|
||||
transition: background 300ms ease-out;
|
||||
/* IE >9, FF >15, Opera >12.0 */
|
||||
-webkit-transition: background 300ms ease-out; /* Safari, Chrome */
|
||||
-moz-transition: background 300ms ease-out; /* Firefox 4.0~16.0 */
|
||||
transition: background 300ms ease-out; /* IE >9, FF >15, Opera >12.0 */
|
||||
}
|
||||
.editormd-form input[type="submit"]:hover, .editormd-form .editormd-btn:hover, .editormd-form button:hover,
|
||||
.editormd-dialog-container input[type="submit"]:hover,
|
||||
.editormd-form input[type=submit]:hover, .editormd-form .editormd-btn:hover, .editormd-form button:hover,
|
||||
.editormd-dialog-container input[type=submit]:hover,
|
||||
.editormd-dialog-container .editormd-btn:hover,
|
||||
.editormd-dialog-container button:hover,
|
||||
.editormd-dialog-footer input[type="submit"]:hover,
|
||||
.editormd-dialog-footer input[type=submit]:hover,
|
||||
.editormd-dialog-footer .editormd-btn:hover,
|
||||
.editormd-dialog-footer button:hover {
|
||||
background: #eee;
|
||||
@@ -622,7 +580,7 @@
|
||||
.editormd-form .editormd-btn,
|
||||
.editormd-dialog-container .editormd-btn,
|
||||
.editormd-dialog-footer .editormd-btn {
|
||||
padding: 5px 8px 4px\0;
|
||||
padding: 5px 8px 4px\0 ;
|
||||
}
|
||||
.editormd-form .editormd-btn + .editormd-btn,
|
||||
.editormd-dialog-container .editormd-btn + .editormd-btn,
|
||||
@@ -637,7 +595,7 @@
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
.editormd-file-input input[type="file"] {
|
||||
.editormd-file-input input[type=file] {
|
||||
width: 75px;
|
||||
height: 32px;
|
||||
opacity: 0;
|
||||
@@ -648,10 +606,10 @@
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
.editormd-file-input input[type="file"]::-webkit-file-upload-button {
|
||||
.editormd-file-input input[type=file]::-webkit-file-upload-button {
|
||||
visibility: hidden;
|
||||
}
|
||||
.editormd-file-input:hover input[type="submit"] {
|
||||
.editormd-file-input:hover input[type=submit] {
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
@@ -670,11 +628,12 @@
|
||||
position: absolute;
|
||||
top: 35px;
|
||||
right: 0;
|
||||
right: -1px\0;
|
||||
right: -1px\0 ;
|
||||
overflow: auto;
|
||||
line-height: 1.6;
|
||||
display: none;
|
||||
background: #fff;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.editormd .CodeMirror {
|
||||
@@ -735,7 +694,7 @@
|
||||
/* FONT PATH
|
||||
* -------------------------- */
|
||||
@font-face {
|
||||
font-family: 'FontAwesome';
|
||||
font-family: "FontAwesome";
|
||||
src: url("../fonts/fontawesome-webfont.eot?v=4.3.0");
|
||||
src: url("../fonts/fontawesome-webfont.eot?#iefix&v=4.3.0") format("embedded-opentype"), url("../fonts/fontawesome-webfont.woff2?v=4.3.0") format("woff2"), url("../fonts/fontawesome-webfont.woff?v=4.3.0") format("woff"), url("../fonts/fontawesome-webfont.ttf?v=4.3.0") format("truetype"), url("../fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular") format("svg");
|
||||
font-weight: normal;
|
||||
@@ -802,9 +761,9 @@
|
||||
}
|
||||
|
||||
.fa-border {
|
||||
padding: .2em .25em .15em;
|
||||
padding: 0.2em 0.25em 0.15em;
|
||||
border: solid 0.08em #eeeeee;
|
||||
border-radius: .1em;
|
||||
border-radius: 0.1em;
|
||||
}
|
||||
|
||||
.pull-right {
|
||||
@@ -816,11 +775,11 @@
|
||||
}
|
||||
|
||||
.fa.pull-left {
|
||||
margin-right: .3em;
|
||||
margin-right: 0.3em;
|
||||
}
|
||||
|
||||
.fa.pull-right {
|
||||
margin-left: .3em;
|
||||
margin-left: 0.3em;
|
||||
}
|
||||
|
||||
.fa-spin {
|
||||
@@ -3079,9 +3038,9 @@
|
||||
|
||||
/*! prefixes.scss v0.1.0 | Author: Pandao | https://github.com/pandao/prefixes.scss | MIT license | Copyright (c) 2015 */
|
||||
@font-face {
|
||||
font-family: 'editormd-logo';
|
||||
font-family: "editormd-logo";
|
||||
src: url("../fonts/editormd-logo.eot?-5y8q6h");
|
||||
src: url(".../fonts/editormd-logo.eot?#iefix-5y8q6h") format("embedded-opentype"), url("../fonts/editormd-logo.woff?-5y8q6h") format("woff"), url("../fonts/editormd-logo.ttf?-5y8q6h") format("truetype"), url("../fonts/editormd-logo.svg?-5y8q6h#icomoon") format("svg");
|
||||
src: url("../fonts/editormd-logo.eot?#iefix-5y8q6h") format("embedded-opentype"), url("../fonts/editormd-logo.woff?-5y8q6h") format("woff"), url("../fonts/editormd-logo.ttf?-5y8q6h") format("truetype"), url("../fonts/editormd-logo.svg?-5y8q6h#icomoon") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@@ -3094,7 +3053,7 @@
|
||||
.editormd-logo-6x,
|
||||
.editormd-logo-7x,
|
||||
.editormd-logo-8x {
|
||||
font-family: 'editormd-logo';
|
||||
font-family: "editormd-logo";
|
||||
speak: none;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
@@ -3233,7 +3192,7 @@
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.markdown-body input[type="checkbox"] {
|
||||
.markdown-body input[type=checkbox] {
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
@@ -3259,7 +3218,7 @@
|
||||
}
|
||||
|
||||
.markdown-body a {
|
||||
color: #08c;
|
||||
color: #4183c4;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -3375,7 +3334,7 @@
|
||||
}
|
||||
|
||||
.markdown-body .octicon-link:before {
|
||||
content: '\f05c';
|
||||
content: "\f05c";
|
||||
}
|
||||
|
||||
.markdown-body > *:first-child {
|
||||
@@ -3613,7 +3572,7 @@
|
||||
.markdown-body code:before,
|
||||
.markdown-body code:after {
|
||||
letter-spacing: -0.2em;
|
||||
content: "\00a0";
|
||||
content: " ";
|
||||
}
|
||||
|
||||
.markdown-body pre > code {
|
||||
@@ -3636,6 +3595,7 @@
|
||||
overflow: auto;
|
||||
font-size: 85%;
|
||||
line-height: 1.45;
|
||||
background-color: #f7f7f7;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
@@ -3656,6 +3616,7 @@
|
||||
overflow: initial;
|
||||
line-height: inherit;
|
||||
word-wrap: normal;
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
@@ -3834,36 +3795,12 @@
|
||||
background-color: #fff;
|
||||
}
|
||||
.editormd-preview-container blockquote, .editormd-html-preview blockquote {
|
||||
color: #2C3E50;
|
||||
border-left: 5px solid #D6DBDF;
|
||||
color: #666;
|
||||
border-left: 4px solid #ddd;
|
||||
padding-left: 20px;
|
||||
margin-left: 0;
|
||||
font-size: 14px;
|
||||
background: none repeat scroll 0 0 rgba(102,128,153,.05);
|
||||
margin: 8px 0;
|
||||
padding: 8px 16px;
|
||||
}
|
||||
.editormd-preview-container blockquote.default, .editormd-html-preview blockquote.default {
|
||||
|
||||
|
||||
}
|
||||
.editormd-preview-container blockquote.info, .editormd-html-preview blockquote.info {
|
||||
border-left-color: #5bc0de;
|
||||
color: #5bc0de;
|
||||
background-color: #f4f8fa
|
||||
}
|
||||
.editormd-preview-container blockquote.warning, .editormd-html-preview blockquote.warning {
|
||||
background-color: #fcf8f2;
|
||||
border-color: #f0ad4e;
|
||||
color: #f0ad4e
|
||||
}
|
||||
.editormd-preview-container blockquote.danger, .editormd-html-preview blockquote.danger {
|
||||
color: #d9534f;
|
||||
background-color: #fdf7f7;
|
||||
border-color: #d9534f
|
||||
}
|
||||
.editormd-preview-container blockquote.success, .editormd-html-preview blockquote.success {
|
||||
background-color: #f3f8f3;
|
||||
border-color: #50af51;
|
||||
color: #50af51
|
||||
font-style: italic;
|
||||
}
|
||||
.editormd-preview-container p code, .editormd-html-preview p code {
|
||||
margin-left: 5px;
|
||||
@@ -3887,6 +3824,7 @@
|
||||
}
|
||||
.editormd-preview-container pre, .editormd-html-preview pre {
|
||||
border: 1px solid #ddd;
|
||||
background: #f6f6f6;
|
||||
padding: 10px;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
@@ -3932,104 +3870,73 @@
|
||||
/* SPAN elements with the classes below are added by prettyprint. */
|
||||
.pln {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/* plain text */
|
||||
} /* plain text */
|
||||
@media screen {
|
||||
.str {
|
||||
color: #080;
|
||||
}
|
||||
|
||||
/* string content */
|
||||
} /* string content */
|
||||
.kwd {
|
||||
color: #008;
|
||||
}
|
||||
|
||||
/* a keyword */
|
||||
} /* a keyword */
|
||||
.com {
|
||||
color: #800;
|
||||
}
|
||||
|
||||
/* a comment */
|
||||
} /* a comment */
|
||||
.typ {
|
||||
color: #606;
|
||||
}
|
||||
|
||||
/* a type name */
|
||||
} /* a type name */
|
||||
.lit {
|
||||
color: #066;
|
||||
}
|
||||
|
||||
/* a literal value */
|
||||
} /* a literal value */
|
||||
/* punctuation, lisp open bracket, lisp close bracket */
|
||||
.pun, .opn, .clo {
|
||||
color: #660;
|
||||
}
|
||||
|
||||
.tag {
|
||||
color: #008;
|
||||
}
|
||||
|
||||
/* a markup tag name */
|
||||
} /* a markup tag name */
|
||||
.atn {
|
||||
color: #606;
|
||||
}
|
||||
|
||||
/* a markup attribute name */
|
||||
} /* a markup attribute name */
|
||||
.atv {
|
||||
color: #080;
|
||||
}
|
||||
|
||||
/* a markup attribute value */
|
||||
} /* a markup attribute value */
|
||||
.dec, .var {
|
||||
color: #606;
|
||||
}
|
||||
|
||||
/* a declaration; a variable name */
|
||||
} /* a declaration; a variable name */
|
||||
.fun {
|
||||
color: red;
|
||||
}
|
||||
|
||||
/* a function name */
|
||||
} /* a function name */
|
||||
}
|
||||
/* Use higher contrast and text-weight for printable form. */
|
||||
@media print, projection {
|
||||
.str {
|
||||
color: #060;
|
||||
}
|
||||
|
||||
.kwd {
|
||||
color: #006;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.com {
|
||||
color: #600;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.typ {
|
||||
color: #404;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.lit {
|
||||
color: #044;
|
||||
}
|
||||
|
||||
.pun, .opn, .clo {
|
||||
color: #440;
|
||||
}
|
||||
|
||||
.tag {
|
||||
color: #006;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.atn {
|
||||
color: #404;
|
||||
}
|
||||
|
||||
.atv {
|
||||
color: #060;
|
||||
}
|
||||
@@ -4044,9 +3951,7 @@ pre.prettyprint {
|
||||
ol.linenums {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* IE indents via margin-left */
|
||||
} /* IE indents via margin-left */
|
||||
li.L0,
|
||||
li.L1,
|
||||
li.L2,
|
||||
@@ -4117,16 +4022,11 @@ li.L9 {
|
||||
-ms-border-radius: 4px;
|
||||
-o-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
||||
/* Webkit browsers */
|
||||
-moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
||||
/* Firefox */
|
||||
-ms-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
||||
/* IE9 */
|
||||
-o-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
||||
/* Opera(Old) */
|
||||
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
||||
/* IE9+, News */
|
||||
-webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* Webkit browsers */
|
||||
-moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* Firefox */
|
||||
-ms-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* IE9 */
|
||||
-o-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* Opera(Old) */
|
||||
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* IE9+, News */
|
||||
}
|
||||
.editormd-preview-container .editormd-toc-menu > .markdown-toc > ul > li ul, .editormd-html-preview .editormd-toc-menu > .markdown-toc > ul > li ul {
|
||||
width: 100%;
|
||||
@@ -4144,12 +4044,9 @@ li.L9 {
|
||||
color: #666;
|
||||
padding: 6px 10px;
|
||||
display: block;
|
||||
-webkit-transition: background-color 500ms ease-out;
|
||||
/* Safari, Chrome */
|
||||
-moz-transition: background-color 500ms ease-out;
|
||||
/* Firefox 4.0~16.0 */
|
||||
transition: background-color 500ms ease-out;
|
||||
/* IE >9, FF >15, Opera >12.0 */
|
||||
-webkit-transition: background-color 500ms ease-out; /* Safari, Chrome */
|
||||
-moz-transition: background-color 500ms ease-out; /* Firefox 4.0~16.0 */
|
||||
transition: background-color 500ms ease-out; /* IE >9, FF >15, Opera >12.0 */
|
||||
}
|
||||
.editormd-preview-container .editormd-toc-menu > .markdown-toc > ul > li a:hover, .editormd-html-preview .editormd-toc-menu > .markdown-toc > ul > li a:hover {
|
||||
background-color: #f6f6f6;
|
||||
@@ -4162,16 +4059,11 @@ li.L9 {
|
||||
top: 32px;
|
||||
left: 10%;
|
||||
display: none;
|
||||
-webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
||||
/* Webkit browsers */
|
||||
-moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
||||
/* Firefox */
|
||||
-ms-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
||||
/* IE9 */
|
||||
-o-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
||||
/* Opera(Old) */
|
||||
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
||||
/* IE9+, News */
|
||||
-webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* Webkit browsers */
|
||||
-moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* Firefox */
|
||||
-ms-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* IE9 */
|
||||
-o-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* Opera(Old) */
|
||||
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* IE9+, News */
|
||||
}
|
||||
.editormd-preview-container .editormd-toc-menu > .markdown-toc li > ul:before, .editormd-preview-container .editormd-toc-menu > .markdown-toc li > ul:after, .editormd-html-preview .editormd-toc-menu > .markdown-toc li > ul:before, .editormd-html-preview .editormd-toc-menu > .markdown-toc li > ul:after {
|
||||
pointer-events: pointer-events;
|
||||
@@ -4214,12 +4106,9 @@ li.L9 {
|
||||
padding: 5px 10px;
|
||||
border-radius: 4px;
|
||||
display: inline-block;
|
||||
-webkit-transition: background-color 500ms ease-out;
|
||||
/* Safari, Chrome */
|
||||
-moz-transition: background-color 500ms ease-out;
|
||||
/* Firefox 4.0~16.0 */
|
||||
transition: background-color 500ms ease-out;
|
||||
/* IE >9, FF >15, Opera >12.0 */
|
||||
-webkit-transition: background-color 500ms ease-out; /* Safari, Chrome */
|
||||
-moz-transition: background-color 500ms ease-out; /* Firefox 4.0~16.0 */
|
||||
transition: background-color 500ms ease-out; /* IE >9, FF >15, Opera >12.0 */
|
||||
}
|
||||
.editormd-preview-container .editormd-toc-menu .toc-menu-btn:hover, .editormd-html-preview .editormd-toc-menu .toc-menu-btn:hover {
|
||||
background-color: #f6f6f6;
|
||||
@@ -4274,12 +4163,9 @@ hr.editormd-page-break {
|
||||
top: 25px;
|
||||
right: 35px;
|
||||
z-index: 19;
|
||||
-webkit-transition: background-color 300ms ease-out;
|
||||
/* Safari, Chrome */
|
||||
-moz-transition: background-color 300ms ease-out;
|
||||
/* Firefox 4.0~16.0 */
|
||||
transition: background-color 300ms ease-out;
|
||||
/* IE >9, FF >15, Opera >12.0 */
|
||||
-webkit-transition: background-color 300ms ease-out; /* Safari, Chrome */
|
||||
-moz-transition: background-color 300ms ease-out; /* Firefox 4.0~16.0 */
|
||||
transition: background-color 300ms ease-out; /* IE >9, FF >15, Opera >12.0 */
|
||||
}
|
||||
.editormd-preview-close-btn:hover {
|
||||
background-color: #999;
|
||||
@@ -4382,8 +4268,7 @@ hr.editormd-page-break {
|
||||
}
|
||||
|
||||
@media screen {
|
||||
.editormd-preview-theme-dark {
|
||||
/* string content */
|
||||
.editormd-preview-theme-dark { /* string content */
|
||||
/* a keyword */
|
||||
/* a comment */
|
||||
/* a type name */
|
||||
@@ -4468,4 +4353,4 @@ hr.editormd-page-break {
|
||||
}
|
||||
.editormd-theme-dark .CodeMirror {
|
||||
border-right: 1px solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user