Skip to content

Commit

Permalink
feat(theme): better content margin
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Aug 14, 2015
1 parent cbd8d03 commit 6f75ecd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion _app/_posts/note/2014-06-01-custom-html-markups.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Please note that you can't apply CSS classes in Markdown, so you have to use HTM

### Example

<p class="browser"><img src="http://rsrc.sparanoid.com/delicious.com.png" alt="Delicious Preview" class=nointense></p>
<p class="browser"><img src="http://rsrc.sparanoid.com/delicious.com.png" alt="Delicious Preview" class="nointense"></p>

## [intense.js](http://github.com/tholman/intense-images)

Expand Down
20 changes: 10 additions & 10 deletions _app/assets/themes/curtana/_less/app.less
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ body:hover .latest {
}

p {
margin: 0 0 1.1em;
margin: 0 0 1.6rem;
line-height: (@base-line-height * 1.2);
}

Expand Down Expand Up @@ -374,7 +374,7 @@ body:hover .latest {
}

ul, ol {
margin: 0 0 1em 1.5em;
margin: 0 0 1.8rem 1.5em;

li {
line-height: (@base-line-height * 1.2);
Expand All @@ -392,12 +392,12 @@ body:hover .latest {
img, video, iframe {
display: block;
max-width: 100%;
margin: 0 0 4vmin;
margin: 0 0 1.8rem;
}

blockquote {
position: relative;
margin-bottom: 2em;
margin-bottom: 2.8rem;

> p {
padding-left: .8em;
Expand Down Expand Up @@ -447,7 +447,7 @@ body:hover .latest {

pre {
padding: 1em;
margin: 0 0 1em;
margin: 0 0 1.8rem;
overflow-x: scroll;
font-size: 80%;
line-height: (@base-line-height * 1.2);
Expand All @@ -463,7 +463,7 @@ body:hover .latest {
display: block;
width: 100%;
padding: 1vmin 0;
margin: 0 0 1vmin;
margin: 0 0 1.8rem;
border: none;
border-bottom: 1px solid fade(@text-color, 20%);
// Remove border-radius for iOS devices
Expand Down Expand Up @@ -498,7 +498,7 @@ body:hover .latest {
border-spacing: 0;
font-size: 90%;
width: 100%;
margin: 0 0 1em;
margin: 0 0 1.8rem;

th,
td {
Expand Down Expand Up @@ -541,14 +541,14 @@ body:hover .latest {
.largetype {
.heading;
font-size: 200%;
margin-bottom: .5em !important;
margin-bottom: 1.8rem !important;
}

// Broser frame for images in category "work"
.browser {
position: relative;
padding-top: 24px;
margin: 0 0 4vmin !important;
margin: 0 0 1.8rem !important;
background: rgba(255, 255, 255, .1);
border-radius: 5px 5px 0 0;
box-shadow: 0 0 0 1px rgba(0, 0, 0, .05);
Expand Down Expand Up @@ -609,7 +609,7 @@ body:hover .latest {
// Post list in "work" and "note"
.list {
display: block;
margin: 0 0 1.4vmin;
margin: 0 0 .4rem;

h1 {
.heading;
Expand Down

0 comments on commit 6f75ecd

Please sign in to comment.