aboutsummaryrefslogtreecommitdiff
path: root/app/views/partials/head.css.php
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2024-01-06 19:16:12 -0500
committerThedro Neely <thedroneely@gmail.com>2024-01-06 19:16:12 -0500
commit6d745f1e8c7b870524e01ee7a4886db38634e2ae (patch)
tree4d5964c37fb3d66ed07e5ac0fad46a54d76e979d /app/views/partials/head.css.php
parent3c1a341d42994efd4addb942c623bff18b2d034c (diff)
downloadthedroneely.com-6d745f1e8c7b870524e01ee7a4886db38634e2ae.tar.gz
thedroneely.com-6d745f1e8c7b870524e01ee7a4886db38634e2ae.tar.bz2
thedroneely.com-6d745f1e8c7b870524e01ee7a4886db38634e2ae.zip
app/partials: Unify headers
Make easier to maintain. Use native upload and add htm.
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>