mirror of
https://gitlab.com/DevLifeFromModernWay/devlifefrommodernway.gitlab.io.git
synced 2025-06-20 07:05:35 +00:00
Update
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user