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:
Javi Martín
2021-01-09 20:15:06 +01:00
parent 9913b6a0c6
commit 3e74f4ab67

View File

@@ -2790,12 +2790,9 @@ table {
}
a:hover {
box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
text-decoration: none;
&:not(.see-all) {
box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
}
img {
transform: scale(1.1);
}
@@ -2863,18 +2860,6 @@ table {
min-height: rem-calc(185);
}
a {
h3,
.title {
color: #fff;
}
&:hover {
text-decoration: none;
}
}
.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%);
height: 100%;
@@ -2899,8 +2884,7 @@ table {
width: 100%;
z-index: 3;
h3,
.title {
h3 {
font-size: $base-font-size;
@include breakpoint(medium) {