mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 13:04:10 +01:00
Apply table stripes to the tables that need it
... rather than all tables.
This commit is contained in:
parent
b58c7a5839
commit
017d348d73
|
|
@ -342,16 +342,18 @@ footer {
|
|||
padding: 1rem;
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: $white;
|
||||
}
|
||||
&.object-table, &.response-table {
|
||||
caption, tr {
|
||||
background-color: $table-row-default;
|
||||
}
|
||||
|
||||
caption, tr {
|
||||
background-color: $table-row-default;
|
||||
}
|
||||
tr:nth-child(even) {
|
||||
background-color: $table-row-alternate;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
background-color: $table-row-alternate;
|
||||
th {
|
||||
background-color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
&.basic-info, &.basic-info th, &.basic-info td {
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
{{ if $properties }}
|
||||
|
||||
<table{{ if .anchor }} id="{{ .anchor }}"{{ end }}>
|
||||
<table{{ if .anchor }} id="{{ .anchor }}"{{ end }} class="object-table">
|
||||
{{ with $title }}
|
||||
<caption>{{ . }}</caption>
|
||||
{{ end }}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
<h2>Responses</h2>
|
||||
|
||||
<table class>
|
||||
<table class="response-table">
|
||||
<thead>
|
||||
<th class="col-status">Status</th>
|
||||
<th class="col-status-description">Description</th>
|
||||
|
|
|
|||
Loading…
Reference in a new issue