aboutsummaryrefslogtreecommitdiff
path: root/app/views/partials/head.css.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/partials/head.css.php')
-rw-r--r--app/views/partials/head.css.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/partials/head.css.php b/app/views/partials/head.css.php
new file mode 100644
index 0000000..62b2ad9
--- /dev/null
+++ b/app/views/partials/head.css.php
@@ -0,0 +1,15 @@
+<link rel="stylesheet" href="/css/tdro.css">
+
+<?php if ($theme->color() === 'dark') { ?>
+<link rel="stylesheet" href="/css/tdro-dark.css">
+<?php } ?>
+
+<noscript>
+ <style>
+ article-comments,
+ [href="#isso-thread"],
+ article header aside:nth-child(2) svg:first-child {
+ display: none;
+ }
+ </style>
+</noscript>