-
-
Save wpspeak/5812282 to your computer and use it in GitHub Desktop.
Fix Genesis 2.0 CSS for Gist (Props Gary)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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 */ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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