Debian Codegraph @

docs/_static/custom.css

raw
1 /* custom CSS classes (used in docs/user_guide/extending.rst) NOTE: the begin
2 * and end markers are necessary for partial file includes! don't remove them.
3 */
4
5 /* begin-custom-color/* <your static path>/custom.css */
6
7 div.admonition.admonition-olive {
8 border-color: hsl(60deg 100% 25%);
9 }
10
11 div.admonition.admonition-olive > .admonition-title {
12 background-color: hsl(60deg 100% 14%);
13 color: white;
14 }
15
16 div.admonition.admonition-olive > .admonition-title::after {
17 color: hsl(60deg 100% 25%);
18 }
19
20 /* end-custom-color */
21
22 /* begin-custom-icon/* <your static path>/custom.css */
23
24 div.admonition.admonition-icon > .admonition-title::after {
25 content: "\f24e"; /* the fa-scale icon */
26 }
27
28 /* end-custom-icon */
29
30 /* begin-custom-youtube/* <your static path>/custom.css */
31
32 div.admonition.admonition-youtube {
33 border-color: hsl(0deg 100% 50%); /* YouTube red */
34 }
35
36 div.admonition.admonition-youtube > .admonition-title {
37 background-color: hsl(0deg 99% 18%);
38 color: white;
39 }
40
41 div.admonition.admonition-youtube > .admonition-title::after {
42 color: hsl(0deg 100% 50%);
43 content: "\f26c"; /* fa-solid fa-tv */
44 }
45
46 /* end-custom-youtube */
47
48 /* fix for project names that are parsed as links: the whole card is a link so
49 * don't format the project name itself like a text link
50 */
51 div.downstream-project-links a {
52 text-decoration: none !important;
53 color: inherit !important;
54 }