mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-09-14 14:19:28 +00:00
106 lines
1.8 KiB
SCSS
106 lines
1.8 KiB
SCSS
table {
|
|
text-align: left;
|
|
overflow-x: scroll;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
width: auto;
|
|
display: block;
|
|
border-left: 2px solid $hugo-gray;
|
|
margin: 0px;
|
|
font-size: 16px;
|
|
margin-bottom: 1em;
|
|
tr {
|
|
border-top: 2px solid $hugo-gray;
|
|
th,
|
|
td {
|
|
padding-left: 4px;
|
|
padding-right: 6px;
|
|
&:last-child {
|
|
border-right: 2px solid $hugo-gray;
|
|
}
|
|
}
|
|
}
|
|
&.terms-table {
|
|
td {
|
|
width: 50%;
|
|
}
|
|
}
|
|
thead {
|
|
width: 100%;
|
|
background-color: $hugo-black;
|
|
color: $hugo-white;
|
|
tr {
|
|
min-width: 100%;
|
|
th {
|
|
padding-left: 4px;
|
|
padding-right: 6px;
|
|
@include MQ(M) {
|
|
&:last-child {
|
|
min-width: 220px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
tbody {
|
|
min-width: 100%;
|
|
tr {
|
|
min-width: 100%;
|
|
background-color: $body-bg-color;
|
|
&:nth-child(even) {
|
|
background-color: lighten($hugo-gray-light, 10%);
|
|
}
|
|
&:last-child {
|
|
border-bottom: 2px solid $hugo-gray;
|
|
}
|
|
small {
|
|
font-size: 1em;
|
|
}
|
|
}
|
|
td {
|
|
.purpose-title {
|
|
font-style: italic;
|
|
color: $hugo-pink;
|
|
font-weight: bold;
|
|
}
|
|
&.bf-default {
|
|
code {
|
|
color: $hugo-blue;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
&.bf-flag {
|
|
code {
|
|
color: $hugo-green;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&.utils-table {
|
|
tr {
|
|
line-height: 1.2;
|
|
> td:first-child {
|
|
min-width: 220px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
table.bf-configuration {
|
|
tbody {
|
|
tr {
|
|
td.purpose-description {
|
|
ul {
|
|
list-style: none;
|
|
margin-left:0px;
|
|
padding-left:0px;
|
|
li {
|
|
list-style: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|