commento.js: remove logo SVG from footer
This commit is contained in:
parent
e9ba79974b
commit
c8a2ece0d6
@ -328,7 +328,6 @@
|
||||
var footer = create("div");
|
||||
var aContainer = create("div");
|
||||
var a = create("a");
|
||||
var img = create("img");
|
||||
var text = create("span");
|
||||
|
||||
footer.id = ID_FOOTER;
|
||||
@ -336,21 +335,18 @@
|
||||
classAdd(footer, "footer");
|
||||
classAdd(aContainer, "logo-container");
|
||||
classAdd(a, "logo");
|
||||
classAdd(img, "logo-svg");
|
||||
classAdd(text, "logo-text");
|
||||
|
||||
attrSet(footer, "style", "display: none");
|
||||
attrSet(a, "href", "https://commento.io");
|
||||
attrSet(a, "target", "_blank");
|
||||
attrSet(img, "src", cdn + "/images/logo.svg");
|
||||
|
||||
text.innerText = "Powered by Commento";
|
||||
text.innerText = "Commento";
|
||||
|
||||
append(a, img);
|
||||
append(a, text);
|
||||
append(aContainer, a);
|
||||
append(footer, aContainer);
|
||||
append(root, footer);
|
||||
|
||||
return footer;
|
||||
}
|
||||
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
.commento-footer {
|
||||
margin: 36px 0px 12px 0px;
|
||||
border-top: 1px solid $gray-1;
|
||||
padding-right: 12px;
|
||||
|
||||
.commento-logo-container {
|
||||
@ -16,19 +15,16 @@
|
||||
align-items: center;
|
||||
padding: 5px;
|
||||
border-radius: 3px;
|
||||
|
||||
.commento-logo-svg {
|
||||
display: inline;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin-right: 8px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.commento-logo-text::before {
|
||||
content: "Powered by ";
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.commento-logo-text {
|
||||
font-size: 13px;
|
||||
color: $gray-6;
|
||||
color: $gray-7;
|
||||
display: inline;
|
||||
line-height: 24px;
|
||||
position: relative;
|
||||
|
Loading…
Reference in New Issue
Block a user