Sha256: d364de343f6d6532e28c4fc64ff227629cca931bac5f177a8eebc533c4fe9cdc

Contents?: true

Size: 1.47 KB

Versions: 21

Compression:

Stored size: 1.47 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: 85%;
  color: $code-color;
  background-color: #f9f9f9;
  border-radius: 3px;
}

pre {
  margin-top: 0;
  margin-bottom: 1rem;
}

pre code {
  padding: 0;
  font-size: 100%;
  color: inherit;
  background-color: transparent;
}

// Pygments/Rouge via Jekyll
.highlight {
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: .8rem;
  line-height: 1.4;
  background-color: #f9f9f9;
  border-radius: .25rem;

  pre {
    margin-bottom: 0;
    overflow-x: auto;
  }

  .lineno {
    display: inline-block; // Ensures the null space also isn't selectable
    padding-right: .75rem;
    padding-left: .25rem;
    color: #999;
    // Make sure numbers aren't selectable
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
}

pre {
  max-width: 100%;
  overflow-x: auto;
}

// 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

21 entries across 21 versions & 1 rubygems

Version Path
jekyll-theme-hydeout-4.0.2 _sass/hydeout/_code.scss
jekyll-theme-hydeout-4.0.1 _sass/hydeout/_code.scss
jekyll-theme-hydeout-4.0.0 _sass/hydeout/_code.scss
jekyll-theme-hydeout-3.7.1 _sass/hydeout/_code.scss
jekyll-theme-hydeout-3.7.0 _sass/hydeout/_code.scss
jekyll-theme-hydeout-3.6.0 _sass/hydeout/_code.scss
jekyll-theme-hydeout-3.5.3 _sass/hydeout/_code.scss
jekyll-theme-hydeout-3.5.2 _sass/hydeout/_code.scss
jekyll-theme-hydeout-3.5.1 _sass/hydeout/_code.scss
jekyll-theme-hydeout-3.5.0 _sass/hydeout/_code.scss
jekyll-theme-hydeout-3.4.3 _sass/hydeout/_code.scss
jekyll-theme-hydeout-3.4.2 _sass/hydeout/_code.scss
jekyll-theme-hydeout-3.4.1 _sass/hydeout/_code.scss
jekyll-theme-hydeout-3.4.0 _sass/hydeout/_code.scss
jekyll-theme-hydeout-3.3.1 _sass/hydeout/_code.scss
jekyll-theme-hydeout-3.3.0 _sass/hydeout/_code.scss
jekyll-theme-hydeout-3.2.0 _sass/hydeout/_code.scss
jekyll-theme-hydeout-3.1.3 _sass/hydeout/_code.scss
jekyll-theme-hydeout-3.1.2 _sass/hydeout/_code.scss
jekyll-theme-hydeout-3.1.1 _sass/hydeout/_code.scss