99 lines
1.3 KiB
CSS
99 lines
1.3 KiB
CSS
#loader {
|
|
display: none;
|
|
}
|
|
|
|
main {
|
|
display: grid;
|
|
width: 100%;
|
|
height: 100%;
|
|
grid-template-columns: auto 1fr;
|
|
grid-template-rows: auto 1fr auto;
|
|
}
|
|
|
|
.banner {
|
|
grid-column: 1 / 3;
|
|
padding: 10px 150px;
|
|
background: #FFFFCC;
|
|
text-align: center;
|
|
border-bottom: 1px solid #808080;
|
|
}
|
|
|
|
nav {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
padding: 10px;
|
|
line-height: 1rem;
|
|
font-size: 0.9rem;
|
|
text-align: right;
|
|
}
|
|
|
|
nav a {
|
|
padding: 0 10px;
|
|
}
|
|
|
|
form {
|
|
margin: 0;
|
|
padding: 0;
|
|
position: relative;
|
|
}
|
|
|
|
textarea {
|
|
width: 30vw;
|
|
height: 100%;
|
|
resize: horizontal;
|
|
min-width: 200px;
|
|
max-width: 80vw;
|
|
padding: 10px 50px 100px 10px;
|
|
white-space: pre;
|
|
box-sizing: border-box;
|
|
border: none;
|
|
border-right: 1px solid #808080;
|
|
background: #EEEEEE;
|
|
}
|
|
|
|
button {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
}
|
|
|
|
iframe {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
}
|
|
|
|
a:link, a:visited {
|
|
color: #556688;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
a:hover, a:active {
|
|
color: #5577AA;
|
|
text-decoration: none;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
.banner {
|
|
background: #554400;
|
|
}
|
|
|
|
textarea {
|
|
color: #FFEEDD;
|
|
background: #333333;
|
|
}
|
|
|
|
iframe {
|
|
background: #111111; /* avoid flicker when reloading */
|
|
}
|
|
|
|
a:link, a:visited {
|
|
color: #99AAEE;
|
|
}
|
|
|
|
a:hover, a:active {
|
|
color: #6699FF;
|
|
}
|
|
}
|