[GRASS-SVN] r68597 - grass/trunk/man

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jun 4 11:54:13 PDT 2016


Author: wenzeslaus
Date: 2016-06-04 11:54:13 -0700 (Sat, 04 Jun 2016)
New Revision: 68597

Modified:
   grass/trunk/man/grassdocs.css
Log:
docs: CSS style for compact table and description list

Modified: grass/trunk/man/grassdocs.css
===================================================================
--- grass/trunk/man/grassdocs.css	2016-06-04 18:52:38 UTC (rev 68596)
+++ grass/trunk/man/grassdocs.css	2016-06-04 18:54:13 UTC (rev 68597)
@@ -199,3 +199,33 @@
 div.toc {
   background-color: rgba(255, 255, 255, 0.7);
 }
+
+/* This is for a more detailed equivalent of option->descriptions
+ * (perhaps it can be used more generally as well).
+ * Creates a description list with highlighted items titles
+ * but not too visible in the overall text flow. */
+.option_descriptions dt {
+    font-weight: bold;
+    color: #222;
+}
+
+table.compact {
+    font-size: 80%;
+}
+
+/* default style is too spread out */
+table.compact td, table.compact th {
+    padding-left: 0.5em;
+    padding-right: 0.2em;
+    padding-top: 0.2em;
+    padding-bottom: 0.2em;
+}
+
+/* do table using alternate colors of rows */
+table.compact tr:nth-child(odd) {
+    background: #EEE;
+}
+
+table.compact tr:nth-child(even) {
+    background: #FFF;
+}



More information about the grass-commit mailing list