Skip to content

Instantly share code, notes, and snippets.

View nizzac's full-sized avatar
😜
Slowly going nuts

Neil Carpenter nizzac

😜
Slowly going nuts
  • Rotherham, South Yorkshire
View GitHub Profile
@nizzac
nizzac / oc-images.css
Created February 11, 2020 10:24
Handles responsive image alignment for octobercms richeditor generated classes
/**
* Mobile first.
* By default, make images and videos display
* block and centrally align them.
*/
img {
&.fr-dib,
&.fr-dib.fil,
&.fr-dib.fir,
&.fr-dii,
@nizzac
nizzac / oc-editor-styles.css
Created July 30, 2018 14:47
OctoberCMS custom richeditor styles
h1, h2, h3, h4 {
color: rgb(57, 57, 163);
font-family: "Mukta Vaani";
font-weight: 700;
margin: 0px;
padding: 0px;
text-rendering: optimizelegibility;
}
h1 {