mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-21 13:31:24 +02:00
Added tables.scss. Changed nes.css, map and min. Added tables.scss to _index.scss.
This commit is contained in:
@@ -5,3 +5,4 @@
|
||||
@import "radios.scss";
|
||||
@import "checkboxes.scss";
|
||||
@import "balloons.scss";
|
||||
@import "tables.scss";
|
||||
|
36
scss/elements/tables.scss
Normal file
36
scss/elements/tables.scss
Normal file
@@ -0,0 +1,36 @@
|
||||
.table {
|
||||
&.is-centered th {
|
||||
text-align: center;
|
||||
}
|
||||
&.is-bordered {
|
||||
box-shadow: 0 -4px #212529, 0 -8px #fff, 4px 0 #212529, 4px -4px #fff, 8px 0 #fff, 0 4px #212529,
|
||||
0 8px #fff, -4px 0 #212529, -4px 4px #fff, -8px 0 #fff, -4px -4px #fff, 4px 4px #fff;
|
||||
|
||||
th,
|
||||
td {
|
||||
padding: 8.5px;
|
||||
}
|
||||
|
||||
tr th {
|
||||
box-shadow: 0 -4px #212529, 0 -8px #fff, 0 0 #212529, 4px -4px #fff, 8px 0 #fff, 0 4px #212529,
|
||||
0 8px #fff, -4px 0 #212529, -4px 4px #fff, -8px 0 #fff, -4px -4px #fff, 4px 4px #fff;
|
||||
}
|
||||
|
||||
tr th:last-child {
|
||||
box-shadow: 0 -4px #212529, 0 -8px #fff, 4px 0 #212529, 4px -4px #fff, 8px 0 #fff,
|
||||
0 4px #212529, 0 8px #fff, -4px 0 #212529, -4px 4px #fff, -8px 0 #fff, -4px -4px #fff,
|
||||
4px 4px #fff;
|
||||
}
|
||||
|
||||
tr td {
|
||||
box-shadow: 0 4px #212529, 4px 6px #fff, 1px 0 #212529, 4px 4px #fff, 1px 0 #fff,
|
||||
-4px 4px #212529, 4px 4px #fff, -4px 0 #212529, -2px 8px #fff, 0 4px #fff, 1px 0 #fff,
|
||||
0 0 #fff;
|
||||
}
|
||||
|
||||
tr td:last-child {
|
||||
box-shadow: 0 0 #212529, 0 -8px #fff, 4px 0 #212527, 4px 0 #fff, 8px 0 #fff, 0 4px #212529,
|
||||
0 -8px #fff, -4px 0 #212529, 0 4px #fff, -4px 0 #fff, 8px 0 #fff, -4px 0 #fff;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user