summaryrefslogtreecommitdiff
path: root/src/koszko_org_website/static/pure-tables.css
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-11-16 18:52:53 +0100
committerWojtek Kosior <koszko@koszko.org>2022-11-16 21:43:50 +0100
commit08f4d63f450ccd96f5077bc60774d8f1fecec92c (patch)
tree7f09941d62ca23737bc0b1f616d2d50eb7dd14af /src/koszko_org_website/static/pure-tables.css
downloadkoszko-org-website-76b6e9a2156b3023da24086c2a72b2509aae66b6.tar.gz
koszko-org-website-76b6e9a2156b3023da24086c2a72b2509aae66b6.zip
initial commitv2022.11.16
Diffstat (limited to 'src/koszko_org_website/static/pure-tables.css')
-rw-r--r--src/koszko_org_website/static/pure-tables.css76
1 files changed, 76 insertions, 0 deletions
diff --git a/src/koszko_org_website/static/pure-tables.css b/src/koszko_org_website/static/pure-tables.css
new file mode 100644
index 0000000..35c0624
--- /dev/null
+++ b/src/koszko_org_website/static/pure-tables.css
@@ -0,0 +1,76 @@
+/*
+SPDX-License-Identifier: LicenseRef-Yahoo-BSD-3
+
+Copyright 2013 Yahoo! Inc.
+
+See https://git.koszko.org/koszko-org-website/tree/LICENSES/ for details.
+*/
+
+.pure-table {
+ /* Remove spacing between table cells (from Normalize.css) */
+ border-collapse: collapse;
+ border-spacing: 0;
+ empty-cells: show;
+ border: 1px solid #cbcbcb;
+}
+
+.pure-table caption {
+ color: #000;
+ font: italic 85%/1 arial, sans-serif;
+ padding: 1em 0;
+ text-align: center;
+}
+
+.pure-table td,
+.pure-table th {
+ border-left: 1px solid #cbcbcb;/* inner column border */
+ border-width: 0 0 0 1px;
+ font-size: inherit;
+ margin: 0;
+ overflow: visible; /*to make ths where the title is really long work*/
+ padding: 0.5em 1em; /* cell padding */
+}
+
+.pure-table thead {
+ background-color: #e0e0e0;
+ color: #000;
+ text-align: left;
+ vertical-align: bottom;
+}
+
+/*
+striping:
+ even - #fff (white)
+ odd - #f2f2f2 (light gray)
+*/
+.pure-table td {
+ background-color: transparent;
+}
+.pure-table-odd td {
+ background-color: #f2f2f2;
+}
+
+/* nth-child selector for modern browsers */
+.pure-table-striped tr:nth-child(2n-1) td {
+ background-color: #f2f2f2;
+}
+
+/* BORDERED TABLES */
+.pure-table-bordered td {
+ border-bottom: 1px solid #cbcbcb;
+}
+.pure-table-bordered tbody > tr:last-child > td {
+ border-bottom-width: 0;
+}
+
+
+/* HORIZONTAL BORDERED TABLES */
+
+.pure-table-horizontal td,
+.pure-table-horizontal th {
+ border-width: 0 0 1px 0;
+ border-bottom: 1px solid #cbcbcb;
+}
+.pure-table-horizontal tbody > tr:last-child > td {
+ border-bottom-width: 0;
+}