summaryrefslogtreecommitdiffstats
path: root/examples/example.css
diff options
context:
space:
mode:
authorIgnace Nyamagana Butera <nyamsprod@gmail.com>2014-02-14 10:59:05 +0100
committerIgnace Nyamagana Butera <nyamsprod@gmail.com>2014-02-14 13:14:36 +0100
commit061a4d28bb6f889e9c6ff00aaf616e889026517c (patch)
tree7b369dd05fa28b621c5b996dbffcb0f0467cdd87 /examples/example.css
parentcfc39411c0645fe782803254cedd682d7fdc494f (diff)
downloadcsv-061a4d28bb6f889e9c6ff00aaf616e889026517c.zip
csv-061a4d28bb6f889e9c6ff00aaf616e889026517c.tar.gz
csv-061a4d28bb6f889e9c6ff00aaf616e889026517c.tar.bz2
Documentation Update
Diffstat (limited to 'examples/example.css')
-rw-r--r--examples/example.css53
1 files changed, 53 insertions, 0 deletions
diff --git a/examples/example.css b/examples/example.css
new file mode 100644
index 0000000..9010a26
--- /dev/null
+++ b/examples/example.css
@@ -0,0 +1,53 @@
+html {
+ font:normal 1em/1.5 sans-serif;
+}
+/* taken and adapted from lea verou excellent blog theme */
+pre {
+ margin-bottom: 1em;
+ overflow: auto;
+ padding: .5em .8em;
+ border: 1px solid #aaa;
+ background-color: #e1e1e1;
+ color: #444;
+ font-size: 1.2em;
+ line-height: 1.5;
+ text-align: left;
+ -webkit-tab-size: 4;
+ -moz-tab-size: 4;
+ -ms-tab-size: 4;
+ -o-tab-size: 4;
+ tab-size: 4;
+}
+body {
+ margin:0 auto;
+ width:50%
+}
+.table-csv-data {
+ width:98%;
+ margin:0 auto 1em;
+ border-collapse:collapse;
+ padding:0;
+ font:normal 1em/1.5 sans-serif;
+}
+.table-csv-data td {
+ border-bottom:1px solid #ccc;
+ padding:.3em;
+ color:#222;
+ vertical-align: top;
+ text-align:left;
+}
+
+.table-csv-data tr:nth-child(even) td {
+ background-color:rgba(192, 192, 192, .2);
+}
+
+.table-csv-data tr:hover td {
+ background-color:#d4e8fc;
+}
+
+.with-header tbody tr:first-of-type td {
+ font-weight:bold;
+}
+.with-header tbody tr:first-of-type:hover td {
+ background-color:inherit;
+} \ No newline at end of file