Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Concise Stamps - A Config Script for GameBanana

30 1 kb Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.PostsListModule .Posts > li article .PostStamps li spriteIcon:last-of-type,
.PostsListModule .Posts > li article .PostStamps li spriteIcon:nth-of-type(10n) {
  display: inline-block;
  margin-right: 32px;
}
.PostsListModule .Posts > li article .PostStamps li spriteIcon {
  display: none;
}
.PostsListModule .Posts > li article .PostStamps li span {
  display: none;
}

.PostStamps li spriteicon:after {
  position:relative;
  margin-left: 20px;
  top:-0.2em;
  display:block;
  width: 30px;
}

.PostStamps li spriteicon:nth-of-type(10n+1):after { content:"x 1"; }
.PostStamps li spriteicon:nth-of-type(10n+2):after { content:"x 2"; }
.PostStamps li spriteicon:nth-of-type(10n+3):after { content:"x 3"; }
.PostStamps li spriteicon:nth-of-type(10n+4):after { content:"x 4"; }
.PostStamps li spriteicon:nth-of-type(10n+5):after { content:"x 5"; }
.PostStamps li spriteicon:nth-of-type(10n+6):after { content:"x 6"; }
.PostStamps li spriteicon:nth-of-type(10n+7):after { content:"x 7"; }
.PostStamps li spriteicon:nth-of-type(10n+8):after { content:"x 8"; }
.PostStamps li spriteicon:nth-of-type(10n+9):after { content:"x 9"; }
.PostStamps li spriteicon:nth-of-type(10n):after { content:"x10"; }
See this Idea.

Removes the names of stamps and only shows one icon per 10 stamps.


The extra icon for 10 stamps was a limitation on my implementation but I think it works :)
  • Ring-A-Ding Rampage avatar
    Ring-A-Ding Rampage username pic Joined 10y ago
    (づ。◕‿‿◕。)づ Ripe Supporter Admin
    Brooding
    698 points Ranked 46,799th
    87 medals 14 legendary 25 rare
    • Submitted 60 Sprites Medal icon
    • Thanked 500 submitters Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Submitted 100 Skins Medal icon
    • Reached 100 subscribers Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    Ring-A-Ding Rampage avatar
    Ring-A-Ding Rampage
    (づ。◕‿‿◕。)づ
    2mo 2mo
    I had done this a while ago as a part of a bigger package :) (a while = ~7 years)

    https://gamebanana.com/scripts/8400

    So yeah, use CSS Counters - they can be helpful here. It can save you some hardcoding effort over those multiple nth-child declarations.
    પેરાબોલ્ટ
    URL to post:
  • s0nought avatar
    s0nought Joined 11y ago
    Dev Tester Ripe Supporter
    Offline
    10,390 points Ranked 718th
    31 medals 4 legendary 7 rare
    • Submitted 50 Gamefiles Medal icon
    • 10 years a member Medal icon
    • Returned 5000 times Medal icon
    • Became a Ripe Supporter Medal icon
    • 6 years a member Medal icon
    • Submitted 20 Gamefiles Medal icon
    s0nought Dev Tester
    2mo
    content:"x 1";
    content:"x 2";
    content:"x 3";
    content:"x 4";
    content:"x 5";
    content:"x 6";
    content:"x 7";
    content:"x 8";
    content:"x 9";
    content:"x10";
    Why is there no space for the 10th? Agonyyyy :D

    gj, though!
    Invincible
    URL to post: