Skip to content

Commit 7648b33

Browse files
author
Eviee Py
committed
Add admonition tip changes
1 parent 52650db commit 7648b33

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/_static/custom.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
--color-versionadd-background: #5aa56915;
4949
--color-versionchange-background--title: #616faf;
5050
--color-versionchange-background: #616faf15;
51+
--color-tip-background: #9f6fb515;
52+
--color-tip-background--title: #9f6fb5;
5153
}
5254

5355
* {
@@ -169,6 +171,14 @@ th {
169171
background-color: var(--color-note-background--title) !important;
170172
}
171173

174+
.admonition.tip {
175+
background-color: var(--color-tip-background) !important;
176+
}
177+
178+
.tip > .admonition-title {
179+
background-color: var(--color-tip-background--title) !important;
180+
}
181+
172182
.versionadded {
173183
background-color: var(--color-versionadd-background) !important;
174184
}

0 commit comments

Comments
 (0)