Improve contrast and separation between username & info texts

This commit is contained in:
chylex 2020-04-19 19:38:01 +02:00
parent 9a6b6683eb
commit a79769001b
2 changed files with 8 additions and 8 deletions

View File

@ -170,7 +170,7 @@ var DISCORD = (function(){
}).join("");
}
else if (property === "edit"){
return value ? "<span class='info edited'>(edited" + (value > 1 ? " " + getHumanReadableTime(value) : "") + ")</span>" : "";
return value ? "<span class='info edited'>Edited" + (value > 1 ? " " + getHumanReadableTime(value) : "") + "</span>" : "";
}
});
}

View File

@ -20,22 +20,22 @@
color: #FFF;
font-size: 15px;
font-weight: 600;
margin-right: 3px;
letter-spacing: 0;
}
#messages .info {
color: rgba(255, 255, 255, 0.2);
color: rgba(255, 255, 255, 0.4);
font-size: 12px;
font-weight: 500;
letter-spacing: 0;
}
#messages .time {
margin-left: 10px;
}
#messages .edited {
margin-left: 5px;
#messages .info::before {
content: "\2022";
text-align: center;
display: inline-block;
width: 14px;
}
.message {