Skip to content

Commit e8cc116

Browse files
committed
Workaround missing github alerts in pdoc
1 parent 856c179 commit e8cc116

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed

pdoc/custom.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
.pdoc .alert.tip {
2+
color: #0a3622;
3+
background-color: #d1e7dd;
4+
border-color: #a3cfbb;
5+
background-image: url("data:image/svg+xml,{% filter urlencode %}{% include 'resources/lightbulb.svg' %}{% endfilter %}");
6+
}
7+
8+
.pdoc .alert.important {
9+
color: #055160;
10+
background-color: #cff4fc;
11+
border-color: #9eeaf9;
12+
background-image: url("data:image/svg+xml,{% filter urlencode %}{% include 'resources/exclamation-square-fill.svg' %}{% endfilter %}");
13+
}
14+
15+
.pdoc .alert.caution {
16+
color: #842029;
17+
background-color: #f8d7da;
18+
border-color: #f5c2c7;
19+
background-image: url("data:image/svg+xml,{% filter urlencode %}{% include 'resources/exclamation-octagon-fill.svg' %}{% endfilter %}");
20+
}
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

pdoc/resources/lightbulb.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)