diff --git a/doc/libinput.doxygen.in b/doc/libinput.doxygen.in
index 5be5445c..a358b98f 100644
--- a/doc/libinput.doxygen.in
+++ b/doc/libinput.doxygen.in
@@ -25,5 +25,5 @@ DOTFILE_DIRS = @top_srcdir@/doc/dot
HTML_HEADER = @top_srcdir@/doc/style/header.html
HTML_FOOTER = @top_srcdir@/doc/style/footer.html
-HTML_EXTRA_STYLESHEET = @top_srcdir@/doc/style/customdoxygen.css \
- @top_srcdir@/doc/style/bootstrap.css
+HTML_EXTRA_STYLESHEET = @top_srcdir@/doc/style/bootstrap.css \
+ @top_srcdir@/doc/style/customdoxygen.css
diff --git a/doc/style/header.html b/doc/style/header.html
index ac3493ce..89686d1e 100644
--- a/doc/style/header.html
+++ b/doc/style/header.html
@@ -20,8 +20,6 @@
$mathjax
$extrastylesheet
-
-