infoboxカスタムUserCSS
code:style.css
.related-page-list.has-literal-database {
position: relative;
left: 0;
padding: 0;
overflow: visible;
table.literal-database {
margin-top: 1em;
thead {
/*&:first-of-type {
/* position: sticky;
/* top: 47px;
/*}*/
}
tr:nth-of-type(even) {
}
th:first-of-type {
min-width: 10em;
}
th, td{
border: none;
padding: 1em 0.5em 1em;
}
a:hover {
color: var(--page-link-hover-color);
text-decoration: none;
}
}
}
.page-menu .infobox-menu {
table.infobox thead th {
a:hover { color: var(--page-link-hover-color); }
}
}
code:style.css
@media (prefers-color-scheme: dark) {
.related-page-list.has-literal-database {
table.literal-database {
background-color: var(--page-bg);
thead th {
}
tr:nth-of-type(even) {
}
}
}
.page-menu .infobox-menu {
table.infobox thead th {
}
}
}