102 lines
1.4 KiB
CSS
102 lines
1.4 KiB
CSS
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
min-height: 100vh;
|
|
width: 100%;
|
|
}
|
|
|
|
#grid-container {
|
|
display: grid;
|
|
grid-template-columns: 50% 50%;
|
|
height: 100vh;
|
|
width: 100%;
|
|
}
|
|
|
|
.section {
|
|
padding: 17px;
|
|
height: 100vh;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#editor-container {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#editor {
|
|
box-sizing: border-box;
|
|
width: 95%;
|
|
width: 100%;
|
|
height: 95%;
|
|
margin: 0;
|
|
word-break: break-all;
|
|
font-family: 'Courier New', Courier, monospace;
|
|
font-size: 0.9em;
|
|
padding: 3px;
|
|
padding-left: 58px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#editor li::marker {
|
|
color: #727272;
|
|
}
|
|
|
|
#rendered-text {
|
|
height: 100%;
|
|
overflow-y: scroll;
|
|
padding: 5px;
|
|
word-break: break-word;
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
#rendered-text.dark {
|
|
background-color: black;
|
|
color: white;
|
|
}
|
|
|
|
#rendered-text.dark .code-block {
|
|
color: #2d2d2d;
|
|
}
|
|
|
|
#preview-tools {
|
|
font-family: Arial, sans-serif;
|
|
float: left;
|
|
width: 100%;
|
|
}
|
|
|
|
.line-warning::before {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 0;
|
|
left: -58px;
|
|
margin-top: -1px;
|
|
font-size: 0.9em;
|
|
content: "⚠️";
|
|
}
|
|
|
|
.mobile-only {
|
|
display: none;
|
|
}
|
|
|
|
#see-docs {
|
|
float: right;
|
|
}
|
|
|
|
@media screen and (max-width: 950px) {
|
|
.mobile-only {
|
|
display: block;
|
|
}
|
|
|
|
#grid-container {
|
|
grid-template-columns: auto;
|
|
}
|
|
|
|
.section {
|
|
height: 60vh;
|
|
}
|
|
|
|
#see-docs {
|
|
float: initial;
|
|
}
|
|
}
|