2019-09-29 17:54:20 +08:00
|
|
|
@import '../../styles/mixins/config.scss';
|
|
|
|
@import '../../styles/mixins/mixins.scss';
|
2019-09-22 22:59:11 +08:00
|
|
|
|
2019-09-29 17:54:20 +08:00
|
|
|
@include themes-mixin {
|
|
|
|
@if $theme == 'dark' {
|
|
|
|
.markdown {
|
|
|
|
table {
|
|
|
|
font-size: 14px;
|
|
|
|
width: 100%;
|
2019-10-10 22:38:29 +08:00
|
|
|
border: 1px solid $--n-divider-color;
|
2019-09-29 17:54:20 +08:00
|
|
|
border-radius: 6px;
|
|
|
|
text-align: left;
|
|
|
|
border-collapse: separate;
|
|
|
|
border-spacing: 0;
|
|
|
|
overflow: hidden;
|
2019-12-22 15:50:37 +08:00
|
|
|
transition: background-color .3s $--n-ease-in-out-cubic-bezier, border-color .3s $--n-ease-in-out-cubic-bezier, color .3s $--n-ease-in-out-cubic-bezier;
|
2019-09-29 17:54:20 +08:00
|
|
|
// background-color: $--n-alpha-table-body-color;
|
|
|
|
th {
|
2019-12-22 15:50:37 +08:00
|
|
|
transition: background-color .3s $--n-ease-in-out-cubic-bezier, border-color .3s $--n-ease-in-out-cubic-bezier;
|
2019-10-10 22:38:29 +08:00
|
|
|
background-color: $--n-table-header-color;
|
2019-10-10 23:01:25 +08:00
|
|
|
// background-clip: padding-box;
|
2019-09-29 17:54:20 +08:00
|
|
|
text-align: inherit;
|
|
|
|
padding: 14px 12px;
|
|
|
|
vertical-align: inherit;
|
|
|
|
font-style: none;
|
|
|
|
font-weight: 400;
|
|
|
|
text-transform: none;
|
|
|
|
border-left: none;
|
2019-10-10 22:38:29 +08:00
|
|
|
font-weight: 700;
|
|
|
|
border-bottom: 1px solid $--n-divider-color;
|
2019-09-29 17:54:20 +08:00
|
|
|
&:not(:last-child) {
|
2019-10-10 22:38:29 +08:00
|
|
|
border-right: 1px solid $--n-table-header-color;
|
2019-09-29 17:54:20 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
td {
|
2019-12-22 15:50:37 +08:00
|
|
|
transition: background-color .3s $--n-ease-in-out-cubic-bezier, border-color .3s $--n-ease-in-out-cubic-bezier;
|
2019-10-10 22:38:29 +08:00
|
|
|
background-color: $--n-table-body-color;
|
2019-10-10 23:01:25 +08:00
|
|
|
// background-clip: padding-box;
|
2019-09-29 17:54:20 +08:00
|
|
|
padding: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.footer-part {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
2019-09-22 22:59:11 +08:00
|
|
|
}
|
2019-09-29 17:54:20 +08:00
|
|
|
} @else {
|
2019-12-12 18:36:30 +08:00
|
|
|
.n-light-theme .markdown {
|
2019-09-29 17:54:20 +08:00
|
|
|
table {
|
2019-10-11 00:05:18 +08:00
|
|
|
border: 1px solid $--n-divider-color;
|
2019-09-29 17:54:20 +08:00
|
|
|
th {
|
2019-10-10 22:38:29 +08:00
|
|
|
background: rgb(250, 250, 250);
|
|
|
|
border-bottom: 1px solid $--n-divider-color;
|
|
|
|
&:not(:last-child) {
|
|
|
|
border-right: 1px solid rgb(250, 250, 250);
|
|
|
|
}
|
2019-09-29 17:54:20 +08:00
|
|
|
}
|
|
|
|
td {
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
}
|
2019-09-22 22:59:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|