Skip to content

Commit ab1c08c

Browse files
committed
Deployed 7234b41 with MkDocs version: 1.6.1
1 parent 1240eb4 commit ab1c08c

File tree

5 files changed

+30
-4
lines changed

5 files changed

+30
-4
lines changed

assets/_mkdocstrings.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,3 +179,27 @@ code.doc-symbol-module::after {
179179
color: inherit;
180180
border-bottom: 1px dotted currentcolor;
181181
}
182+
183+
/* Source code blocks (admonitions). */
184+
:root {
185+
--md-admonition-icon--mkdocstrings-source: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.22 4.97a.75.75 0 0 1 1.06 0l6.5 6.5a.75.75 0 0 1 0 1.06l-6.5 6.5a.749.749 0 0 1-1.275-.326.75.75 0 0 1 .215-.734L21.19 12l-5.97-5.97a.75.75 0 0 1 0-1.06m-6.44 0a.75.75 0 0 1 0 1.06L2.81 12l5.97 5.97a.749.749 0 0 1-.326 1.275.75.75 0 0 1-.734-.215l-6.5-6.5a.75.75 0 0 1 0-1.06l6.5-6.5a.75.75 0 0 1 1.06 0"/></svg>')
186+
}
187+
.md-typeset .admonition.mkdocstrings-source,
188+
.md-typeset details.mkdocstrings-source {
189+
border: none;
190+
padding: 0;
191+
}
192+
.md-typeset .admonition.mkdocstrings-source:focus-within,
193+
.md-typeset details.mkdocstrings-source:focus-within {
194+
box-shadow: none;
195+
}
196+
.md-typeset .mkdocstrings-source > .admonition-title,
197+
.md-typeset .mkdocstrings-source > summary {
198+
background-color: inherit;
199+
}
200+
.md-typeset .mkdocstrings-source > .admonition-title::before,
201+
.md-typeset .mkdocstrings-source > summary::before {
202+
background-color: var(--md-default-fg-color);
203+
-webkit-mask-image: var(--md-admonition-icon--mkdocstrings-source);
204+
mask-image: var(--md-admonition-icon--mkdocstrings-source);
205+
}

insiders/changelog/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

insiders/goals.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,6 @@ goals:
5050
since: 2025/03/20
5151
- name: "Ordering method: `__all__`"
5252
ref: /usage/configuration/members/#option-members_order
53-
since: 2025/03/24
53+
since: 2025/03/24
54+
- name: "Visually-lighter source code blocks"
55+
since: 2025/05/24

insiders/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)