Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
CSS updates
Adjusting the spacing between p, blockquote, and ul tags in the content
of a post. Also modifying the appearance of url links so that they are
noticeable.
  • Loading branch information
jpescador committed Apr 22, 2016
1 parent aecd316 commit 9e99cc0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
4 changes: 3 additions & 1 deletion layouts/_default/single.html
Expand Up @@ -7,7 +7,9 @@
<article class="post">
{{ $.Scratch.Set "h1" true }}
{{ .Render "header" }}
{{ .Content }}
<div id="content">
{{ .Content }}
</div>
</article>
</div>
{{ partial "sidebar" . }}
Expand Down
4 changes: 3 additions & 1 deletion layouts/post/content-single.html
Expand Up @@ -7,7 +7,9 @@
</ul>
</section>
{{ .Render "featured" }}
{{ .Content }}
<div id="content">
{{ .Content }}
</div>

<footer>
{{ .Render "footer-category" }}
Expand Down
18 changes: 15 additions & 3 deletions static/css/add-on.css
Expand Up @@ -339,9 +339,21 @@ body.is-share-visible #wrapper {
margin: 0 0 2em 0;
}

article.post img {
max-width: 100%;
}
#content img {
max-width: 100%;
}

#content p a, #content ul li a {
border-bottom: dotted 2px rgba(160,160,160,.65);
}

#content p a:hover {
border-bottom-color: transparent;
}

#content blockquote, #content p, #content ul{
margin: 0 0 1em;
}

ul.pagination li {
padding-top: 1em;
Expand Down

0 comments on commit 9e99cc0

Please sign in to comment.