Skip to content

Instantly share code, notes, and snippets.

@hikarock
Created June 1, 2013 00:39
Show Gist options
  • Save hikarock/5688863 to your computer and use it in GitHub Desktop.
Save hikarock/5688863 to your computer and use it in GitHub Desktop.
// This File is imported last, and will override other styles in the cascade
// Add styles here to make changes without digging in too much
/*
* Fix: list margin
*/
@if $indented-lists == false {
@media only screen and (min-width: 768px) {
ul, ol { margin-left: 1.5em; }
}
}
/*
* Fix: Gist Styles
* http://rcmdnk.github.io/blog/2013/05/06/blog-octopress/
*/
.highlight, html .gist .gist-file .gist-syntax .gist-highlight {
table td.code { width: 100%; }
border: 0px solid $pre-border !important;
}
html .gist .gist-file {
font-size: 13px !important;
border: 1px solid $pre-border !important;
.gist-syntax {
border-bottom: 0 !important;
background: none !important;
border-border: 1px solid $pre-border !important;
background: $base03 !important;
.gist-highlight {
background: $base03 !important;
}
}
.gist-meta {
font-size: .9em !important;
}
}
td {
code {
@extend .mono;
display: inline-block;
white-space: no-wrap;
background: #fff;
font-size: .8em;
line-height: 1.5em;
color: #555;
border: 1px solid #ddd;
@include border-radius(.4em);
padding: 0 .3em;
margin: -1px 0;
}
pre code { font-size: 1em !important; background: none; border: none; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment