Created
October 21, 2015 00:36
-
-
Save sethlilly/c4cc1ec07d27aaad5e03 to your computer and use it in GitHub Desktop.
Gist SCSS example
This file contains 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 Gist support (https://gist.github.com) | |
.gist { | |
margin-top: 20px; | |
margin-bottom: 20px; | |
border-collapse: collapse !important; | |
.gist-file { | |
font-family: $preFontFamily; | |
border: 1px solid $subtleColor !important; | |
.gist-meta { | |
font-family: $secondaryFontFamily !important; | |
font-weight: 300 !important; | |
display: none !important; // Hide GitHub attribution | |
text-transform: uppercase !important; | |
background-color: $subtleColor !important; | |
a:visited { | |
color: $linkColor !important | |
} | |
} | |
.gist-data { | |
border-bottom: none !important; // Hide GitHub attribution | |
background: $gistBackgroundColor !important; | |
.line-numbers { | |
line-height: 24px !important; | |
border-right: none !important; | |
background-color: $subtleColor !important; | |
} | |
.line-pre { | |
line-height: 24px !important; | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment