summaryrefslogtreecommitdiff
path: root/assets/css
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2026-01-06 10:20:45 +0800
committerBigCoke233 <hi@guhub.cn>2026-01-06 10:20:45 +0800
commit6c48c72e4555cdb3195fe61d8b1f313eb6498c69 (patch)
treeb8eeddf7ab38ff94191c3f3e11f0e3ff6c77e742 /assets/css
parentd3afe5b6ca29b7121f6628e6fa2a728b8fe9a9ba (diff)
chore: cleanup unused webmention.js
Former-commit-id: 062176e960255e0bb50ef441f928219e11999925
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/_webmention.scss67
-rw-r--r--assets/css/main.scss1
2 files changed, 0 insertions, 68 deletions
diff --git a/assets/css/_webmention.scss b/assets/css/_webmention.scss
deleted file mode 100644
index 3a4557ad..00000000
--- a/assets/css/_webmention.scss
+++ /dev/null
@@ -1,67 +0,0 @@
-
-#webmentions {
- margin: 0;
- position: relative;
- z-index: 100;
- line-height: 1.2em;
- margin: 1rem 0;
- background: var(--block-background-color);
- padding: 0.5rem 1rem;
- border-radius: 0.25rem;
-
- ul.comments {
- max-height: 20em;
- overflow-x: hidden;
- overflow-y: scroll;
- list-style-type: none;
- margin: 0;
- padding: 4px;
-
- li {
- text-indent: -1em;
- padding-left: 1em;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- a.source {
- font-weight: 700;
- }
- .text {
- color: #555;
- font-style: italic;
- text-decoration: none;
- }
- .name {
- color: var(--secondary-text-color)
- }
- }
- }
- h2 {
- display: none;
- }
- .reacts img {
- margin: 3px -1ex 1px 0;
- }
- img.missing {
- background: white;
- border: dashed black 1px;
- }
- a.reaction {
- position: relative;
- text-decoration: none;
- text-shadow: 0px 0px 3px white;
- margin-right: 0;
- letter-spacing: -1ex;
- margin-right: 2ex;
- font-size: 80%;
- img {
- max-height: 1.3rem;
- width: auto;
- margin-right: -1ex;
- border-radius: 25%;
- }
- sub {
- font-size: 50%;
- }
- }
-}
diff --git a/assets/css/main.scss b/assets/css/main.scss
index a9b80b84..0bc8d722 100644
--- a/assets/css/main.scss
+++ b/assets/css/main.scss
@@ -2,7 +2,6 @@
@import "utils/reset";
@import "utils/utility";
@import "markdown";
-@import "webmention";
@import "components/libra";
@import "components/toc";