added table css

This commit is contained in:
Kim, Jimin 2021-08-04 13:32:21 +09:00
parent 47fc217ae9
commit 28ad3e2816

View file

@ -139,6 +139,28 @@ kbd {
})};
}
table {
border-collapse: collapse;
width: 100%;
}
table td, table th {
border: ${(props) =>
theming.theme(props.theme.currentTheme, {
light: "1px solid #ddd",
dark: "1px solid #777777",
})};
padding: 8px;
}
table tr:nth-child(even){
background-color: ${(props) =>
theming.theme(props.theme.currentTheme, {
light: "#f2f2f2",
dark: "#21272E",
})};
}
.link-color a {
text-decoration: none;
color: ${theming.color.linkColor};