| 1 |
details { |
| 2 |
background-color: rgba(50, 150, 220, 0.08); |
| 3 |
margin-bottom: 0.5em; |
| 4 |
padding: 0 1em; |
| 5 |
overflow-y: hidden; /* Suppress margin-collapsing */ |
| 6 |
} |
| 7 |
details[open] { |
| 8 |
border-bottom: 1px solid rgba(0, 0, 128, 0.2); |
| 9 |
margin-bottom: 1em; |
| 10 |
} |
| 11 |
details summary { |
| 12 |
font-weight: bold; |
| 13 |
background-color: rgba(50, 150, 220, 0.1); |
| 14 |
border-color: rgba(0, 0, 128, 0.2); |
| 15 |
border-width: 1px; |
| 16 |
border-style: solid none; |
| 17 |
padding: 0.2em; |
| 18 |
margin: 0 -1em; |
| 19 |
} |
| 20 |
details summary:hover { |
| 21 |
background-color: rgba(50, 150, 220, 0.2); |
| 22 |
cursor: pointer; |
| 23 |
} |