hackertours-theme/sass/components/inverted-box/_inverted-box.scss
2017-08-11 21:30:51 +02:00

26 lines
336 B
SCSS

// A inverted box style.
.inverted-box,
%inverted-box {
@include padding(.5);
background: color(brand);
color: color(text-bg);
border-radius: 5px;
:link,
:visited {
color: color(text-bg);
}
p,
ul,
ol {
&:first-of-type {
margin-top: 0;
}
&:last-of-type {
margin-bottom: 0;
}
}
}