Greatly improve tables display in docs
This commit is contained in:
parent
b4d836c98b
commit
de974645e1
1 changed files with 3 additions and 7 deletions
|
|
@ -407,31 +407,27 @@ h4 > code, h3 > code, .invisible > code {
|
|||
|
||||
.content table:not(.table-display) {
|
||||
border-spacing: 0 5px;
|
||||
border-collapse: separate;
|
||||
}
|
||||
.content td { vertical-align: top; }
|
||||
.content td:first-child { padding-right: 20px; }
|
||||
.content td p:first-child { margin-top: 0; }
|
||||
.content td h1, .content td h2 { margin-left: 0; font-size: 1.1em; }
|
||||
.content tr:first-child td { border-top: 0; }
|
||||
|
||||
.docblock table {
|
||||
border: 1px solid;
|
||||
margin: .5em 0;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.docblock table td {
|
||||
padding: .5em;
|
||||
border-top: 1px dashed;
|
||||
border-bottom: 1px dashed;
|
||||
border: 1px dashed;
|
||||
}
|
||||
|
||||
.docblock table th {
|
||||
padding: .5em;
|
||||
text-align: left;
|
||||
border-top: 1px solid;
|
||||
border-bottom: 1px solid;
|
||||
border: 1px solid;
|
||||
}
|
||||
|
||||
.fields + table {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue