scratchpad/style.css

53 lines
1.0 KiB
CSS
Raw Normal View History

2023-01-16 19:50:34 +00:00
body {
margin: 0;
padding: 0;
background-color: #111;
color: #eee;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
2023-01-16 19:50:34 +00:00
}
#input {
background-color: transparent;
color: inherit;
font-size: 1rem;
position: absolute;
display: block;
box-sizing: border-box;
line-height: 150%;
width: 100%;
height: calc(100% - 2rem);
bottom: 0;
2023-01-16 19:50:34 +00:00
padding: 1rem;
border-style: none;
resize: none;
}
#input:focus {
outline: 0;
}
#status {
background-color: #333;
color: #fff;
position: absolute;
top: 0;
2023-01-16 19:50:34 +00:00
width: 100%;
box-sizing: border-box;
padding: 0 1rem;
line-height: 2rem;
border-bottom: 1px solid #666;
2023-01-16 19:50:34 +00:00
}
@media (prefers-color-scheme: light) {
body {
background-color: #eee;
color: #111;
}
#status {
background-color: #ccc;
color: #000;
border-bottom: 1px solid #999;
2023-01-16 19:50:34 +00:00
}
}