improved table styles

This commit is contained in:
Daniel Bulant 2022-05-16 10:43:09 +02:00
parent 7f78286c6b
commit de7359a26b

View file

@ -75,12 +75,12 @@
border-top-right-radius: 5px;
}
:global(body .post-layout table th) {
border: 2px solid rgb(0, 0, 0);
border: 1px solid rgb(0, 0, 0);
background-color: rgb(211, 211, 211);
padding: 6px;
}
:global(.dark .post-layout table th) {
border: 2px solid white;
border: 1px solid rgb(163, 163, 163);
background-color: rgb(39, 39, 39);
}
:global(body .post-layout table td) {
@ -88,14 +88,14 @@
padding: 4px;
}
:global(.dark .post-layout table td) {
border: 1px solid white;
border: 1px solid rgb(146, 146, 146);
padding: 4px;
}
:global(body .post-layout table tr:hover) {
background: rgb(196, 196, 196);
}
:global(.dark .post-layout table tr:hover) {
background: rgb(54, 54, 54);
background: rgb(48, 48, 48);
}
:global(body .post-layout table tr:last-child td:first-child) {
border-bottom-left-radius: 5px;
@ -116,6 +116,9 @@
border-radius: 5px;
background: rgb(51,51,51);
content: "";
}
:global(body .post-layout details summary) {
user-select: none;
}
main {
margin: 0 auto;