Sha256: c39fe0bc45be4fec3421d3999574575f9e79dcf67ab8139aba240184d1f7ad7d
Contents?: true
Size: 1.54 KB
Versions: 9
Compression:
Stored size: 1.54 KB
Contents
// Code // // Inline and block-level code snippets. Includes tweaks to syntax highlighted // snippets from Pygments/Rouge and Gist embeds. code, pre { font-family: $code-font-family; } code { padding: .25em .5em; font-size: .85em; background-color: rgba(0, 0, 0, 0.03); } pre { margin-top: 0; margin-bottom: 1rem; display: block; line-height: 1.1; /* Prevent code linebreaks and allow side-scrolling (much better readability on mobile) */ overflow-x: auto; -webkit-overflow-scrolling: touch; /* Make code same width as regular text, and scroll the full page width on mobile */ @include pre(); backface-visibility: hidden; // wat? } pre code { padding: 0; font-size: .75em; color: inherit; background-color: transparent; } figure, .figure { margin-left: 0; margin-right: 0; > *:first-child { padding: 1rem; background-color: rgba(0, 0, 0, 0.05); } > figcaption, > .figcaption { font-size: smaller; color: $gray; text-align: center; font-style: italic; margin-top: 0.5rem; padding: 0 1rem; } } .highlight { margin-bottom: 1rem; } // Gist via GitHub Pages // .gist .gist-file { // font-family: Menlo, Monaco, "Courier New", monospace !important; // } // .gist .markdown-body { // padding: 15px; // } // .gist pre { // padding: 0; // background-color: transparent; // } // .gist .gist-file .gist-data { // font-size: .8rem !important; // line-height: 1.4; // } // .gist code { // padding: 0; // color: inherit; // background-color: transparent; // border-radius: 0; // }
Version data entries
9 entries across 9 versions & 1 rubygems