Skip to content

Instantly share code, notes, and snippets.

@wpspeak
Forked from GaryJones/annotated-style.css
Created June 19, 2013 07:24
Show Gist options
  • Save wpspeak/5812282 to your computer and use it in GitHub Desktop.
Save wpspeak/5812282 to your computer and use it in GitHub Desktop.
Fix Genesis 2.0 CSS for Gist (Props Gary)
/* Same as other file, but with extra notes */
/* Embedded Gists */
.line-pre::before,
.line-pre::after,
.line::before,
.line::after {
content: ''; /* Fixes addition of float-clearing space added to before and after global pre and div elements */
}
.line-number,
.gist .line-data > .line-pre {
line-height: 1.2; /* Fixes redundant body line-height of 1.625 - Gist style default is to inherit line-height */
}
.line-pre {
color: #000; /* Fixes choice of grey colouring for pre elements */
overflow: hidden; /* Fixes choice of overflow scroll for pre elements */
}
/* Embedded Gists */
.line-pre::before,
.line-pre::after,
.line::before,
.line::after {
content: '';
}
.line-number,
.gist .line-data > .line-pre {
line-height: 1.2;
}
.line-pre {
color: #000;
overflow: hidden;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment