hackertours-theme/sass/custom/inverted-box/_inverted-box.scss
Fredrik Jonsson b7977e1c28 First commit.
2017-03-09 14:29:29 +01: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;
}
}
}