diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2017-02-23 07:16:56 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2017-02-23 08:20:20 +1000 |
commit | fd67204cf209f0fc28f50c13bcd0cf6bc07d65ad (patch) | |
tree | 7e43c415849c049614674ed5f7a1115ebf2ea004 /doc | |
parent | 8a79d8a487b7f6b87cdf80275ac6bfc984ba1802 (diff) |
doc: add a custom css for local overrides
Easier to track if we leave the original files alone. Actual changes to the
doxygen style:
* indent <dd> blocks
* hide the navigation sub-items. Our current style expands the full navigation
menu but File-list, etc. is mostly useless and just wastes space.
* force some space below the main bar
* change the header sizes around a bit. Primary goal here: making <h1> smaller
than the title
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.am | 3 | ||||
-rw-r--r-- | doc/libinput.doxygen.in | 3 | ||||
-rw-r--r-- | doc/style/libinputdoxygen.css | 47 |
3 files changed, 51 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index de4f4a1..50fab04 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -70,7 +70,8 @@ style_files = \ style/header.html \ style/footer.html \ style/customdoxygen.css \ - style/bootstrap.css + style/bootstrap.css \ + style/libinputdoxygen.css if BUILD_DOCS diff --git a/doc/libinput.doxygen.in b/doc/libinput.doxygen.in index a358b98..300d2f7 100644 --- a/doc/libinput.doxygen.in +++ b/doc/libinput.doxygen.in @@ -26,4 +26,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/bootstrap.css \ - @top_srcdir@/doc/style/customdoxygen.css + @top_srcdir@/doc/style/customdoxygen.css \ + @top_srcdir@/doc/style/libinputdoxygen.css diff --git a/doc/style/libinputdoxygen.css b/doc/style/libinputdoxygen.css new file mode 100644 index 0000000..b1e8bd7 --- /dev/null +++ b/doc/style/libinputdoxygen.css @@ -0,0 +1,47 @@ +dd { + margin-left: 30px; +} + +.title { + font-size: 400%; + font-weight: 200; +} + +h1 { + font-size: 300%; +} + +h2 { + font-size: 200%; +} + +.sm-dox li { + float:left; + border-top: 0; + padding-right: 20px; +} + +.sm li, .sm a { + position: relative; +} + +.sm, .sm ul, .sm li { + list-style: none; + display: block; + line-height: normal; + direction: ltr; + text-align: left; +} + +.sm, .sm *, .sm *::before, .sm *::after { + box-sizing: border-box; +} + +#main-nav { + padding: 30px; +} + +/* Main menu sub-items like file-list, etc */ +#main-menu li ul { + display: none; +} |