mirror of
https://github.com/danog/sass-site.git
synced 2024-12-12 09:29:58 +01:00
49 lines
779 B
SCSS
49 lines
779 B
SCSS
.sl-c-alert {
|
|
padding: {
|
|
top: sl-px-to-rem(12px);
|
|
bottom: sl-px-to-rem(12px);
|
|
}
|
|
text-align: center;
|
|
background: darken($sl-color--hopbush, 10%);
|
|
color: $sl-color--white;
|
|
font-size: $sl-font-size--small;
|
|
|
|
p,
|
|
ul,
|
|
dl {
|
|
&:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
p,
|
|
li,
|
|
dd {
|
|
max-width: none;
|
|
}
|
|
|
|
a {
|
|
border-bottom-color: rgba($sl-color--white, 0.5);
|
|
font-weight: $sl-font-weight--bold;
|
|
color: $sl-color--white;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
border-bottom-color: rgba($sl-color--white, 0.75);
|
|
background: rgba(black, 0.0625);
|
|
}
|
|
|
|
&:active {
|
|
border-bottom-color: $sl-color--white;
|
|
}
|
|
}
|
|
|
|
&--info {
|
|
background: $sl-color--midnight-blue;
|
|
}
|
|
}
|