Skip to content

SteamStat.us - Team Fortress 2 by Nick2bad4u

Imported and mirrored from https://github.com/Nick2bad4u/UserStyles/raw/refs/heads/main/SteamStat.us-Re-Remastered-TeamFortress2.user.css

Screenshot of SteamStat.us - Team Fortress 2

Details

AuthorNick2bad4u

LicenseUnLicense

Categorysteamstat

Created

Updated

Size5.4 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

SteamStat.us - Team Fortress 2 Theme

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         SteamStat.us - Team Fortress 2
@version      20241118.23.52
@namespace    https://github.com/Nick2bad4u/UserStyles
@description  SteamStat.us - Team Fortress 2 Theme
@homepageURL  https://github.com/Nick2bad4u/UserStyles
@author       Nick
@license      UnLicense
==/UserStyle== */
@-moz-document domain("steamstat.us") {
  /* Main title styling with Team Fortress 2 colors */
  .title {
    text-align: center;
    margin: 10px 0;
    font-size: 2.6em;
    font-weight: 700;
    color: #B8383B; /* TF2 Red Team color */
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #B8383B 30%, #5E76A8 70%); /* Red to Blue gradient */
    -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 scaling effect */
  .title::after {
    content: '';
    display: inline-block;
    width: 250px;
    height: 60px;
    background: url('https://i.gyazo.com/5981acdc7b93ea0caca2462c8a01dc7b.png') no-repeat center; /* TF2 logo */
	background-size: auto 200%;
    margin-left: 10px;
    transition: transform 0.3s ease;
  }
  .title:hover::after {
    transform: scale(1.2);
  }

  /* Link styling with hover effect */
  a {
    color: #B8383B; /* TF2 Red */
    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: #5E76A8; /* TF2 Blue */
    text-decoration: underline;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  }

  /* Status colors with TF2 theme */
  .good {
    color: #5E76A8; /* TF2 Blue */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    transition: color 0.3s ease;
  }
  .minor {
    color: #FFFFFF; /* White for minor status */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    font-weight: bold;
    transition: color 0.3s ease;
  }
  .major {
    color: #B8383B; /* TF2 Red */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    font-weight: bold;
    transition: color 0.3s ease;
  }

  /* Refresh button styling with hover effect */
  #js-refresh {
    color: #B8383B; /* TF2 Red */
    text-shadow: 0 0 3px rgb(0, 0, 0);
    font-weight: bolder;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  #js-refresh:hover {
    color: #5E76A8; /* TF2 Blue */
    transform: scale(1.1);
  }

  /* Container with team colors */
  .services, #psa, noscript, footer {
    position: relative;
    background: linear-gradient(135deg, rgba(184, 56, 59, 0.8) 30%, rgba(94, 118, 168, 0.8) 70%); /* Red to Blue gradient */
    border: 1px solid #B8383B; /* Red border */
    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: #FFFFFF;
    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);
  }

  /* Body styling with Team Fortress 2 background */
  body {
    margin: 0;
    color: #B8383B; /* TF2 Red */
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    background: url('https://i.gyazo.com/38db4c4bdeca3e407043a778ee558475.jpg') no-repeat center center fixed; /* TF2 background image */
    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(184, 56, 59, 0.9); /* Red background */
    color: #FFFFFF;
    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 team colors 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(184, 56, 59, 0.8);
  }
  .gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #B8383B, #5E76A8, #B8383B); /* Red to Blue */
    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%;
    }
  }
}

Reviews

No reviews yet.