aboutsummaryrefslogtreecommitdiff
path: root/assets/sass/components/_table.scss
diff options
context:
space:
mode:
Diffstat (limited to 'assets/sass/components/_table.scss')
-rw-r--r--assets/sass/components/_table.scss38
1 files changed, 38 insertions, 0 deletions
diff --git a/assets/sass/components/_table.scss b/assets/sass/components/_table.scss
new file mode 100644
index 0000000..1d00ab4
--- /dev/null
+++ b/assets/sass/components/_table.scss
@@ -0,0 +1,38 @@
+///
+/// Big Picture by Pixelarity
+/// pixelarity.com | hello@pixelarity.com
+/// License: pixelarity.com/license
+///
+
+/* Table */
+
+ table {
+ width: 100%;
+
+ &.default {
+ width: 100%;
+
+ tbody tr:nth-child(2n+2) {
+ background: transparentize(_palette(border), 0.5);
+ }
+
+ td {
+ padding: 0.5em 1em 0.5em 1em;
+ }
+
+ th {
+ text-align: left;
+ font-weight: 900;
+ padding: 0.5em 1em 0.5em 1em;
+ }
+
+ thead {
+ background: _palette(fg);
+ color: _palette(bg);
+ }
+
+ tfoot {
+ background: _palette(border);
+ }
+ }
+ } \ No newline at end of file