Skip to content

Commit 68abcf3

Browse files
committed
chore: Update boostlook.css from boostlook repository
1 parent 9a9e941 commit 68abcf3

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

static/css/boostlook.css

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,12 +1078,6 @@ html:has(#docsiframe)::-webkit-scrollbar {
10781078
}
10791079

10801080
/* Responsive Design */
1081-
@media screen and (min-width: 1024px) {
1082-
html {
1083-
font-size: .83333rem;
1084-
}
1085-
}
1086-
10871081
@media screen and (min-width: 768px) {
10881082
.boostlook #toggle-toc {
10891083
visibility: visible;
@@ -1139,6 +1133,7 @@ html:has(#docsiframe)::-webkit-scrollbar {
11391133
/* Hidden TOC */
11401134
html.toc-hidden .boostlook {
11411135
margin-left: 0;
1136+
transition: margin-left 0.15s ease;
11421137
}
11431138

11441139
html.toc-hidden .boostlook #toggle-toc {
@@ -1153,6 +1148,7 @@ html:has(#docsiframe)::-webkit-scrollbar {
11531148

11541149
html.toc-visible .boostlook {
11551150
margin-left: 0;
1151+
transition: margin-left 0.15s ease;
11561152
}
11571153

11581154
html.toc-hidden .boostlook #toc.toc2 {
@@ -1178,6 +1174,18 @@ html:has(#docsiframe)::-webkit-scrollbar {
11781174

11791175
html.toc-visible.toc-pinned .boostlook {
11801176
margin-left: 17rem;
1177+
transition: margin-left 0.15s ease;
1178+
}
1179+
}
1180+
1181+
@media screen and (min-width: 1024px) {
1182+
html {
1183+
font-size: .83333rem;
1184+
}
1185+
1186+
html.toc-visible.toc-pinned .boostlook {
1187+
margin-left: 20rem;
1188+
transition: margin-left 0.15s ease;
11811189
}
11821190
}
11831191

0 commit comments

Comments
 (0)