tower-lsp-web-demo/packages/app/assets/index.module.css
2022-06-16 11:52:59 -06:00

108 lines
1.6 KiB
CSS

a {
color: mediumslateblue;
}
a:visited {
color: silver;
}
body {
display: flex;
height: 100vh;
background-color: black;
color: white;
}
div[id=container] {
display: grid;
width: 75%;
height: 90%;
min-width: 800px;
min-height: 600px;
grid-template-rows: auto auto auto minmax(0, 1fr) auto auto auto;
grid-template-columns: repeat(2, minmax(0, 1fr));
margin: auto;
}
h1[id=title] {
grid-column: 1 / 3;
grid-row: 1;
font-family: monospace;
font-size: 2em;
}
p[id=synopsis] {
color: lightgrey;
grid-column: 1 / 3;
grid-row: 2;
margin: 0;
font-family: sans-serif;
font-size: 10pt;
line-height: 1.5em;
}
p[id=features] {
grid-column: 1 / 3;
grid-row: 3;
text-align: center;
font-family: sans-serif;
font-style: italic;
font-size: 10pt;
line-height: 1.5em;
color: lightgrey;
}
div[id=cell-editor] {
grid-column: 1 / 2;
grid-row: 4;
}
[id=cell-editor] div[id=editor] {
border: 1px solid black;
height: calc(100% - 1px);
padding-right: 1.5em;
}
div[id=cell-syntax] {
grid-column: 2 / 3;
grid-row: 4;
}
div[id=cell-syntax] textarea {
height: 100%;
}
[id=container] label {
display: block;
font-family: monospace;
font-size: 14pt;
}
div[id=cell-console] {
grid-column: 1 / 3;
grid-row: 5;
margin-top: 2em;
overflow: hidden;
}
div[id=cell-client] {
grid-column: 1 / 3;
grid-row: 6;
overflow: hidden;
}
div[id=cell-server] {
grid-column: 1 / 3;
grid-row: 7;
overflow: hidden;
}
div[id=container] textarea {
display: block;
box-sizing: border-box;
width: 100%;
resize: none;
overflow-y: auto;
font-family: monospace;
font-family: 10pt;
}