mirror of
https://github.com/primer/css.git
synced 2024-12-21 05:01:45 +03:00
34 lines
538 B
SCSS
34 lines
538 B
SCSS
|
// Needs refactoring
|
||
|
// stylelint-disable selector-no-type
|
||
|
.markdown-body {
|
||
|
// Tables
|
||
|
table {
|
||
|
display: block;
|
||
|
width: 100%;
|
||
|
overflow: auto;
|
||
|
|
||
|
th {
|
||
|
font-weight: $font-weight-bold;
|
||
|
}
|
||
|
|
||
|
th,
|
||
|
td {
|
||
|
padding: 6px 13px;
|
||
|
border: 1px solid lighten($gray-300, 5%);
|
||
|
}
|
||
|
|
||
|
tr {
|
||
|
background-color: $bg-white;
|
||
|
border-top: 1px solid darken($gray-300, 4%);
|
||
|
|
||
|
&:nth-child(2n) {
|
||
|
background-color: $gray-100;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
img {
|
||
|
background-color: transparent;
|
||
|
}
|
||
|
}
|
||
|
}
|