Simple Shell Shockers Theme only editing the Scope ADS and hipfire crosshair
当前为
// ==UserScript==
// @name Simple Ringed Reticle
// @namespace https://www.tampermonkey.net/
// @version 0.1
// @icon https://lh3.googleusercontent.com/hquEaHN2eD2qEUxs41T0vs8ft0qHdvGQiHIQQnKMKbPaddTevn71ij1xiWatT1fXozEjo37l2GAIlX98Le_eymZ5=w128-h128-e365-rj-sc0x00ffffff
// @description Simple Shell Shockers Theme only editing the Scope ADS and hipfire crosshair
// @author Cluck36
// @match https://shellshock.io/*
// @grant none
// ==/UserScript==
(function () {
const addScript = () => {
document.title = "Simple Ringed Reticle"
document.head.innerHTML += `<style>
#best_streak_container {
position: absolute;
top: var(--ss-space-sm); left: 50%;
padding: 0; margin: 0;
transform: translateX(-50%);
text-align: center;
z-index: 6;
}
#best_streak_container h1 {
margin: 0; padding: 0;
display: inline;
text-shadow: var(--ss-space-micro) var(--ss-space-micro) var(--ss-shadow);
font-family: 'Nunito', sans-serif !important;
font-size: 2.5em !important;
color: var(--ss-white) !important;
font-weight: bold !important;
text-transform: lowercase;
padding-left: 1.25em;
padding-top: 0em;
background-image: url('https://cdn.discordapp.com/attachments/656693174445670420/1066558041568325712/IMG_6536.png');
background-position: left center;
background-size: contain;
background-repeat: no-repeat;
}
#scopeBorder {
box-sizing: initial;
display: flex;
flex-direction: row;
justify-content: center;
width: 100vw; height: 100vh;
position: absolute;
top: 0px; left: 0px;
pointer-events: none;
overflow-x: hidden;
}
#maskleft, #maskright {
background: var(--ss-black);
flex: 1;
}
#maskmiddle {
background: url('https://cdn.discordapp.com/attachments/656693174445670420/1066417024911290408/IMG_6524.png') center center no-repeat;
background-size: contain;
width: 100vh;
height: 100vh;
}
.crosshair {
position: absolute;
transform-origin: 50% top;
top: 50%;
border: solid 0.05em black;
height: 0.8em;
margin-bottom: 0.12em;
opacity: 0.7;
}
.crosshair.normal {
left: calc(50% - 0.15em);
background: #0afee5;
width: 0.3em;
}
.crosshair.powerful {
left: calc(50% - 0.25em);
background: #E861A0;
width: 0.5em;
}
#reticleDot {
position: absolute;
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
background: #0afee5;
border: solid 0.05em black;
width: 0.3em;
height: 0.3em;
opacity: 0.7;
</style>`
}
document.body ? addScript() : document.addEventListener("DOMContentLoaded", e => addScript());
})();