aboutsummaryrefslogtreecommitdiff
path: root/_sass/minimal-mistakes/_tables.scss
diff options
context:
space:
mode:
Diffstat (limited to '_sass/minimal-mistakes/_tables.scss')
-rw-r--r--_sass/minimal-mistakes/_tables.scss39
1 files changed, 39 insertions, 0 deletions
diff --git a/_sass/minimal-mistakes/_tables.scss b/_sass/minimal-mistakes/_tables.scss
new file mode 100644
index 0000000..c270a77
--- /dev/null
+++ b/_sass/minimal-mistakes/_tables.scss
@@ -0,0 +1,39 @@
+/* ==========================================================================
+ TABLES
+ ========================================================================== */
+
+table {
+ display: block;
+ margin-bottom: 1em;
+ width: 100%;
+ font-family: $global-font-family;
+ font-size: $type-size-6;
+ border-collapse: collapse;
+ overflow-x: auto;
+
+ & + table {
+ margin-top: 1em;
+ }
+}
+
+thead {
+ background-color: $border-color;
+ border-bottom: 2px solid mix(#000, $border-color, 25%);
+}
+
+th {
+ padding: 0.5em;
+ font-weight: bold;
+ text-align: left;
+}
+
+td {
+ padding: 0.5em;
+ border-bottom: 1px solid mix(#000, $border-color, 25%);
+}
+
+tr,
+td,
+th {
+ vertical-align: middle;
+} \ No newline at end of file