feat: display word count when hovering over read time

This commit is contained in:
welpo
2023-02-21 02:43:23 +01:00
parent 23f5c6d309
commit d9cd64e5a4
2 changed files with 9 additions and 1 deletions

View File

@@ -119,3 +119,11 @@ table td {
table tbody tr:nth-child(even) {
background-color: var(--bg-0);
}
.meta span:hover::before {
content: attr(word-count);
}
.meta span::before {
content: attr(reading-time);
}