Skip to content

Commit ebb4595

Browse files
committed
update doc expand box style
1 parent fcbbe36 commit ebb4595

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

docs/static/pywebio.css

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ details {
5757

5858
/* Adjust ``.. contents::`` style */
5959

60-
.contents li>p {
61-
margin-bottom: 0px!important;
60+
.contents li > p {
61+
margin-bottom: 0px !important;
6262
}
6363

6464
.contents ul {
65-
margin-bottom: 8px!important;
65+
margin-bottom: 8px !important;
6666
}
6767

6868

@@ -94,4 +94,15 @@ html[lang="fa"] :is(.rst-content .code-block-caption .headerlink, .rst-content .
9494

9595
html[lang="fa"] :is(h1, h2, h3, a, .btn) {
9696
font-family: Vazirmatn, sans-serif;
97-
}
97+
}
98+
99+
details {
100+
padding: 8px 12px;
101+
border: 1px solid #e1e4e5;
102+
}
103+
summary{
104+
cursor: pointer;
105+
}
106+
summary ~ * {
107+
margin-top: 10px;
108+
}

0 commit comments

Comments
 (0)