Something went wrong on our end
-
Jake Drahos authoredJake Drahos authored
_styles.scss 1.05 KiB
// This file contains custom (non hack.css) styles
.t-hackcss { // Main prefix
// navigation.html
&-navigation {
padding-right: $spacing-unit;
}
&-social {
display: inline-block;
}
&-social + &-social {
padding-left: $spacing-unit;
}
&-sm-reversed-grid.grid {
@include media-query($on-palm) {
flex-direction: column-reverse;
}
}
&-icon {
display: inline-block;
vertical-align: middle;
width: $icon-size;
height: $icon-size;
> svg {
width: $icon-size;
}
}
// examples.html
&-media-shift {
max-width: $image-size;
}
&-media-image {
display: block;
max-width: 100%;
height: auto;
}
&-cards {
flex-wrap: wrap;
@include media-query($on-palm) {
flex-wrap: nowrap;
}
}
&-cards-cell {
padding-bottom: $spacing-unit;
padding-right: $spacing-unit;
}
&-cards-text {
margin: 0
}
&-cards-image {
display: block;
max-width: 50%;
height: auto;
margin: 0 auto;
}
&-cards-link {
text-align: center;
}
}