Remove unused card styles
There are no links inside a figure-card, so these styles didn't affect
any elements.
There are also no elements with `.title`, and the h3 inherits the white
color automatically form the figcaption.
On the other hand, the .see-all link is not inside an element with a
`card` class since commit fae52274a.
This commit is contained in:
@@ -2790,11 +2790,8 @@ table {
|
|||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
text-decoration: none;
|
|
||||||
|
|
||||||
&:not(.see-all) {
|
|
||||||
box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
|
box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
|
||||||
}
|
text-decoration: none;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
transform: scale(1.1);
|
transform: scale(1.1);
|
||||||
@@ -2863,18 +2860,6 @@ table {
|
|||||||
min-height: rem-calc(185);
|
min-height: rem-calc(185);
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
|
||||||
|
|
||||||
h3,
|
|
||||||
.title {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.gradient {
|
.gradient {
|
||||||
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.01) 1%, rgba(0, 0, 0, 1) 100%);
|
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.01) 1%, rgba(0, 0, 0, 1) 100%);
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -2899,8 +2884,7 @@ table {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
|
|
||||||
h3,
|
h3 {
|
||||||
.title {
|
|
||||||
font-size: $base-font-size;
|
font-size: $base-font-size;
|
||||||
|
|
||||||
@include breakpoint(medium) {
|
@include breakpoint(medium) {
|
||||||
|
|||||||
Reference in New Issue
Block a user