mirror of
https://github.com/danbulant/design
synced 2026-05-19 04:08:46 +00:00
improved table styles
This commit is contained in:
parent
7f78286c6b
commit
de7359a26b
1 changed files with 7 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue