mirror of
https://github.com/MathiasDPX/blog.git
synced 2025-05-10 07:33:09 +00:00
41 lines
No EOL
877 B
CSS
41 lines
No EOL
877 B
CSS
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;
|
|
} |