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

34 lines
544 B
SCSS
Raw Normal View History

2018-10-24 00:06:39 +02:00
.sl-c-callout {
margin: 1.5rem 0;
padding: .75rem 1rem;
background: $nebula;
&--warning,
&--fun-fact {
&,
a,
code { color: $white; }
a { text-decoration: underline; }
}
&--warning { background: darken($hopbush, 10%); }
&--fun-fact { background: darken($patina, 10%); }
h3 { padding-top: .75rem; }
.highlight {
box-sizing: border-box;
width: 100%;
}
h3,
.highlight code,
.ui-tabs .ui-tabs-nav .ui-tabs-active a,
.ui-tabs .ui-tabs-nav li.css-tab a::before {
color: inherit;
}
}