You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
812 B
SCSS
64 lines
812 B
SCSS
///
|
|
/// Atmosphere by Pixelarity
|
|
/// pixelarity.com | hello@pixelarity.com
|
|
/// License: pixelarity.com/license
|
|
///
|
|
|
|
/* Image */
|
|
|
|
.image {
|
|
border: 0;
|
|
display: inline-block;
|
|
position: relative;
|
|
|
|
img {
|
|
display: block;
|
|
}
|
|
|
|
&.left,
|
|
&.right {
|
|
max-width: 40%;
|
|
|
|
img {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
&.left {
|
|
float: left;
|
|
margin: 0 1.5em 1em 0;
|
|
top: 0.25em;
|
|
}
|
|
|
|
&.right {
|
|
float: right;
|
|
margin: 0 0 1em 1.5em;
|
|
top: 0.25em;
|
|
}
|
|
|
|
&.fit {
|
|
display: block;
|
|
margin: 0 0 _size(element-margin) 0;
|
|
width: 100%;
|
|
|
|
img {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
&.main {
|
|
display: block;
|
|
margin: 0 0 (_size(element-margin) * 1.5) 0;
|
|
width: 100%;
|
|
|
|
img {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@include breakpoint('<=small') {
|
|
&.main {
|
|
margin: 0 0 _size(element-margin) 0;
|
|
}
|
|
}
|
|
} |