linux.do - Rewind 头像动画

为当前用户添加 Rewind 头像动画。

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

/* ==UserStyle==
@name           linux.do - Rewind 头像动画
@namespace      https://github.com/utags
@version        1.0.1
@description    为当前用户添加 Rewind 头像动画。
@author         Pipecraft
@license        MIT
@icon           https://www.google.com/s2/favicons?sz=64&domain=linux.do
==/UserStyle== */

@-moz-document domain("linux.do"), domain("idcflare.com") {
  #toggle-current-user::after {
    width: 48px;
    height: 48px;
    position: absolute;
    left: -4px;
    top: -4px;
    content: '';
    background-image: url(https://linux.do/plugins/discourse-rewind/images/rewind-avatar-2-shimmer.gif);
    display: block;
    background-size: cover;
  }

  .current-user-post .post-avatar .main-avatar::after {
    width: 68px;
    height: 68px;
    position: absolute;
    left: -10px;
    top: -13px;
    content: '';
    background-image: url(https://linux.do/plugins/discourse-rewind/images/rewind-avatar-2-shimmer.gif);
    display: block;
    background-size: cover;
  }
}