1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-31 09:41:47 +02:00

Merge branch 'master' into joining-pixels-ff

This commit is contained in:
ダーシノ
2018-12-01 12:03:28 +09:00
committed by GitHub
8 changed files with 1189 additions and 1093 deletions

View File

@@ -5,3 +5,4 @@
@import "radios.scss";
@import "checkboxes.scss";
@import "balloons.scss";
@import "tables.scss";

29
scss/elements/tables.scss Normal file
View File

@@ -0,0 +1,29 @@
.table {
table-layout: fixed;
background-color: #fff;
&.is-centered th {
text-align: center;
}
&.is-bordered {
box-shadow: 4px 0 $base-color, 0 -4px $base-color, -4px 0 $base-color, 0 4px $base-color;
th,
td {
padding: 0.5rem;
word-wrap: break-word;
}
tr {
th + th {
box-shadow: -4px 0 $base-color;
}
td {
box-shadow: 0 -4px $base-color;
}
td:not(:first-child) {
box-shadow: -4px 0 $base-color, 0 -4px $base-color;
}
}
}
}