Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zwbetz-gh/cupper-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwbetz <zwbetz@gmail.com>2019-03-21 18:53:25 +0300
committerzwbetz <zwbetz@gmail.com>2019-03-21 18:53:25 +0300
commit5f6591dd04221e5bc0071b69797bb82874f16454 (patch)
tree1613c8d893e0addd5c6d17d0dc8dbd920d61ac3e
parent5a35ac0fc238f5dba788ba1593e97f9605486431 (diff)
Make disqus button more subtle
-rw-r--r--assets/css/template-styles.css5
-rw-r--r--layouts/partials/disqus.html2
2 files changed, 3 insertions, 4 deletions
diff --git a/assets/css/template-styles.css b/assets/css/template-styles.css
index 4b0f91c..9260894 100644
--- a/assets/css/template-styles.css
+++ b/assets/css/template-styles.css
@@ -432,12 +432,11 @@ caption {
/* Disqus Comments */
#disqus-container {
- font-size: 0.85rem;
- border: 1px solid;
- padding: 1.5rem;
+ text-align: center;
}
#disqus-button {
width: 100%;
+ padding: 0.25em 0.75em;
}
#disqus-comments {
display: none;
diff --git a/layouts/partials/disqus.html b/layouts/partials/disqus.html
index 1105c91..47e0661 100644
--- a/layouts/partials/disqus.html
+++ b/layouts/partials/disqus.html
@@ -5,7 +5,7 @@
{{ $isDummyName := eq . "yourdiscussshortname" }}
{{ $isServer := $.Site.IsServer }}
{{ if or $isDummyName $isServer }}
- <p>Disqus comments are disabled.</p>
+ <p><em>Disqus comments are disabled.</em></p>
<script type="application/javascript">
function showComments() {
{{ partial "disqus-js-common.js" . | safeJS }}