style: some doc style change

This commit is contained in:
07akioni 2020-01-09 00:28:17 +08:00
parent d256455b27
commit 560ae6fcdf
2 changed files with 7 additions and 3 deletions

View File

@ -16,7 +16,8 @@
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;
// background-color: $--n-alpha-table-body-color;
th {
transition: background-color .3s $--n-ease-in-out-cubic-bezier, border-color .3s $--n-ease-in-out-cubic-bezier;
color: $--text-1;
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;
background-color: $--n-table-header-color;
// background-clip: padding-box;
text-align: inherit;
@ -33,7 +34,8 @@
}
}
td {
transition: background-color .3s $--n-ease-in-out-cubic-bezier, border-color .3s $--n-ease-in-out-cubic-bezier;
color: $--text-2;
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;
background-color: $--n-table-body-color;
// background-clip: padding-box;
padding: 12px;
@ -48,6 +50,7 @@
table {
border: 1px solid $--n-divider-color;
th {
color: $--text-1;
background: rgb(250, 250, 250);
border-bottom: 1px solid $--n-divider-color;
&:not(:last-child) {
@ -55,6 +58,7 @@
}
}
td {
color: $--text-2;
background-color: white;
}
}

View File

@ -116,7 +116,7 @@ $--header-bar-width: (
transition: color .3s $--n-ease-in-out-cubic-bezier;
margin: 8px 0 8px 0;
font-size: 14px;
line-height: 1.625;
line-height: 1.75;
color: $--n-secondary-text-color;
}
@include b(ul) {