This commit is contained in:
2023-10-25 16:40:04 +09:00
parent 74bce86804
commit 1ebfc82f78

View File

@ -39,3 +39,65 @@
.hints-alert {
word-break: break-word;
}
/* UnderLines */
.markdown-section h1,
.markdown-section h2,
.markdown-section h3,
.markdown-section h4,
.markdown-section h5,
.markdown-section h6 {
border-bottom: dotted;
}
/* Table responsive */
table {
width: 100%;
border-top: 1px solid #ccc;
border-left: 1px solid #ccc;
border-collapse: collapse;
border-spacing: 0;
}
th,
td {
width: 16.6%;
padding: 0.6em 1em;
border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}
@media screen and (max-width: 640px) {
body {
overflow: hidden;
}
table {
display: flex;
}
thead {
white-space: nowrap;
}
tbody {
overflow-x: scroll;
white-space: nowrap;
}
tbody tr {
display: inline-block;
}
tbody tr:last-child {
margin-left: -5px;
}
th,
td {
display: block;
width: auto;
}
}