玛氪宕·梦魔(Markdown Memo),使用Markdown的云端备忘录,百度IFE的RIA启航班的不合格的作业,才……才没有什么阴谋呢! 源gitee链接https://gitee.com/arathi/MarkdownMemo?_from=gitee_search
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

137 lines
2.9 KiB

10 years ago
@charset "UTF-8";
10 years ago
@import "lib/variables";
10 years ago
@import "lib/prefixes";
10 years ago
.editormd {
width: 90%;
height: 640px;
margin: 0 auto;
text-align: left;
10 years ago
overflow: hidden;
10 years ago
position: relative;
margin-bottom: 15px;
10 years ago
border: 1px solid $borderColor;
10 years ago
font-family: "Meiryo UI", "Microsoft YaHei", "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, "Monaco", monospace, Tahoma, STXihei, "华文细黑", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "宋体", Heiti, "黑体", sans-serif;
*, *:before, *:after {
@include box-sizing(border-box);
}
10 years ago
a {
text-decoration: none;
}
10 years ago
img {
border: none;
vertical-align: middle;
}
> textarea,
#{$prefix}html-textarea,
#{$prefix}markdown-textarea {
width: 0;
height: 0;
outline: 0;
resize:none;
}
10 years ago
#{$prefix}html-textarea,
#{$prefix}markdown-textarea {
display : none;
}
10 years ago
input[type="text"],
input[type="button"],
input[type="submit"],
select, textarea, button {
@include appearance(none);
10 years ago
}
10 years ago
::-webkit-scrollbar {
height: 10px;
width: 7px;
background: rgba(0, 0, 0, .1);
&:hover {
background: rgba(0, 0, 0, .2);
}
}
::-webkit-scrollbar-thumb {
background: rgba(0,0,0,0.3);
@include border-radius(6px);
&:hover {
@include box-shadow(inset 1px 1px 1px rgba(0, 0, 0, .25));
background-color: rgba(0, 0, 0, .4);
}
}
10 years ago
}
10 years ago
#{$prefix}user-unselect {
@include user-select(none);
}
10 years ago
#{$prefix}toolbar {
width: 100%;
10 years ago
min-height: 37px;
10 years ago
background: #fff;
display: none;
position: absolute;
top: 0;
left: 0;
z-index: 10;
border-bottom: 1px solid $borderColor;
}
#{$prefix}toolbar-container {
padding: 0 8px;
min-height: 35px;
10 years ago
@include user-select(none);
10 years ago
}
@import "editormd.menu";
#{$prefix}container {
margin: 0;
width: 100%;
height: 100%;
overflow: hidden;
padding: 35px 0 0;
10 years ago
position: relative;
background: #fff;
10 years ago
@include box-sizing(border-box);
}
10 years ago
@import "editormd.dialog";
10 years ago
@import "editormd.grid";
@import "editormd.tab";
10 years ago
@import "editormd.form";
@import "editormd.codemirror";
@import "editormd.preview";
10 years ago
@import "editormd.preview.themes";
10 years ago
#{$prefix}onlyread {
#{$prefix}toolbar {
display: none;
}
.CodeMirror {
margin-top: 0;
}
#{$prefix}preview {
top: 0;
}
10 years ago
}
#{$prefix}fullscreen {
position: fixed;
top : 0;
left : 0;
border: none;
margin: 0 auto;
}
@import "editormd.themes";