aboutsummaryrefslogtreecommitdiff
path: root/assets/sass/components/_table.scss
diff options
context:
space:
mode:
authorGravatar Anshul Gupta <ansg191@yahoo.com> 2020-08-04 16:27:53 -0700
committerGravatar Anshul Gupta <ansg191@yahoo.com> 2020-08-04 16:27:53 -0700
commit3ec2f4a87d8509aed4f42975d8a03b75e78c5218 (patch)
tree96b172b7b49476567331ed4b0758383dfb7870a4 /assets/sass/components/_table.scss
parente37306449b036fc192ddee5db78d3a30197a8f21 (diff)
downloadPortfolio-master.tar.gz
Portfolio-master.tar.zst
Portfolio-master.zip
Import TemplateHEADmaster
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