52 lines
866 B
CSS
52 lines
866 B
CSS
/*! Minimalist Web Notepad | https://github.com/pereorga/minimalist-web-notepad */
|
|
|
|
body {
|
|
margin: 0;
|
|
background: #ebeef1;
|
|
}
|
|
.container {
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 20px;
|
|
bottom: 20px;
|
|
left: 20px;
|
|
}
|
|
#content {
|
|
font-size: 100%;
|
|
margin: 0;
|
|
padding: 20px;
|
|
overflow-y: auto;
|
|
resize: none;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 100%;
|
|
box-sizing: border-box;
|
|
border: 1px #ddd solid;
|
|
outline: none;
|
|
}
|
|
#printable {
|
|
display: none;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
body {
|
|
background: #383934;
|
|
}
|
|
#content {
|
|
background: #282923;
|
|
color: #f8f8f2;
|
|
border: 0;
|
|
}
|
|
}
|
|
|
|
@media print {
|
|
.container {
|
|
display: none;
|
|
}
|
|
#printable {
|
|
display: block;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
}
|