sphinxbootstrap4theme icon indicating copy to clipboard operation
sphinxbootstrap4theme copied to clipboard

css files in incorrect order

Open pedromorgan opened this issue 6 years ago • 1 comments

any user css files are included before bootstrap. Should be after/last to override instead, eg as in custom.css below:

Current

<link rel="stylesheet" href="../_static/basic.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="../_static/graphviz.css" />
<link rel="stylesheet" type="text/css" href="../_static/css/custom.css" />
<link rel="stylesheet" href="../_static/bootstrap-4.3.1-dist/css/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="../_static/sphinxbootstrap4.css" type="text/css" />

Should be

<link rel="stylesheet" href="../_static/basic.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="../_static/graphviz.css" />
<link rel="stylesheet" href="../_static/bootstrap-4.3.1-dist/css/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="../_static/sphinxbootstrap4.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="../_static/css/custom.css" />

pedromorgan avatar Aug 02 '19 19:08 pedromorgan

This should now be fixed in the below pull request https://github.com/myyasuda/sphinxbootstrap4theme/pull/11/commits/5d2eb1778aac2fc571994b1cea28cfad348d053f

Hecatron avatar Oct 04 '19 13:10 Hecatron