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

44 lines
756 B
SCSS
Raw Normal View History

2013-10-09 12:30:53 +02:00
.alert {
@include padding-leader(.5);
@include padding-trailer(.5);
2018-10-24 00:06:39 +02:00
text-align: center;
background: darken($color-background-invert, 10%);
&,
a { color: $color-text-invert; }
2013-10-09 12:30:53 +02:00
ul,
p {
margin: {
2018-10-24 00:06:39 +02:00
right: auto;
left: auto;
2013-10-09 12:30:53 +02:00
}
padding-bottom: 0;
}
a {
2018-10-24 00:06:39 +02:00
border-bottom: 1px solid rgba($color-text-invert, .5);
2013-10-09 12:30:53 +02:00
font-weight: $font-weight-bold;
&:hover,
2018-10-24 00:06:39 +02:00
&:focus { border-bottom-color: rgba($color-text-invert, .75); }
2013-10-09 12:30:53 +02:00
}
}
.release ul {
2013-10-11 22:06:20 +02:00
@extend %reset-list;
2018-10-27 08:06:47 +02:00
@include sl-breakpoint--medium { @extend %medium-horizontal-list; }
2013-10-09 12:30:53 +02:00
}
2013-10-11 22:06:20 +02:00
.release-name { white-space: nowrap; }
2014-07-23 00:27:15 +02:00
2018-10-27 08:06:47 +02:00
.alert.stickers { background: $midnight-blue; }
.browsehappy {
margin: 0;
padding: 0;
background: 0;
color: inherit;
}