Skip to content

Commit

Permalink
fix new styles
Browse files Browse the repository at this point in the history
  • Loading branch information
loverajoel committed Mar 2, 2016
1 parent 6b09a80 commit 9dd12cc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ permalink: /:categories/:title/

markdown: kramdown
highlighter: rouge
kramdown:
input: GFM
syntax_highlighter: rouge

paginate: 10
paginate_path: "/:num/"

Expand Down
13 changes: 10 additions & 3 deletions _sass/_highlights.scss
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@

.highlighter-rouge {
max-width: none !important;
background-color: #F9F9F9;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
margin: 20px auto !important;
padding: 20px 0;

.highlight {
padding: 20px 0;
}

@media (max-width: 900px) {
margin: 0 10px;
padding: 10px 0;
}
}

div.highlighter-rouge {
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}

.highlight {
overflow: scroll;
line-height: 1.2;
Expand Down

0 comments on commit 9dd12cc

Please sign in to comment.