add custom css to change admonitions background colors
This commit is contained in:
14
docsrc/source/_static/custom.css
Normal file
14
docsrc/source/_static/custom.css
Normal file
@ -0,0 +1,14 @@
|
||||
.alert-danger {
|
||||
background-color: #d9534f;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.alert-info {
|
||||
background-color: #29abe0;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.alert-warning {
|
||||
background-color: #f47c3c;
|
||||
border-color: transparent;
|
||||
}
|
@ -17,6 +17,11 @@ import sphinx_bootstrap_theme
|
||||
|
||||
sys.path.insert(0, os.path.abspath('../../fittrackee_api'))
|
||||
|
||||
|
||||
def setup(app):
|
||||
app.add_stylesheet("custom.css")
|
||||
|
||||
|
||||
# -- Project information -----------------------------------------------------
|
||||
|
||||
project = 'FitTrackee'
|
||||
|
Reference in New Issue
Block a user