Change comments to comentario

This commit is contained in:
Jake Howard 2024-06-23 18:37:08 +01:00
parent df3dff0708
commit fffd41dc82
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 50 additions and 39 deletions

View file

@ -1,35 +0,0 @@
#commento {
.commento-profile-button {
@include dark-mode {
fill: $dark-mode-text;
}
}
.commento-name,
#commento-mod-tools-lock-button,
.commento-login-text,
.commento-anonymous-checkbox-container label {
@include dark-mode {
color: $dark-mode-text;
}
}
#commento-textarea-root,
#commento-guest-details-input-root,
.commento-textarea-container textarea {
@include dark-mode {
background-color: $black;
color: $dark-mode-text;
}
}
.commento-card {
@include dark-mode {
border-top: 1px solid color.adjust($black, $alpha: -0.4);
p {
color: $dark-mode-text;
}
}
}
}

View file

@ -0,0 +1,46 @@
section.comments {
margin-top: 2rem;
}
.comentario-text-muted,
.comentario-root,
.comentario-card .comentario-name {
@include dark-mode {
color: $dark-mode-text !important;
}
}
.comentario-add-comment-host,
.comentario-comment-editor textarea,
.comentario-toolbar.comentario-disabled {
background-color: transparent !important;
}
.comentario-add-comment-host:not(.comentario-editor-inserted) {
border: 1px solid color.adjust($white, $alpha: -0.5) !important;
}
.comentario-comment-editor textarea {
background-color: transparent !important;
@include dark-mode {
color: $dark-mode-text !important;
}
}
.comentario-footer a {
color: $link !important;
}
.comentario-btn-link {
color: $link !important;
}
.comentario-card {
@include dark-mode {
border-top: 1px solid color.adjust($white, $alpha: -0.5);
p {
color: $dark-mode-text;
}
}
}

View file

@ -19,7 +19,7 @@
@import "spotify"; @import "spotify";
@import "404"; @import "404";
@import "password_required"; @import "password_required";
@import "commento"; @import "comments";
@import "similar_content"; @import "similar_content";
@import "support_pill"; @import "support_pill";

View file

@ -1,5 +1,5 @@
<section class="container" id="comments"> <section class="container comments">
<div id="commento"></div> <comentario-comments></comentario-comments>
</section> </section>
<script async defer src="https://commento.theorangeone.net/js/commento.js"></script> <script async defer src="https://comentario.theorangeone.net/comentario.js"></script>