Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/minor'
Browse files Browse the repository at this point in the history
  • Loading branch information
mmistakes committed Aug 23, 2013
2 parents b770c2a + dac03bb commit 6d982e8
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
4 changes: 1 addition & 3 deletions _posts/2013-08-16-code-highlighting-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ image:
comments: true
---

Syntax highlighting is a feature that displays source code, in different colors and fonts according to the category of terms. This feature facilitates writing in a structured language such as a programming language or a markup language as both structures and syntax errors are visually distinct. Highlighting does not affect the meaning of the text itself; it is intended only for human readers.[^1]

[^1]: <http://en.wikipedia.org/wiki/Syntax_highlighting>
[Syntax highlighting](http://en.wikipedia.org/wiki/Syntax_highlighting) is a feature that displays source code, in different colors and fonts according to the category of terms. This feature facilitates writing in a structured language such as a programming language or a markup language as both structures and syntax errors are visually distinct. Highlighting does not affect the meaning of the text itself; it is intended only for human readers.

### Pygments Code Blocks

Expand Down
12 changes: 10 additions & 2 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3402,14 +3402,22 @@ body {
}
#post .entry-content,
#page .entry-content {
margin: 40px 10px 20px 10px;
padding: 20px 30px;
margin: 40px 2px 20px 2px;
padding: 10px 15px;
background-color: #ffffff;
box-shadow: 0 0 0 1px rgba(187, 187, 187, 0.1), 0 6px 12px rgba(0, 0, 0, 0.1);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
@media only screen and (min-width: 48em) {
#post .entry-content,
#page .entry-content {
margin-left: 10px;
margin-right: 10px;
padding: 20px 30px;
}
}
@media only screen and (min-width: 62.5em) {
#post .entry-content,
#page .entry-content {
Expand Down
10 changes: 7 additions & 3 deletions assets/less/page.less
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,16 @@ body {
#post,
#page {
.entry-content {
margin: 40px 10px 20px 10px;
padding: 20px 30px;
margin: 40px 2px 20px 2px;
padding: 10px 15px;
background-color: @white;
box-shadow: 0 0 0 1px fade(@border-color,10), 0 6px 12px fade(@black,10);
.rounded(3px);

@media @medium {
margin-left: 10px;
margin-right: 10px;
padding: 20px 30px;
}
@media @large {
max-width: 800px;
padding: 50px 80px;
Expand Down

0 comments on commit 6d982e8

Please sign in to comment.