S2OJ/web/css/blog-editor.css
Baoshuo 387e7b45af
All checks were successful
continuous-integration/drone/push Build is passing
refactor(blog): use monaco editor
2023-02-08 21:42:53 +08:00

26 lines
920 B
CSS

.blog-content-md-editor {
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.blog-content-md-editor-toolbar {
background: -moz-linear-gradient(top, rgba(238,238,238,1) 0%, rgba(204,204,204,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(238,238,238,1)), color-stop(100%,rgba(204,204,204,1)));
background: -webkit-linear-gradient(top, rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%);
background: -o-linear-gradient(top, rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%);
background: -ms-linear-gradient(top, rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%);
background: linear-gradient(to bottom, rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%);
padding: 5px 5px 5px 5px;
}
.blog-content-md-editor-in {
width: 100%;
height: 500px;
}
.blog-content-md-editor-preview {
width: 100%;
height: 500px;
}
.blog-content-md-editor-preview iframe {
height: 100%;
width: 100%;
}