Skip to content

Commit 7c22df6

Browse files
committed
Disqus comments styles.
1 parent 04b7e04 commit 7c22df6

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

_layouts/default.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
<link rel="stylesheet" href="/public/css/syntax.css">
1919

2020
<script src="/public/js/libs/modernizr.custom.47336.js"></script>
21+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
22+
<script>window.jQuery || document.write('<script src="/public/js/libs/jquery-1.6.2.min.js"><\/script>')</script>
2123
</head>
2224

2325
<body>
@@ -86,10 +88,6 @@ <h1>OpenSource</h1>
8688
</footer>
8789
</div>
8890

89-
90-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
91-
<script>window.jQuery || document.write('<script src="/public/js/libs/jquery-1.6.2.min.js"><\/script>')</script>
92-
9391
<script defer src="/public/js/tags.js"></script>
9492
<script defer src="/public/js/authors.js"></script>
9593

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
1616
<section class="tags">
1717
{% include tags.html %}
1818
</section>
19-
<section class="comments">
19+
<section id="disqus_thread" class="comments">
2020
{% include comments.html %}
2121
</section>
2222
</footer>

public/css/style.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,16 @@ article > footer {
397397
border-bottom-color: white;
398398
}
399399

400+
/* ---- Disqus comments ---- */
401+
402+
#disqus_thread {
403+
background: none;
404+
}
405+
406+
#disqus_thread a:hover {
407+
border-bottom-style: none;
408+
}
409+
400410
/* ---- Main aside ---- */
401411

402412
#main aside {

0 commit comments

Comments
 (0)