46 lines
798 B
CSS
46 lines
798 B
CSS
|
/* Tables */
|
||
|
#jsonTableContainer {
|
||
|
max-width: 150%;
|
||
|
}
|
||
|
|
||
|
table {
|
||
|
width: 100%;
|
||
|
border-collapse: collapse;
|
||
|
color: var(--table-font-color);
|
||
|
margin-bottom: var(--article-margin);
|
||
|
}
|
||
|
|
||
|
th {
|
||
|
background-color: var(--table-header-bg);
|
||
|
padding: 5px;
|
||
|
text-align: left;
|
||
|
font-size: var(--table-header-font-size);
|
||
|
}
|
||
|
|
||
|
td {
|
||
|
padding: 5px;
|
||
|
text-align: left;
|
||
|
max-width: 90px;
|
||
|
}
|
||
|
|
||
|
@media only screen and (max-width: 800px) {
|
||
|
#scrollable {
|
||
|
max-width: 90px;
|
||
|
max-height: 100%;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
overflow: auto;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
tr:nth-child(even) {
|
||
|
background-color: var(--table-even-row-bg-color);
|
||
|
font-size: var(--table-row-font-size);
|
||
|
}
|
||
|
|
||
|
tr:nth-child(odd) {
|
||
|
background-color: var(--table-odd-row-bg-color);
|
||
|
font-size: var(--table-row-font-size);
|
||
|
}
|