Skip to content

Instantly share code, notes, and snippets.

@davidmars
Created June 20, 2014 08:40
Show Gist options
  • Save davidmars/953c46ee87e8f13ce5c0 to your computer and use it in GitHub Desktop.
Save davidmars/953c46ee87e8f13ce5c0 to your computer and use it in GitHub Desktop.
a sample less css code to format texts into a rich text field (MediumEditor)
[format_string_rich_text]{
h2{
font-family:cursive;
margin-bottom: 4px;
text-align: left;
}
h3{
font-family:cursive;
margin-bottom: 4px;
text-align: left;
}
blockquote{
font-family:cursive;
display: block;
text-align: center;
}
a{
color:#ff0;
&:hover{
color: darken(#ff0,10%);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment