mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
- Refactoring styles to prevent unwanted specificity issues by using tailwind directives - Improve color consistency for code blocks and other components by replacing adhoc hex values with theme colors Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
16 lines
310 B
CSS
16 lines
310 B
CSS
@layer components {
|
|
.prose table {
|
|
@apply table w-full overflow-x-auto text-base sm:block;
|
|
thead tr {
|
|
@apply bg-gray-light-300 dark:bg-gray-dark-300;
|
|
}
|
|
tbody tr:nth-of-type(2n) {
|
|
@apply bg-gray-light-200 dark:bg-gray-dark-200;
|
|
}
|
|
th,
|
|
td {
|
|
@apply p-2;
|
|
}
|
|
}
|
|
}
|