mirror of
https://github.com/kuohuanhuan/x-markdown-css.git
synced 2024-11-25 06:18:19 +00:00
refactor: rename directory partial
to partials
This commit is contained in:
44
src/scss/partials/table.scss
Normal file
44
src/scss/partials/table.scss
Normal file
@ -0,0 +1,44 @@
|
||||
table {
|
||||
width: 100%;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
table-layout: auto;
|
||||
font-size: .875rem;
|
||||
line-height: 1.75;
|
||||
text-align: left;
|
||||
}
|
||||
thead {
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-color: var(--xm-c-thead-border);
|
||||
color: var(--xm-c-thead);
|
||||
font-weight: 600;
|
||||
th {
|
||||
vertical-align: bottom;
|
||||
padding-left: auto .575rem .575rem;
|
||||
&:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
&:last-child {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
tbody {
|
||||
tr {
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-color: var(--xm-c-tr-border);
|
||||
&:last-child {
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
}
|
||||
td {
|
||||
vertical-align: top;
|
||||
padding: .575rem;
|
||||
&:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
&:last-child {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user