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/style/libinputdoxygen.css | |
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/style/libinputdoxygen.css')
-rw-r--r-- | doc/style/libinputdoxygen.css | 47 |
1 files changed, 47 insertions, 0 deletions
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; +} |