homepage fixes

This commit is contained in:
codecalm
2020-02-08 00:04:46 +01:00
parent 5c738dc5a9
commit 019037c65a
8 changed files with 84 additions and 25 deletions
+24 -11
View File
@@ -185,21 +185,21 @@
}
.card-body {
>:last-child {
> :last-child {
margin-bottom: 0;
}
.card-sm>& {
.card-sm > & {
padding: .75rem;
}
.card-md>& {
.card-md > & {
@include media-breakpoint-up(md) {
padding: 1.5rem;
}
}
.card-lg>& {
.card-lg > & {
@include media-breakpoint-up(md) {
padding: 3rem;
}
@@ -283,13 +283,6 @@ Card table
margin-bottom: 0;
tr {
&:first-child {
td,
th {
border-top: 0;
}
}
td,
th {
border-top: 1px solid $border-color;
@@ -304,6 +297,26 @@ Card table
}
}
thead {
tr {
&:first-child {
td,
th {
border-top: 0;
}
}
}
}
tbody {
tr:last-child {
td,
th {
border-bottom: 0;
}
}
}
.card-body + & {
border-top: 1px solid $border-color;
}