style: accounts table colors on light & dark modes
This commit is contained in:
parent
9e24ebe281
commit
e7dce7011a
1 changed files with 30 additions and 1 deletions
|
@ -167,7 +167,8 @@ const description =
|
|||
td {
|
||||
padding: 1rem;
|
||||
border-radius: 5px;
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
background: rgba(0, 0, 0, 0.01);
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
th:first-child,
|
||||
|
@ -175,4 +176,32 @@ const description =
|
|||
display: block;
|
||||
max-width: calc(50px + 2rem);
|
||||
}
|
||||
|
||||
td a {
|
||||
color: var(--text-color-dark);
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
color: var(--color-brand-blue-3);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
td,
|
||||
th {
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
|
||||
& a {
|
||||
color: var(--text-color-light);
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
color: var(--color-brand-complement);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue