mdtabeditor/public/style.css

74 lines
1.0 KiB
CSS
Raw Normal View History

2023-10-19 04:46:45 +00:00
html:has(dialog[open]) {
overflow: hidden;
}
2024-03-01 00:22:07 +00:00
body {
margin: 8px;
}
2023-10-19 04:46:45 +00:00
/* prevent table from wrapping when contents are too long */
table {
min-width: max-content;
}
/* prevent textboxes from soft-wrapping */
textarea {
white-space: pre;
}
2023-11-06 04:08:57 +00:00
/* make text boxes look like textareas */
input[type=text] {
font-size: medium;
font-family: monospace;
}
2023-10-19 04:46:45 +00:00
th {
padding: 0;
}
td {
display: inline;
}
textarea {
resize: none;
}
.left {
text-align: left;
}
.right {
text-align: right;
}
.left.right {
text-align: center;
}
2023-10-19 21:58:01 +00:00
dialog h3 {
2023-10-19 04:46:45 +00:00
margin-top: 0;
margin-bottom: 0.5em;
}
#load-dialog #error {
display: block;
}
#load-dialog textarea {
width: 80vw;
height: 75vh;
}
#load-dialog form {
display: inline;
}
#item-context-menu br {
display: block;
margin-top: 8px;
}
#item-context-menu button {
display: block;
}
.table-container {
overflow-x: scroll;
scrollbar-width: thin;
}
2023-11-06 04:08:57 +00:00
th input[type=text] {
2023-10-19 04:46:45 +00:00
font-weight: bold;
}
#output {
2024-03-01 00:22:07 +00:00
width: calc(100% - 8px);
2023-10-19 04:46:45 +00:00
}