mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-31 01:39:50 +02:00
Changed box-shadows from the table. Updated docs (index).
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
.table {
|
||||
background-color: #fff;
|
||||
|
||||
&.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;
|
||||
box-shadow: 4px 0 #212529, 0 -4px #212529, -4px 0 #212529, 0 4px #212529;
|
||||
|
||||
th,
|
||||
td {
|
||||
@@ -12,25 +13,11 @@
|
||||
}
|
||||
|
||||
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;
|
||||
box-shadow: 0 0 #212529, 0 0 #212529, -4px 0 #212529, 0 0 #212529;
|
||||
}
|
||||
|
||||
tr td {
|
||||
box-shadow: 0 4px #212529, 4px 6px #fff, 1px 0 #212529, 4px 4px #fff, 1px 0 #fff,
|
||||
0 4px #212529, 4px 4px #fff, -4px 0 #212529, -2px 8px #fff, 0 4px #fff, 1px 0 #fff,
|
||||
-4px 4px #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;
|
||||
box-shadow: 0 0 #212529, 0 -4px #212529, 0 0 #212529, -4px 0 #212529;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user