2018-10-23 15:06:39 -07:00
|
|
|
.sl-c-callout {
|
2018-12-27 16:31:28 -08:00
|
|
|
margin: 1.5rem 0;
|
2019-03-04 16:24:31 -08:00
|
|
|
padding: 1.5rem 1rem;
|
2019-03-04 17:19:06 -08:00
|
|
|
background: lighten($sl-color--pale-sky, 50%);
|
2019-03-10 07:11:48 -07:00
|
|
|
border-radius: 2px;
|
2018-10-23 15:06:39 -07:00
|
|
|
|
2019-03-10 07:11:48 -07:00
|
|
|
&--warning {
|
|
|
|
background: lighten($sl-color--hopbush, 36%);
|
|
|
|
border: 1px solid lighten($sl-color--hopbush, 27%);
|
|
|
|
}
|
2018-10-23 15:06:39 -07:00
|
|
|
|
2019-03-10 07:11:48 -07:00
|
|
|
&--fun-fact {
|
|
|
|
background: lighten($sl-color--patina, 43%);
|
|
|
|
border: 1px solid lighten($sl-color--patina, 32%);
|
|
|
|
}
|
2018-10-23 15:06:39 -07:00
|
|
|
|
2019-03-04 17:19:06 -08:00
|
|
|
&--function {
|
|
|
|
padding: {
|
|
|
|
top: 0;
|
|
|
|
bottom: .25rem;
|
|
|
|
};
|
|
|
|
|
|
|
|
.signature {
|
2019-03-18 17:49:03 -07:00
|
|
|
// Make sure permalinks are visible.
|
|
|
|
overflow: visible;
|
|
|
|
|
2019-03-04 17:19:06 -08:00
|
|
|
margin: {
|
|
|
|
right: -1rem;
|
|
|
|
left: -1rem;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-08 16:45:43 -08:00
|
|
|
&--impl-status {
|
|
|
|
font-size: 0.8em;
|
|
|
|
margin-top: -1rem;
|
|
|
|
padding: 0.8rem;
|
|
|
|
|
|
|
|
.sl-c-callout & {
|
|
|
|
background: lighten($sl-color--pale-sky, 53%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-04 16:24:31 -08:00
|
|
|
> *:first-child { margin-top: 0; }
|
2018-10-23 15:06:39 -07:00
|
|
|
|
2019-03-04 16:24:31 -08:00
|
|
|
> *:last-child { margin-bottom: 0; }
|
2018-10-23 15:06:39 -07:00
|
|
|
}
|
2019-04-04 23:55:07 -07:00
|
|
|
|
|
|
|
@include sl-breakpoint--medium {
|
|
|
|
.sl-l-container--overview {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
|
|
|
.sl-c-callout { font-size: 1rem; }
|
|
|
|
}
|
|
|
|
}
|