sass-site/source/assets/css/components/_callouts.scss

14 lines
316 B
SCSS
Raw Normal View History

2018-10-24 00:06:39 +02:00
.sl-c-callout {
2018-12-28 01:31:28 +01:00
margin: 1.5rem 0;
2019-03-05 01:24:31 +01:00
padding: 1.5rem 1rem;
background: darken($sl-color--pale-sky, 25%);
2018-10-24 00:06:39 +02:00
2019-03-05 01:24:31 +01:00
&--warning { background: lighten($sl-color--hopbush, 36%); }
2018-10-24 00:06:39 +02:00
2019-03-05 01:24:31 +01:00
&--fun-fact { background: lighten($sl-color--patina, 43%); }
2018-10-24 00:06:39 +02:00
2019-03-05 01:24:31 +01:00
> *:first-child { margin-top: 0; }
2018-10-24 00:06:39 +02:00
2019-03-05 01:24:31 +01:00
> *:last-child { margin-bottom: 0; }
2018-10-24 00:06:39 +02:00
}