2017-01-09 17:19:26 +08:00
|
|
|
## zh-CN
|
|
|
|
|
2019-01-23 10:41:07 +08:00
|
|
|
自定义各个面板的背景色、圆角、边距和图标。
|
2017-01-09 17:19:26 +08:00
|
|
|
|
|
|
|
## en-US
|
|
|
|
|
2019-01-23 10:41:07 +08:00
|
|
|
Customize the background, border, margin styles and icon for each panel.
|
2017-01-09 17:19:26 +08:00
|
|
|
|
2019-12-25 11:02:45 +08:00
|
|
|
```css
|
2020-03-29 10:39:46 +08:00
|
|
|
[data-theme='compact'] .site-collapse-custom-collapse .site-collapse-custom-panel,
|
2019-12-25 20:58:24 +08:00
|
|
|
.site-collapse-custom-collapse .site-collapse-custom-panel {
|
2019-12-25 11:02:45 +08:00
|
|
|
margin-bottom: 24px;
|
|
|
|
overflow: hidden;
|
2021-01-30 19:39:02 +08:00
|
|
|
background: #f7f7f7;
|
2022-04-25 14:45:26 +08:00
|
|
|
border: 0px !important;
|
2021-01-30 19:39:02 +08:00
|
|
|
border-radius: 2px;
|
2019-12-25 11:02:45 +08:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
<style>
|
2019-12-25 20:58:24 +08:00
|
|
|
[data-theme="dark"] .site-collapse-custom-collapse .site-collapse-custom-panel {
|
2019-12-25 11:02:45 +08:00
|
|
|
background: rgba(255,255,255,0.04);
|
2019-12-25 20:58:24 +08:00
|
|
|
border: 0px;
|
2019-12-25 11:02:45 +08:00
|
|
|
}
|
|
|
|
</style>
|