add code CSS

This commit is contained in:
Bud Parr 2017-04-17 20:47:29 -04:00
parent b3eb4ebba0
commit 4950205a91
No known key found for this signature in database
GPG key ID: ACA375160539D2B3
2 changed files with 25 additions and 0 deletions

24
src/css/_code.css Normal file
View 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;
}

View file

@ -1,4 +1,5 @@
@import '_tachyons';
@import '_code';
@import '_hugo-internal-templates';
@import '_social-icons';
@import '_styles';