Files
Makoto-Markdown-to-HTML/styles/style.css
Jon Dough 7f477d0049 new query param features, fixes
also added README
2023-06-21 17:58:02 +09:00

88 lines
1.2 KiB
CSS

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: 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 {
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;
}
}