|
|
|
@ -18,9 +18,6 @@ limitations under the License.
|
|
|
|
|
Custom SCSS for the Matrix spec
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
@import "variables_project";
|
|
|
|
|
@import "variables";
|
|
|
|
|
|
|
|
|
|
/* Import the CSS classes for the syntax highlighter.
|
|
|
|
|
*
|
|
|
|
|
* This is generated with:
|
|
|
|
@ -49,6 +46,10 @@ Custom SCSS for the Matrix spec
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nav-link {
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
color: $black;
|
|
|
|
|
}
|
|
|
|
@ -292,7 +293,7 @@ footer {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Styles for sections that are rendered from data, such as HTTP APIs and event schemas */
|
|
|
|
|
.rendered-data {
|
|
|
|
|
.td-content .rendered-data {
|
|
|
|
|
background-color: $secondary-lightest-background;
|
|
|
|
|
padding: 0.85rem;
|
|
|
|
|
margin: 0.85rem 0;
|
|
|
|
@ -346,7 +347,7 @@ footer {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
p code, table code {
|
|
|
|
|
background-color: inherit;
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
table {
|
|
|
|
@ -396,6 +397,7 @@ footer {
|
|
|
|
|
|
|
|
|
|
th, td, caption {
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
border-top: 1px $table-border-color solid;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.object-table, &.response-table, &.content-type-table {
|
|
|
|
@ -408,14 +410,12 @@ footer {
|
|
|
|
|
|
|
|
|
|
// ... but avoid double border between caption and table
|
|
|
|
|
border-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
caption, tbody tr {
|
|
|
|
|
background-color: $table-row-default;
|
|
|
|
|
background-color: $secondary-lighter-background;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tbody tr:nth-child(even) {
|
|
|
|
|
background-color: $table-row-alternate;
|
|
|
|
|
tbody tr {
|
|
|
|
|
--bs-table-striped-bg: #{$secondary-lighter-background};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -517,3 +517,15 @@ dd {
|
|
|
|
|
border-radius: 0.25rem; // was $border-radius, but that var isn't accessible here.
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Style for breadcrumbs */
|
|
|
|
|
.td-breadcrumbs {
|
|
|
|
|
padding: .75rem 1rem;
|
|
|
|
|
background-color: #eee;
|
|
|
|
|
border-radius: .25rem;
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
|
|
|
|
|
.breadcrumb {
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|