[mlpack-git] master: Better styling for reformatted templates. (755f457)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Aug 27 19:40:52 EDT 2015


Repository : https://github.com/mlpack/mlpack.org

On branch  : master
Link       : https://github.com/mlpack/mlpack.org/compare/5278e8fd3c5436ace56cd787823ddab483d0bfb3...75c8b77a6b071b5f071810492ddc919172e55047

>---------------------------------------------------------------

commit 755f4574c7cea37aa1cc468a697a09304df0ec47
Author: Ryan Curtin <ryan at ratml.org>
Date:   Thu Aug 27 19:40:19 2015 -0400

    Better styling for reformatted templates.


>---------------------------------------------------------------

755f4574c7cea37aa1cc468a697a09304df0ec47
 docs/doxygen18.css | 81 +++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 71 insertions(+), 10 deletions(-)

diff --git a/docs/doxygen18.css b/docs/doxygen18.css
index ab7a88e..5642504 100644
--- a/docs/doxygen18.css
+++ b/docs/doxygen18.css
@@ -370,21 +370,82 @@ td.memTemplParams {
   padding-left: 20%;
 }
 
-td.memTemplParams div {
+div.template_decl, div.type_decl, div.template {
+  color: #cc3333;
+}
+
+div.equals, div.open_bracket, div.close_bracket, div.comma {
+  color: #ffffff;
+}
+
+div.default_argument div.identifier {
+  color: #a0a0a0;
+}
+
+div.template_param div.type_decl,
+div.template_param div.comma {
   display: inline;
-  font-size: 0;
+  padding-right: 0.5em;
 }
 
-td.memTemplParams div.template_decl, td.memTemplParams div.type_decl {
-  color: #cc3333;
-  font-size: 9pt;
+div.template_param div.equals {
+  display: inline;
+  padding-left: 0.5em;
+  padding-right: 0.5em;
+}
+
+div.template_param div.default_argument,
+div.template_param div.identifier {
+  display: inline;
+  padding-right: 0;
 }
 
-td.memTemplParams div.open_bracket, td.memTemplParams div.close_bracket,
-td.memTemplParams div.identifier {
-  font-size: 9pt;
+div.template_decl, div.open_bracket, div.template_param_list {
+  display: table-cell;
+  text-align: left;
 }
 
-td.memTemplParams div.identifier {
-  padding-left: 6px;
+div.template_template_param div.template, div.template_template_param
+div.open_bracket {
+  display: inline;
+}
+
+div.template_template_param {
+  display: table;
+}
+
+div.template_param div.close_bracket {
+  display: inline;
+}
+
+div.template_template_param div.type_decl,
+div.template_template_param div.comma, div.template_template_param
+div.identifier, div.template_template_param div.default_argument div.equals {
+  display: inline;
+  padding-right: 0.5em;
+}
+
+div.template_template_param div.default_argument div.identifier,
+div.template_template_param div.default_argument,
+div.template_template_param div.identifier,
+div.template_template_param div.close_bracket {
+  display: inline;
+  padding: 0;
+}
+
+div.template_template_param div.equals {
+  display: inline;
+  padding-left: 0.5em;
+  padding-right: 0.5em;
+}
+
+div.template_template_param_name {
+  display: table-caption;
+  caption-side: bottom;
+  padding-left: 3em;
+}
+
+div.template_template_param div.template_param_list {
+  display: table-cell;
+  text-align: left;
 }



More information about the mlpack-git mailing list