User:Andrewds1021/Counters.css

/* translations

If changes are made to the default values, make sure to accordingly update the variables-free content values.

html[lang|="qqq"] { --counterscss-edit-counters: "Label for edit counters"; --counterscss-bot: "Label for bot edits"; --counterscss-minor: "Label for minor edits"; --counterscss-new: "Label for new pages"; --counterscss-total: "Label for total edits"; --counterscss-activity-counters: "Label for social activity counters"; --counterscss-discussions: "Label for Discussions"; --counterscss-message-walls: "Label for Message Walls"; --counterscss-comments: "Label for Comments"; --counterscss-threads: "Label for threads/first posts"; --counterscss-replies: "Label for reply posts"; --counterscss-created: "Label for creating a new post"; --counterscss-edited: "Label for editing an existing post"; --counterscss-deleted: "Label for deleting a thread/first post"; --counterscss-deleted--end: "Label for deleting a reply post"; --counterscss-locked: "Label for locking a thread/first post"; }

html[lang|="qqx"] { --counterscss-edit-counters: "--counterscss-edit-counters"; --counterscss-bot: "--counterscss-bot"; --counterscss-minor: "--counterscss-minor"; --counterscss-new: "--counterscss-new"; --counterscss-total: "--counterscss-total"; --counterscss-activity-counters: "--counterscss-activity-counters"; --counterscss-discussions: "--counterscss-discussions"; --counterscss-message-walls: "--counterscss-message-walls"; --counterscss-comments: "--counterscss-comments"; --counterscss-threads: "--counterscss-threads"; --counterscss-replies: "--counterscss-replies"; --counterscss-created: "--counterscss-created"; --counterscss-edited: "--counterscss-edited"; --counterscss-deleted: "--counterscss-deleted"; --counterscss-deleted--end: "--counterscss-deleted--end"; --counterscss-locked: "--counterscss-locked"; }

html, html[lang|="en"] { --counterscss-edit-counters: "Edit Counters:"; --counterscss-bot: "bot,"; --counterscss-minor: "minor,"; --counterscss-new: "new,"; --counterscss-total: "total"; --counterscss-activity-counters: "Activity Counters:"; --counterscss-discussions: "Discussions:"; --counterscss-message-walls: "Message Walls:"; --counterscss-comments: "Comments:"; --counterscss-threads: "Threads:"; --counterscss-replies: "Replies:"; --counterscss-created: "created,"; --counterscss-edited: "edited,"; --counterscss-deleted: "deleted,"; --counterscss-deleted--end: "deleted"; --counterscss-locked: "locked"; }

/* counter display format

.counters.action-history ul#pagehistory::after, .counters.mw-special-Contributions ul.mw-contributions-list::after, .counters.mw-special-DeletedContributions #mw-content-text > ul::after, .counters.mw-special-SocialActivity ul.social-activity-list::after { white-space: pre-wrap; font-family: monospace; }

/* page history Special:Contributions Special:DeletedContributions

.counters.action-history ul#pagehistory, .counters.mw-special-Contributions ul.mw-contributions-list, .counters.mw-special-DeletedContributions #mw-content-text > ul { counter-reset: bot minor new total; }

.counters.action-history ul#pagehistory::after, .counters.mw-special-Contributions ul.mw-contributions-list::after, .counters.mw-special-DeletedContributions #mw-content-text > ul::after { content: "Edit Counters:\20" counter(bot) " bot,\20" counter(minor) " minor,\20" counter(new) " new,\20" counter(total) " total"; content: var(--counterscss-edit-counters) "\20" counter(bot) "\20" var(--counterscss-bot) "\20" counter(minor) "\20" var(--counterscss-minor) "\20" counter(new) "\20" var(--counterscss-new) "\20" counter(total) "\20" var(--counterscss-total); }

.counters.action-history ul#pagehistory > li > abbr.botedit, .counters.mw-special-Contributions ul.mw-contributions-list > li > abbr.botedit, .counters.mw-special-DeletedContributions #mw-content-text > ul > li > abbr.botedit { counter-increment: bot; }

.counters.action-history ul#pagehistory > li > abbr.minoredit, .counters.mw-special-Contributions ul.mw-contributions-list > li > abbr.minoredit, .counters.mw-special-DeletedContributions #mw-content-text > ul > li > abbr.minoredit { counter-increment: minor; }

.counters.action-history ul#pagehistory > li > abbr.newpage, .counters.mw-special-Contributions ul.mw-contributions-list > li > abbr.newpage, .counters.mw-special-DeletedContributions #mw-content-text > ul > li > abbr.newpage { counter-increment: new; }

.counters.action-history ul#pagehistory > li, .counters.mw-special-Contributions ul.mw-contributions-list > li, .counters.mw-special-DeletedContributions #mw-content-text > ul > li { counter-increment: total; }

/* Special:SocialActivity

.counters.mw-special-SocialActivity ul.social-activity-list { counter-reset: opc opu opd opl rpc rpu rpd omc omu omd oml rmc rmu rmd occ ocu ocd ocl rcc rcu rcd; }

.counters.mw-special-SocialActivity ul.social-activity-list::after { content: "Activity Counters:\0A\20\20 Discussions:\0A\20\20\20\20Threads:\20" counter(opc) " created,\20" counter(opu) " edited,\20" counter(opd) " deleted,\20" counter(opl) " locked\0A\20\20\20\20Replies:\20" counter(rpc) " created,\20" counter(rpu) " edited,\20" counter(rpd) " deleted\0A\20\20Message Walls:\0A\20\20\20\20Threads:\20" counter(omc) " created,\20" counter(omu) " edited,\20" counter(omd) " deleted,\20" counter(oml) " locked\0A\20\20\20\20Replies:\20" counter(rmc) " created,\20" counter(rmu) " edited,\20" counter(rmd) " deleted\0A\20\20 Comments:\0A\20\20\20\20Threads:\20" counter(occ) " created,\20" counter(ocu) " edited,\20" counter(ocd) " deleted,\20" counter(ocl) " locked\0A\20\20\20\20Replies:\20" counter(rcc) " created,\20" counter(rcu) " edited,\20" counter(rcd) " deleted"; content: var(--counterscss-activity-counters) "\0A\20\20" var(--counterscss-discussions) "\0A\20\20\20\20" var(--counterscss-threads) "\20" counter(opc) "\20" var(--counterscss-created) "\20" counter(opu) "\20" var(--counterscss-edited) "\20" counter(opd) "\20" var(--counterscss-deleted) "\20" counter(opl) "\20" var(--counterscss-locked) "\0A\20\20\20\20" var(--counterscss-replies) "\20" counter(rpc) "\20" var(--counterscss-created) "\20" counter(rpu) "\20" var(--counterscss-edited) "\20" counter(rpd) "\20" var(--counterscss-deleted--end, var(--counterscss-deleted)) "\0A\20\20" var(--counterscss-message-walls) "\0A\20\20\20\20" var(--counterscss-threads) "\20" counter(omc) "\20" var(--counterscss-created) "\20" counter(omu) "\20" var(--counterscss-edited) "\20" counter(omd) "\20" var(--counterscss-deleted) "\20" counter(oml) "\20" var(--counterscss-locked) "\0A\20\20\20\20" var(--counterscss-replies) "\20" counter(rmc) "\20" var(--counterscss-created) "\20" counter(rmu) "\20" var(--counterscss-edited) "\20" counter(rmd) "\20" var(--counterscss-deleted--end, var(--counterscss-deleted)) "\0A\20\20" var(--counterscss-comments) "\0A\20\20\20\20" var(--counterscss-threads) "\20" counter(occ) "\20" var(--counterscss-created) "\20" counter(ocu) "\20" var(--counterscss-edited) "\20" counter(ocd) "\20" var(--counterscss-deleted) "\20" counter(ocl) "\20" var(--counterscss-locked) "\0A\20\20\20\20" var(--counterscss-replies) "\20" counter(rcc) "\20" var(--counterscss-created) "\20" counter(rcu) "\20" var(--counterscss-edited) "\20" counter(rcd) "\20" var(--counterscss-deleted--end, var(--counterscss-deleted)); }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="create"][data-content-type="post"] { counter-increment: opc; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="update"][data-content-type="post"] { counter-increment: opu; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="delete"][data-content-type="post"] { counter-increment: opd; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="lock"][data-content-type="post"] { counter-increment: opl; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="create"][data-content-type="post-reply"] { counter-increment: rpc; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="update"][data-content-type="post-reply"] { counter-increment: rpu; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="delete"][data-content-type="post-reply"] { counter-increment: rpd; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="create"][data-content-type="message"] { counter-increment: omc; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="update"][data-content-type="message"] { counter-increment: omu; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="delete"][data-content-type="message"] { counter-increment: omd; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="lock"][data-content-type="message"] { counter-increment: oml; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="create"][data-content-type="message-reply"] { counter-increment: rmc; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="update"][data-content-type="message-reply"] { counter-increment: rmu; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="delete"][data-content-type="message-reply"] { counter-increment: rmd; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="create"][data-content-type="comment"] { counter-increment: occ; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="update"][data-content-type="comment"] { counter-increment: ocu; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="delete"][data-content-type="comment"] { counter-increment: ocd; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="lock"][data-content-type="comment"] { counter-increment: ocl; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="create"][data-content-type="comment-reply"] { counter-increment: rcc; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="update"][data-content-type="comment-reply"] { counter-increment: rcu; }

.counters.mw-special-SocialActivity ul.social-activity-list > li[data-activity-type="delete"][data-content-type="comment-reply"] { counter-increment: rcd; }