mirror of
https://github.com/MathiasDPX/blog.git
synced 2025-05-10 07:33:09 +00:00
publish v1
This commit is contained in:
commit
761e6d810a
21 changed files with 526 additions and 0 deletions
41
static/editor.css
Normal file
41
static/editor.css
Normal file
|
@ -0,0 +1,41 @@
|
|||
html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: Arial, sans-serif;
|
||||
}
|
||||
#code {
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 10px;
|
||||
background-color: #1F1F1F;
|
||||
font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
||||
color: #CCCCCC;
|
||||
position: absolute;
|
||||
border: none;
|
||||
resize: none;
|
||||
outline: none;
|
||||
font-family: monospace;
|
||||
font-size: 14px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
#preview {
|
||||
width: 50%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
height: 100%;
|
||||
background-color: white;
|
||||
border: none;
|
||||
}
|
||||
.switch-container {
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
right: 10px;
|
||||
background-color: #1F1F1F;
|
||||
color: #CCCCCC;
|
||||
padding: 5px 10px;
|
||||
border-radius: 5px;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue