dpaste/client/scss/_mixins.scss

26 lines
585 B
SCSS
Raw Normal View History

2018-04-14 02:44:33 +10:00
// Global padding across all first level elements
@mixin boxPadding($paddingTop: 20px, $paddingBottom: 20px) {
padding: $paddingTop $boxPadding $paddingBottom $boxPadding;
}
2018-03-24 18:57:05 +11:00
// Vertical dotted separtor
@mixin separator($color: white, $margin: 4px) {
width: 0;
border-right: 2px dotted $color;
margin: 0 ($margin+2px) 0 $margin;
}
2018-03-28 03:42:54 +11:00
@mixin colored-links() {
a:link, a:visited {
color: $linkColor;
text-decoration: underline;
text-decoration-color: lighten($linkColor, 30%);
}
a:hover, a:active {
color: $hoverColor;
text-decoration: underline;
}
}