-
Notifications
You must be signed in to change notification settings - Fork 0
/
sphinx-prolog.css
68 lines (64 loc) · 1.82 KB
/
sphinx-prolog.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*Exercise directive*/
.admonition.exercise {
border-color:#28a745;
}
.admonition.exercise .admonition-title {
background-color: #f2fdf3;
}
.admonition.exercise .admonition-title:before {
color:#28a745;
content:"";
}
.admonition.exercise .admonition-title .solution-link {
color:#ffc107;
float: right;
font-family: Font Awesome\ 5 Free;
text-decoration: none;
opacity:.3;
}
.admonition.exercise .admonition-title .solution-link:hover {
background-color: transparent;
opacity:1 !important;
}
/*Exercise solution directive*/
.admonition.solution {
border-color:#ffc107;
}
.admonition.solution .admonition-title {
background-color: #fff6dd;
}
.admonition.solution .admonition-title:before {
color:#ffc107;
content:"";
}
.admonition.solution .admonition-title .exercise-link {
color:#28a745;
float: right;
font-family: Font Awesome\ 5 Free;
text-decoration: none;
opacity:.3;
}
.admonition.solution .admonition-title .exercise-link:hover {
background-color: transparent;
opacity:1 !important;
}
/*Highlight the hyper-link marker when hovering over the "title" of
*infoboxes, exercises and solutions.*/
main.bd-content #main-content div.admonition.infobox p.admonition-title:hover a.headerlink,
main.bd-content #main-content div.admonition.exercise p.admonition-title:hover a.headerlink,
main.bd-content #main-content div.admonition.exercise p.admonition-title:hover a.solution-link,
main.bd-content #main-content div.admonition.solution p.admonition-title:hover a.headerlink,
main.bd-content #main-content div.admonition.solution p.admonition-title:hover a.exercise-link {
opacity:.5;
}
/*** Sphinx-copybutton extension ***/
div.extract.swish {
position: relative;
}
div.extract.swish:hover .copybtn {
opacity: 1;
}
/* SWISH directive -- hide the examples block */
div.hide-examples {
display: none;
}