SteamStat.us - /r/pcmasterrace Theme

SteamStat.us - /r/pcmasterrace style

当前为 2024-11-19 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

/* ==UserStyle==
@name         SteamStat.us - /r/pcmasterrace Theme
@version      20241119.00.05
@namespace    https://github.com/Nick2bad4u/UserStyles
@description  SteamStat.us - /r/pcmasterrace style
@homepageURL  https://github.com/Nick2bad4u/UserStyles
@author       Nick2bad4u
@license      UnLicense
==/UserStyle== */
@-moz-document domain("steamstat.us") {
  /* Main title styling with /r/pcmasterrace colors */
  .title {
    text-align: center;
    margin: 10px 0;
    font-size: 2.6em;
    font-weight: 700;
    color: #FFD700; /* Gold */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
    background: linear-gradient(135deg, #FFFFFF 30%, #FFD700 70%); /* White to Gold */
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #000000;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: title-animation 3s ease-in-out infinite alternate;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /* Animation for the title */
  @keyframes title-animation {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
  }
  /* Logo addition with /r/pcmasterrace emblem */
  .title::after {
    content: '';
    display: inline-block;
    width: 200px;
    height: 60px;
    background: url('https://i.gyazo.com/ad80b30c1872cee5a8f4da207d06917d.png') no-repeat center; /* Replace with /r/pcmasterrace logo URL */
    background-size: auto 100%;
    margin-left: 10px;
    transition: transform 0.3s ease;
  }
  .title:hover::after {
    transform: scale(1.5);
  }
  /* Link styling with hover effect */
  a {
    color: #FFD700; /* Gold */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
  }
  a:hover {
    color: #FFFFFF; /* White */
    text-decoration: underline;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  }
  /* Status colors with /r/pcmasterrace theme */
  .good {
    color: #FFFFFF; /* White */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    transition: color 0.3s ease;
  }
  .minor {
    color: #FFD700; /* Gold */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    font-weight: bold;
    transition: color 0.3s ease;
  }
  .major {
    color: #FF4500; /* Bright Red */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    font-weight: bold;
    transition: color 0.3s ease;
  }
  /* Refresh button styling */
  #js-refresh {
    color: #FFD700; /* Gold */
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
    font-weight: bolder;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  #js-refresh:hover {
    color: #FFFFFF; /* White */
    transform: scale(1.1);
  }
  /* Container with /r/pcmasterrace-inspired accents */
  .services, #psa, noscript, footer {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.8) 30%, rgba(255, 255, 255, 0.8) 70%);
    border: 1px solid #FFD700;
    border-radius: 4px;
    font-size: 1em;
    line-height: 1.5;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.9);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.8);
    color: #000000;
    transition: box-shadow 0.3s ease, background 0.3s ease;
  }
  .services:hover, #psa:hover, noscript:hover, footer:hover {
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.9);
    background: rgba(0, 0, 0, 0.95);
    color: #FFFFFF;
  }
  /* Body styling with /r/pcmasterrace backdrop */
  body {
    margin: 0;
    color: #FFD700; /* Gold */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    font-weight: 300;
    background: url('https://i.gyazo.com/144fb81227c6f8e81bc6b9eaada78fc2.jpg') no-repeat center center fixed; /* Replace with /r/pcmasterrace background URL */
    background-size: cover;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    transition: background 0.3s ease;
  }
  /* Tooltip customization */
  [data-tooltip]:before {
    visibility: hidden;
    opacity: 0;
    font-size: 0.9em;
    content: attr(data-tooltip);
    position: absolute;
    top: 0;
    left: 2%;
    width: 96%;
    background: rgba(255, 215, 0, 0.9); /* Gold */
    color: #000000;
    padding: 8px;
    border-radius: 8px;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: visibility 0s, opacity 0.3s ease-in-out;
  }
  [data-tooltip]:hover:before {
    visibility: visible;
    opacity: 1;
  }
  /* Advanced feature: Animated gold border */
  .gradient-border {
    position: relative;
    padding: 12px;
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.9);
    color: #FFFFFF;
    font-weight: bold;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(255, 215, 0, 0.8);
  }
  .gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #FFD700, #FFFFFF, #FFD700); /* Gold to White */
    background-size: 300% 300%;
    border-radius: 6px;
    z-index: -1;
    animation: gradient-border 4s linear infinite;
  }
  @keyframes gradient-border {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
}