aboutsummaryrefslogtreecommitdiff
path: root/app/views/snippets
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-07-25 18:37:22 -0400
committerThedro Neely <thedroneely@gmail.com>2019-07-25 18:37:22 -0400
commit643b4e048b268da99794261c1afed8326c834a3e (patch)
treeb8140181847ce2497069d151e86966efa745e96c /app/views/snippets
parent9195dfedf44e61c2fbe268c6f7dabb86932825b4 (diff)
downloadthedroneely.com-643b4e048b268da99794261c1afed8326c834a3e.tar.gz
thedroneely.com-643b4e048b268da99794261c1afed8326c834a3e.tar.bz2
thedroneely.com-643b4e048b268da99794261c1afed8326c834a3e.zip
app/views/snippets/stylesheets: Hide comments using CSS and noscript tags in the absence of JavaScript
Diffstat (limited to 'app/views/snippets')
-rw-r--r--app/views/snippets/stylesheets.php14
1 files changed, 8 insertions, 6 deletions
diff --git a/app/views/snippets/stylesheets.php b/app/views/snippets/stylesheets.php
index e3e2cc9..6132261 100644
--- a/app/views/snippets/stylesheets.php
+++ b/app/views/snippets/stylesheets.php
@@ -1,12 +1,14 @@
+<link rel="stylesheet" href="/css/tdro.css">
+
+<?php if ($theme->color() === 'dark') { ?>
+<link rel="stylesheet" href="/css/tdro-dark.css">
+<?php } ?>
+
<noscript>
<style>
.has-navbar-fixed-top { padding-top: 0 !important; }
.is-fixed-top { position: unset !important; }
+ .posts__more__content { margin-bottom: 0 !important; }
+ .isso-comments-counter, .comments__section { display: none; }
</style>
</noscript>
-
-<link rel="stylesheet" href="/css/tdro.css">
-
-<?php if ($theme->color() === 'dark') { ?>
-<link rel="stylesheet" href="/css/tdro-dark.css">
-<?php } ?>