@massds/mayflower-assets
Version:
Mayflower Assets
116 lines • 2.46 kB
CSS
.ma__callout-link {
border: 3px solid;
display: flex;
width: 100%;
flex-flow: column wrap;
justify-content: center;
padding: 15px 20px;
background-color: #e8eef4;
border-color: #7299BC;
box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
text-decoration: none;
}
@media (min-width: 621px) {
.ma__callout-link {
padding: 20px 30px;
}
}
.ma__callout-link:hover .ma__callout-link__text, .ma__callout-link:focus .ma__callout-link__text {
border-bottom-color: #7299BC;
}
.ma__callout-link a {
text-decoration: none;
}
.ma__rich-text .ma__callout-link {
border-bottom-width: 3px;
}
.ma__callout-link > span {
width: 100%;
}
.ma__callout-link__container {
font-size: 1.375rem;
line-height: 1.3;
vertical-align: middle;
padding-right: 0.8em;
width: 100%;
}
.ma__callout-link__text {
border-bottom: 3px solid transparent;
padding-top: 3px;
padding-bottom: 1px;
transition: border 0.4s ease;
text-decoration: none;
display: inline;
}
.ma__callout-link__text:hover {
border-bottom-width: 3px;
border-bottom-style: solid;
text-decoration: none;
}
.ma__callout-link__text svg {
display: inline-block;
height: 0.6em;
margin-right: -0.8em;
width: 0.6em;
fill: #14558f;
}
.ma__callout-link__description {
display: none;
padding-top: 10px;
font-size: 1rem;
font-weight: 400;
color: #14558f;
}
@media (min-width: 481px) {
.ma__callout-link__description {
display: flex;
align-content: stretch;
align-items: center;
}
}
.ma__callout-link__eyebrow {
background-color: #F2F2F2;
font-weight: 600;
}
.ma__callout-link__header {
align-content: stretch;
width: 100%;
display: inline-flex;
justify-content: space-between;
margin-bottom: 10px;
color: #535353;
}
@media (min-width: 621px) {
.ma__callout-link__header {
margin-bottom: 15px;
}
}
.ma__callout-link__eyebrow, .ma__callout-link__time {
font-size: calc(12.25rem / 16);
letter-spacing: 0.1em;
text-transform: uppercase;
padding: 5px 7px;
}
.ma__callout-link__emphasized {
font-size: calc(14.75rem / 16);
line-height: 1;
padding-top: 15px;
display: flex;
color: #141414;
font-weight: 600;
}
.ma__callout-link--white {
background-color: white;
border-color: #cbcbcb;
box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
}
.ma__callout-link__info {
position: absolute;
overflow: hidden;
clip: rect(0 0 0 0);
height: 1px;
width: 1px;
margin: -1px;
padding: 0;
border: 0;
}