web preview + finish-ish markdown
ordered lists, superscript, tables and some fixes
This commit is contained in:
58
styles/style.css
Normal file
58
styles/style.css
Normal file
@@ -0,0 +1,58 @@
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
#grid-container {
|
||||
display: grid;
|
||||
grid-template-columns: auto auto;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
.section {
|
||||
padding: 17px;
|
||||
height: 100%;
|
||||
width: 49vw;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#editor-container {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
#editor {
|
||||
box-sizing: border-box;
|
||||
width: 95%;
|
||||
width: calc(100% - 15px);
|
||||
height: 95%;
|
||||
margin: 0;
|
||||
word-break: break-all;
|
||||
font-family: 'Courier New', Courier, monospace;
|
||||
font-size: 0.9em;
|
||||
padding: 3px;
|
||||
padding-left: 35px;
|
||||
margin-left: 15px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
#editor li::marker {
|
||||
color: #727272;
|
||||
}
|
||||
|
||||
#rendered-text {
|
||||
padding: 5px;
|
||||
word-break: break-all;
|
||||
font-family: Arial, sans-serif;
|
||||
}
|
||||
|
||||
#rendered-text.dark {
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#rendered-text.dark .code-block {
|
||||
color: #2d2d2d;
|
||||
}
|
||||
Reference in New Issue
Block a user