Make disqus button more subtle
This commit is contained in:
parent
5a35ac0fc2
commit
5f6591dd04
|
@ -432,12 +432,11 @@ caption {
|
||||||
|
|
||||||
/* Disqus Comments */
|
/* Disqus Comments */
|
||||||
#disqus-container {
|
#disqus-container {
|
||||||
font-size: 0.85rem;
|
text-align: center;
|
||||||
border: 1px solid;
|
|
||||||
padding: 1.5rem;
|
|
||||||
}
|
}
|
||||||
#disqus-button {
|
#disqus-button {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
padding: 0.25em 0.75em;
|
||||||
}
|
}
|
||||||
#disqus-comments {
|
#disqus-comments {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
{{ $isDummyName := eq . "yourdiscussshortname" }}
|
{{ $isDummyName := eq . "yourdiscussshortname" }}
|
||||||
{{ $isServer := $.Site.IsServer }}
|
{{ $isServer := $.Site.IsServer }}
|
||||||
{{ if or $isDummyName $isServer }}
|
{{ if or $isDummyName $isServer }}
|
||||||
<p>Disqus comments are disabled.</p>
|
<p><em>Disqus comments are disabled.</em></p>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
function showComments() {
|
function showComments() {
|
||||||
{{ partial "disqus-js-common.js" . | safeJS }}
|
{{ partial "disqus-js-common.js" . | safeJS }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user