64 lines
1.1 KiB
CSS
64 lines
1.1 KiB
CSS
.card {
|
|
position: relative;
|
|
width: min(100%, 286px);
|
|
padding: 12px 42px 12px 13px;
|
|
border: 1px solid rgba(122, 91, 73, 0.2);
|
|
border-radius: 8px;
|
|
background: rgba(255, 250, 246, 0.96);
|
|
color: #352a25;
|
|
box-shadow: 0 5px 18px rgba(68, 47, 37, 0.08);
|
|
}
|
|
|
|
.card p {
|
|
margin: 0 0 10px;
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.dismiss {
|
|
position: absolute;
|
|
top: 7px;
|
|
right: 7px;
|
|
display: grid;
|
|
width: 28px;
|
|
height: 28px;
|
|
place-items: center;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: transparent;
|
|
color: #756660;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dismiss:hover,
|
|
.dismiss:focus-visible {
|
|
background: rgba(104, 82, 70, 0.1);
|
|
}
|
|
|
|
.cta {
|
|
display: inline-flex;
|
|
min-height: 36px;
|
|
max-width: 100%;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
padding: 8px 12px;
|
|
border-radius: 7px;
|
|
background: #765142;
|
|
color: #fff;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.cta span {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.cta:hover,
|
|
.cta:focus-visible {
|
|
background: #604035;
|
|
}
|