summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-07-05 11:20:50 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-07-05 11:20:50 +1000
commit7cd644015c43134bc5cfdc886b41a3a7c1e902b1 (patch)
tree24231d195e49d82c65f31f662bb4914ec7b2de04 /doc
parent72a9f3ce022c3b7fbccc760a7eb639a2fea0e511 (diff)
Add a custom stylesheet to the documentation.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/libevdev.css215
-rw-r--r--doc/libevdev.doxygen.in2
2 files changed, 216 insertions, 1 deletions
diff --git a/doc/libevdev.css b/doc/libevdev.css
new file mode 100644
index 0000000..d7d2ff9
--- /dev/null
+++ b/doc/libevdev.css
@@ -0,0 +1,215 @@
+h1 {
+ font-size: 150%;
+ color: #354C7B;
+ border-bottom: 1px solid #879ECB;
+ font-weight: normal;
+ padding-bottom: 4px;
+ padding-bottom: 8px;
+}
+
+#titlearea {
+ width: 30%;
+ margin-left: auto;
+ margin-right: auto;
+ padding: 0px 10px 15px 10px;
+ border: none;
+}
+
+#projectname {
+ text-align: center;
+ font-weight: bold;
+ font-size: 300%;
+ margin-top: 5px;
+ padding: 2px 0 0 0;
+ margin-left: auto;
+ margin-right: auto;
+ color: #354C7B;
+}
+
+#projectnumber {
+ font-size: 100%;
+ color: #354C7B;
+}
+
+#projectbrief {
+ text-align: center;
+ margin-left: 20px;
+ margin-top: 5px;
+ padding: 2px 0 0 0;
+ margin-left: auto;
+ margin-right: auto;
+ color: #354C7B;
+}
+
+#titlearea table {
+ margin-left: auto;
+ margin-right: auto;
+}
+
+#navrow1, #navrow2, #navrow3, #navrow4, #navpath {
+ width: -moz-max-content;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+/* in file list, appears under the nav bars */
+.navpath ul, .navpath li {
+ width: -moz-max-content;
+ margin-left: auto;
+ margin-right: auto;
+ background-image: none;
+ border: none;
+ border-bottom: 1px solid;
+}
+
+.navpath li.navelem a {
+ text-shadow: none;
+ outline: none;
+}
+
+
+#MSearchBox {
+ float: left;
+}
+
+.tabs, .tabs2, .tabs3 {
+ background-image: none;
+}
+
+/* main page/modules/files tabs */
+.tablist li {
+ background-image: none;
+}
+
+/* main page/modules/files link text */
+.tablist a {
+ background-image: none;
+ background-repeat: none;
+}
+
+/* main page/modules/files link text when hovering */
+.tablist a:hover {
+ background-image: none;
+ background-repeat: none;
+ text-shadow: none;
+ color: black;
+}
+
+/* main page/modules/files currently selected */
+.tablist li.current a {
+ background-image: none;
+ text-shadow: none;
+ color: black;
+ border-bottom: 1px solid;
+}
+
+.navpath {
+ background-image: none;
+}
+
+/* libevdev documentation/modules/file list ... superfluous header */
+div.header {
+ display: none;
+ width: -moz-max-content;
+ margin-left: auto;
+ margin-right: auto;
+ background-image: none;
+ background-color: inherit;
+ font-size: 300%;
+}
+
+/* general text blocks */
+.textblock {
+ width: 600px;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+/* code fragments should expand to what's needed */
+.fragment {
+ width: -moz-max-content;
+}
+
+/* list of modules container */
+div .directory{
+ margin-left: auto;
+ margin-right: auto;
+ width: 600px;
+ border: none;
+}
+
+
+.directory td.entry {
+ width: 40%;
+ white-space: normal;
+ padding-left: 5px;
+
+}
+
+.directory td.desc {
+ width: 60%;
+}
+
+.directory td.entry img {
+ display: none;
+}
+
+h2.groupheader {
+ width: -moz-max-content;
+}
+
+/* table for list of functions */
+table.memberdecls {
+ width: -moz-max-content;
+}
+
+div.memitem {
+ width: -moz-max-content;
+ border-bottom: 1px solid;
+}
+
+/* function prototype */
+div.memproto {
+ background-image: none;
+ width: 600px;
+ border: none;
+ box-shadow: none;
+}
+
+/* function documentation */
+div.memdoc {
+ background-image: none;
+ width: -moz-max-content;
+ box-shadow: none;
+ border: none;
+}
+
+div.contents {
+ margin-left: auto;
+ margin-right: auto;
+ width: -moz-max-content;
+}
+
+p {
+ width: 580px;
+}
+
+dl.return {
+ width: 480px;
+}
+
+code {
+ background-color: #F9FAFC;
+}
+
+
+
+.footer {
+ width: 600px;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+img.footer {
+ width: auto;
+}
diff --git a/doc/libevdev.doxygen.in b/doc/libevdev.doxygen.in
index cdae685..30416a3 100644
--- a/doc/libevdev.doxygen.in
+++ b/doc/libevdev.doxygen.in
@@ -929,7 +929,7 @@ HTML_STYLESHEET =
# robust against future updates. Doxygen will copy the style sheet file to
# the output directory.
-HTML_EXTRA_STYLESHEET =
+HTML_EXTRA_STYLESHEET = libevdev.css
# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
# other source files which should be copied to the HTML output directory. Note