[haiku-commits] haiku: hrev50133 - docs/interface_guidelines

  • From: waddlesplash@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 7 Mar 2016 20:35:58 +0100 (CET)

hrev50133 adds 1 changeset to branch 'master'
old head: a601d961c97576713a7f96c7c74ebcf3f52a8e39
new head: f2df0cfe93a902842f6f4629ff614f5b3f9bf687
overview: 
http://cgit.haiku-os.org/haiku/log/?qt=range&q=f2df0cfe93a9+%5Ea601d961c975

----------------------------------------------------------------------------

f2df0cfe93a9: interface_guidelines: Add a Haiku-esque stylesheet.
  
  Fixes #11782.

                              [ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev50133
Commit:      f2df0cfe93a902842f6f4629ff614f5b3f9bf687
URL:         http://cgit.haiku-os.org/haiku/commit/?id=f2df0cfe93a9
Author:      Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date:        Mon Mar  7 19:25:07 2016 UTC

Ticket:      https://dev.haiku-os.org/ticket/11782

----------------------------------------------------------------------------

2 files changed, 52 insertions(+)
docs/interface_guidelines/haiku.css | 51 +++++++++++++++++++++++++++++++++
docs/interface_guidelines/index.xml |  1 +

----------------------------------------------------------------------------

diff --git a/docs/interface_guidelines/haiku.css 
b/docs/interface_guidelines/haiku.css
new file mode 100644
index 0000000..867536c
--- /dev/null
+++ b/docs/interface_guidelines/haiku.css
@@ -0,0 +1,51 @@
+/*
+ * Copyright 2016 Haiku, Inc. All rights reserved.
+ * Distributed under the terms of the MIT License.
+ *
+ * Authors:
+ *             Augustin Cavalier <waddlesplash>
+ */
+
+*, title {
+  font-family: "DejaVu Sans", Arial, sans-serif;
+  color: #333333;
+}
+cmdsynopsis, code, command, computeroutput, envar, filename, keycode, keysym,
+literal, option, parameter, sgmltag, systemitem {
+       font-family: "Deja Vu Mono", Courier, "Courier New", monospace, fixed;
+}
+term {
+  font-weight: bold;
+}
+
+chapter, appendix {
+  max-width: 849.6px;
+  margin: 10px auto;
+  align-content: center !important;
+}
+chapter:first-of-type {
+  margin-top: 0 !important;
+}
+chapter title, appendix title {
+  font-size: 22px !important;
+}
+sect1 title {
+  font-size: 18px !important;
+  font-weight: unset;
+}
+title {
+  color: #0c3762;
+  font-weight: bold;
+  border-bottom: dotted thin #c0c0c0;
+  margin-top: 13px !important;
+  margin-bottom: 13px !important;
+  text-align: left !important;
+}
+para {
+  margin-top: 0.5em !important;
+  margin-bottom: 0.5em !important;
+  margin-left: 0 !important;
+  margin-right: 0 !important;
+  font-size: 14.4px;
+  line-height: 21.6px !important;
+}
diff --git a/docs/interface_guidelines/index.xml 
b/docs/interface_guidelines/index.xml
index 655ba76..6585610 100644
--- a/docs/interface_guidelines/index.xml
+++ b/docs/interface_guidelines/index.xml
@@ -1,5 +1,6 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="docbook-css/driver.css" type="text/css" ?>
+<?xml-stylesheet href="haiku.css" type="text/css" ?>
 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" ;>
 <book>


Other related posts:

  • » [haiku-commits] haiku: hrev50133 - docs/interface_guidelines - waddlesplash