mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Bud Parr
18.47.2017 4950205a91860d66d47d9543f020b47e7923e76e
add code CSS
1 files added
1 files modified
25 ■■■■■ changed files
src/css/_code.css 24 ●●●●● patch | view | raw | blame | history
src/css/main.css 1 ●●●● patch | view | raw | blame | history
src/css/_code.css
New file
@@ -0,0 +1,24 @@
pre, .pre  {
  overflow-x: auto;
  overflow-y: hidden;
  overflow:   scroll;
}
pre  code {
  display: block;
  padding: 1.5em 1.5em;
  white-space: normal;
  font-size: .875rem;
  line-height: 2;
}
pre {
  background-color: #222;
  color: #ddd;
  white-space: pre;
  hyphens: none;
  position: relative;
}
src/css/main.css
@@ -1,4 +1,5 @@
@import '_tachyons';
@import '_code';
@import '_hugo-internal-templates';
@import '_social-icons';
@import '_styles';