Skip to content

Instantly share code, notes, and snippets.

@vdchristelle
Created December 5, 2013 07:30
Show Gist options
  • Save vdchristelle/7801504 to your computer and use it in GitHub Desktop.
Save vdchristelle/7801504 to your computer and use it in GitHub Desktop.
WYSIWYG inserted styles
img.inserted {
width: 50%;
float: left;
}
.left .inserted {
float: left;
margin: rhythm(0.3) rhythm(0.5) rhythm(0.25) 0;
}
.right .inserted {
float: right;
margin: rhythm(0.3) 0 rhythm(0.25) rhythm(0.5);
}
@include at-breakpoint($break-3) {
img.inserted {
width: 25%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment