Actions

Work Header

Rating:
Archive Warning:
Fandom:
Additional Tags:
Language:
English
Series:
Part 2 of AO3 Site Skins
Collections:
Ao3 Skins
Stats:
Published:
2024-05-01
Completed:
2024-05-05
Words:
966
Chapters:
2/2
Comments:
34
Kudos:
143
Bookmarks:
72
Hits:
14,511

Stats Icons with Hover Text [Site Skin]

Summary:

A site skin that replaces stats labels like "words", "bookmarks" and "hits" with icons. Instead, the text is displayed when you hover the mouse pointer over the icon or tap on it on mobile (like a tooltip). Available for light and dark mode. You can also change the icons to any color you want!

Previews and installation instructions are included.

Last updated: 28 February 2026

Notes:

I got the idea to replace the stats labels with icons from ElectricAlice's "Tide" skin - though I coded it differently in many places and added a bunch of new icons and some other stuff like the hover text.

You may use or edit this code and the icons I've created any way you like, but please credit me by linking to this work or the Github repository.

(See the end of the work for other works inspired by this one.)

Chapter 1: Code and installation instructions

Notes:

(See the end of the chapter for notes.)

Chapter Text

Preview images

The preview images here show the icons for works and the hover text for collections.

See chapter two for more "interactable" previews for almost all icons (for works, series, collections, tagsets and the statistics page).

Light mode (AO3 default skin):

Preview light mode

Dark mode (Reversi):

Preview dark mode

 

The CSS code

 

How to install the skin

  1. Go to My DashboardSkinsCreate Site Skin
  2. Give the skin a unique title like "Stats Icons by Zerafina - [your user name]"
  3. Copy the code (linked above) and paste it into the CSS field
  4. Optional, if you want to add the icons to another skin like Reversi:
    • Click on Advanced Show
    • Click Add parent skin, type in the name of the other skin and select it
  5. Click Submit
  6. Click on Use and you're done!

 

How to change the icon colors

Find this line of code:

filter: invert(79%) sepia(0%) saturate(14%) hue-rotate(185deg) brightness(87%) contrast(87%);

Here I used CSS filters to turn the icons, which are actually black, to gray. Now you have to change the filter values to get the color you want. But don't worry, you don't have to figure them out by yourself! I recommend using a tool like the CSS Color Filter Generator that generates the code for you. You just have to enter the color that you want the logo to have (as a hex or rgb value). Once your code has been generated, you can use it to replace the line of code shown above.

Click here to see some code examples (for pink, red, blue or light gray icons)

Pink (#ec137a):

filter: invert(45%) sepia(96%) saturate(7491%) hue-rotate(320deg) brightness(93%) contrast(99%);

"AO3 red" (#900):

filter: invert(8%) sepia(99%) saturate(6083%) hue-rotate(15deg) brightness(88%) contrast(115%);

"Reversi blue" (#5998d6):

filter: invert(53%) sepia(99%) saturate(287%) hue-rotate(170deg) brightness(88%) contrast(88%);

Light gray/almost white (#eee):

filter: invert(100%) sepia(10%) saturate(102%) hue-rotate(163deg) brightness(114%) contrast(87%);

 

Customization tips and troubleshooting

  • I commented the code in a lot of places to make it easier to customize. Please be aware that these comments get deleted after you have saved the skin on AO3 so I recommend pasting the code into a CSS file first.
  • If you don't want the tooltip/hover text, you can just delete the part of the code starting at "STATS HOVER TEXT".
  • Important note for FIREFOX USERS: The code may not work in some places if your browser is an older version. If some of the icons don't show up, try installing a newer Firefox version. You can take a look at the "live" previews in the second chapter to test this.

 

Updates

  • 10 July 2024: Fixed an issue where the wrong bookmark icon was displayed for works in collections. I also shortened the code a little bit.
  • 21 July 2024: Fixed an issue where the wrong "Collections" tooltip was displayed in some places. Made some adjustments to the way the tooltips are styled and positioned.
  • 7 August 2024: Updated the code so that you can now change the colors of the icons by using CSS filters! The opacity property, with which the symbols could be made lighter or darker, was therefore no longer necessary, so I removed that part of the code.
  • 13 October 2024: AO3 updated the HTML code for stats in some places. This made a few parts of my CSS code obsolete, so I deleted them.
    I also created a Github repository to make it easier to share and modify the code. Future updates will probably no longer be described here in detail because they can be tracked in the repository. But I will still include the date of the last update in the description.

 

Notes:

I've been tinkering with this code off and on since March and I hope that it finally works as it should. It was originally part of a complete site skin for the entire website, but that is far from finished. I might post it at some point.

I'm happy to answer questions about the code here or on tumblr!