User:Andrewds1021/Counters.css

/* translations

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

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

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[lang|="en"] { --counterscss-edit-counters: var(--counterscss-edit-counters--default); --counterscss-bot: var(--counterscss-bot--default); --counterscss-minor: var(--counterscss-minor--default); --counterscss-new: var(--counterscss-new--default); --counterscss-total: var(--counterscss-total--default); --counterscss-activity-counters: var(--counterscss-activity-counters--default); --counterscss-discussions: var(--counterscss-discussions--default); --counterscss-message-walls: var(--counterscss-message-walls--default); --counterscss-comments: var(--counterscss-comments--default); --counterscss-threads: var(--counterscss-threads--default); --counterscss-replies: var(--counterscss-replies--default); --counterscss-created: var(--counterscss-created--default); --counterscss-edited: var(--counterscss-edited--default); --counterscss-deleted: var(--counterscss-deleted--default); --counterscss-deleted--end: var(--counterscss-deleted--end--default); --counterscss-locked: var(--counterscss-locked--default); }

/* 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; 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, var(--counterscss-edit-counters--default)) "\20" counter(bot) "\20" var(--counterscss-bot, var(--counterscss-bot--default)) "\20" counter(minor) "\20" var(--counterscss-minor, var(--counterscss-minor--default)) "\20" counter(new) "\20" var(--counterscss-new, var(--counterscss-new--default)) "\20" counter(total) "\20" var(--counterscss-total, var(--counterscss-total--default)); }

.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, var(--counterscss-activity-counters--default)) "\0A\20\20" var(--counterscss-discussions, var(--counterscss-discussions--default)) "\0A\20\20\20\20" var(--counterscss-threads, var(--counterscss-threads--default)) "\20" counter(opc) "\20" var(--counterscss-created, var(--counterscss-created--default)) "\20" counter(opu) "\20" var(--counterscss-edited, var(--counterscss-edited--default)) "\20" counter(opd) "\20" var(--counterscss-deleted, var(--counterscss-deleted--default)) "\20" counter(opl) "\20" var(--counterscss-locked, var(--counterscss-locked--default)) "\0A\20\20\20\20" var(--counterscss-replies, var(--counterscss-replies--default)) "\20" counter(rpc) "\20" var(--counterscss-created, var(--counterscss-created--default)) "\20" counter(rpu) "\20" var(--counterscss-edited, var(--counterscss-edited--default)) "\20" counter(rpd) "\20" var(--counterscss-deleted--end, var(--counterscss-deleted, var(--counterscss-deleted--end--default))) "\0A\20\20" var(--counterscss-message-walls, var(--counterscss-message-walls--default)) "\0A\20\20\20\20" var(--counterscss-threads, var(--counterscss-threads--default)) "\20" counter(omc) "\20" var(--counterscss-created, var(--counterscss-created--default)) "\20" counter(omu) "\20" var(--counterscss-edited, var(--counterscss-edited--default)) "\20" counter(omd) "\20" var(--counterscss-deleted, var(--counterscss-deleted--default)) "\20" counter(oml) "\20" var(--counterscss-locked, var(--counterscss-locked--default)) "\0A\20\20\20\20" var(--counterscss-replies, var(--counterscss-replies--default)) "\20" counter(rmc) "\20" var(--counterscss-created, var(--counterscss-created--default)) "\20" counter(rmu) "\20" var(--counterscss-edited, var(--counterscss-edited--default)) "\20" counter(rmd) "\20" var(--counterscss-deleted--end, var(--counterscss-deleted, var(--counterscss-deleted--end--default))) "\0A\20\20" var(--counterscss-comments, var(--counterscss-comments--default)) "\0A\20\20\20\20" var(--counterscss-threads, var(--counterscss-threads--default)) "\20" counter(occ) "\20" var(--counterscss-created, var(--counterscss-created--default)) "\20" counter(ocu) "\20" var(--counterscss-edited, var(--counterscss-edited--default)) "\20" counter(ocd) "\20" var(--counterscss-deleted, var(--counterscss-deleted--default)) "\20" counter(ocl) "\20" var(--counterscss-locked, var(--counterscss-locked--default)) "\0A\20\20\20\20" var(--counterscss-replies, var(--counterscss-replies--default)) "\20" counter(rcc) "\20" var(--counterscss-created, var(--counterscss-created--default)) "\20" counter(rcu) "\20" var(--counterscss-edited, var(--counterscss-edited--default)) "\20" counter(rcd) "\20" var(--counterscss-deleted--end, var(--counterscss-deleted, var(--counterscss-deleted--end--default))); }

.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; }