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

25 lines
567 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;
padding: .75rem 1rem;
background: $sl-color--nebula;
color: $sl-color--white;
2018-10-24 00:06:39 +02:00
2018-12-28 01:31:28 +01:00
a,
code { color: inherit; }
2018-10-24 00:06:39 +02:00
2018-12-28 01:31:28 +01:00
a {
border-bottom: 1px solid rgba(rgba($sl-color--white, .75), .5);
font-weight: $sl-font-weight--bold;
color: inherit;
2018-10-24 00:06:39 +02:00
2018-12-28 01:31:28 +01:00
&:hover,
&:focus { border-bottom-color: rgba($sl-color--white, .5); }
2018-10-24 00:06:39 +02:00
2018-12-28 01:31:28 +01:00
&:active { border-bottom-color: rgba($sl-color--white, .75); }
2018-10-24 00:06:39 +02:00
}
2018-12-28 01:31:28 +01:00
&--warning { background: darken($sl-color--hopbush, 10%); }
&--fun-fact { background: darken($sl-color--patina, 10%); }
2018-10-24 00:06:39 +02:00
}