mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-19 11:15:49 +00:00
53 lines
917 B
SCSS
53 lines
917 B
SCSS
.card-body > p,
|
|
.card-body > p:last-child {
|
|
padding: 0;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
/* Full-link cards */
|
|
a.card {
|
|
border: 0;
|
|
}
|
|
a.card:hover {
|
|
text-decoration: none;
|
|
}
|
|
a.card:hover h3 {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.card-deck {
|
|
margin-top: 2.5rem;
|
|
.card {
|
|
background-position: bottom;
|
|
background-repeat: no-repeat;
|
|
|
|
@include media-breakpoint-up(xl) {
|
|
background-size: contain;
|
|
}
|
|
}
|
|
|
|
a.card {
|
|
transition: all 0.35s ease-out;
|
|
cursor: pointer;
|
|
&:hover {
|
|
-webkit-transform: translateY(-16px);
|
|
-moz-transform: translateY(-16px);
|
|
-ms-transform: translateY(-16px);
|
|
-o-transform: translateY(-16px);
|
|
transform: translateY(-16px);
|
|
}
|
|
}
|
|
|
|
@include media-breakpoint-down(md) {
|
|
margin-top: 2rem;
|
|
|
|
.card-body {
|
|
padding: 1rem;
|
|
}
|
|
&.row-cols-2 .card {
|
|
margin: .75rem;
|
|
max-width: calc(50% - 1.5rem);
|
|
}
|
|
}
|
|
}
|