mirror of
https://github.com/86Box/docs.git
synced 2026-02-26 14:03:18 -07:00
Hide API code examples using expand containers by default
This commit is contained in:
@@ -54,3 +54,28 @@ div.bit-table > div.wy-table-responsive > table > thead > tr > th:not(.stub), di
|
||||
min-width: 26px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Toggle containers. */
|
||||
.toggle {
|
||||
background: #f3f6f6;
|
||||
border: 1px solid #e1e4e5;
|
||||
padding: 1em;
|
||||
margin: 0 0 24px;
|
||||
}
|
||||
.toggle-closed > .toggle-header, .toggle-open > .toggle-header {
|
||||
cursor: pointer;
|
||||
}
|
||||
.toggle > .toggle-header > p {
|
||||
font-weight: bold;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.toggle > div:nth-child(2) {
|
||||
margin-top: 12px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.toggle-closed > .toggle-header > p:before {
|
||||
content: "\0025B6 ";
|
||||
}
|
||||
.toggle-open > .toggle-header > p:before {
|
||||
content: "\0025BC ";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user