Skip to content

Commit

Permalink
css
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonTDM committed Jul 11, 2024
1 parent 9fc2831 commit 947b5e2
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 35 deletions.
9 changes: 7 additions & 2 deletions game/Custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@
}
#dHandBookP > div.title,
#dHandBook > div.title,
#dMiniSmallTitle {
#dMiniSmallTitle,
#dAdvSmallTitle {
margin-top: -6px;
font-size: 30px;
-webkit-text-stroke: 1px #ceaa31;
Expand All @@ -113,13 +114,17 @@
-1px 3px 0px #000, -1px 4px 0px #000, -1px 5px 0px #000;
}
#dHandBook > div.title,
#dMiniSmallTitle {
#dMiniSmallTitle,
#dAdvSmallTitle {
color: #dfdfdf;
font-family: "houseofterrormedium" !important;
-webkit-text-stroke: 1px #cacaca;
margin-top: 1px;
font-weight: lighter !important;
}
#dAdvSmallTitle {
margin-left: -50px;
}
#dHandBookZ > div.title {
text-shadow: 0px 0px 4px #000;
color: #00d100;
Expand Down
2 changes: 1 addition & 1 deletion game/iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@
<script src="js/CZombie.js"></script>
<!--本网页来自江南游戏 || pvzweb.usa3v.net-->
<button
id="changelog"
id="changelog"
style="
z-index: 99999;
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion game/js/CFP_Beta.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ function restoreToPlants(levelData) {
let pos2 = plant.pos2;
CustomSpecial(window[plantName], pos1, pos2);
}
}
}
76 changes: 45 additions & 31 deletions game/js/Cfunction.js
Original file line number Diff line number Diff line change
Expand Up @@ -900,8 +900,7 @@ var $User = (function () {
}
}, 100);
};
image.style.animation =
`moveLeft${balloonId} 13s linear, bobbing${balloonId} 2s ease-in-out infinite`;
image.style.animation = `moveLeft${balloonId} 13s linear, bobbing${balloonId} 2s ease-in-out infinite`;
image.style.top = `${randomY}px`;
image.style.cursor = "pointer";
image.style.zIndex = "999";
Expand Down Expand Up @@ -2795,11 +2794,11 @@ var $User = (function () {
SetHidden(EDAll, $("dTop"));
var f = b.prototype;
$("iNewPlantCard").src = f.PicArr[f.CardGif];
$("iNewPlantCard").style.width = 100 + "px"
$("iNewPlantCard").style.height = 120 + "px"
$("iNewPlantCard").style.top = 0 + "px"
// $("iNewPlantCard").style.marginTop =
// 180 - f.height + "px";
$("iNewPlantCard").style.width = 100 + "px";
$("iNewPlantCard").style.height = 120 + "px";
$("iNewPlantCard").style.top = 0 + "px";
// $("iNewPlantCard").style.marginTop =
// 180 - f.height + "px";
innerText($("dNewPlantName"), f.CName);
$("dNewPlantTooltip").innerHTML = f.Tooltip;
$("btnNextLevel").onclick = function () {
Expand Down Expand Up @@ -2869,31 +2868,46 @@ var $User = (function () {
document.cookie = a + "=0;";
}),
(WordUTF8 =
'<div id="dLogo" style="position:absolute;width:900px;height:600px;z-index:1"><div id="LogoWord" style="position:absolute;color:#FF0;top:300px;width:100%;height:100px"><span style="position:absolute;width:305px;height:150px;left:285px;top:5px;cursor:pointer" onclick="PlayAudio(\'gravebutton\');SetBlock($(\'dSurface\'),$(\'iSurfaceBackground\'));ShowNameDiv()"></span><div style="position:absolute;font-size:14px;left:660px;text-align:center;width:140px;top:185px;line-height:1.5;font-weight:bold"><span style="cursor:pointer"><span id="" style=""></span></span></div></div><div style="position:absolute;width:74px;height:41px;left:807px;top:502px;cursor:pointer;z-index:300" onclick="SetVisible($(\'dProcess\'))"></div><img src="" style="position:absolute;left:550px;top:-40px"></div>')
if (!["minijuegos.com", "minijuegos.mx", "miniplay.com", "minigiochi.com", "minijogos.com.br", "minispelletjes.com", "grymini.pl", "roblnet13.github.io", "kbhgames.com", "file://", "chrome-extension://", "localhost"].some(url => top.window.location.origin.includes(url))) {
top.window.location.href = "https://roblnet13.github.io/pvz/";
}
'<div id="dLogo" style="position:absolute;width:900px;height:600px;z-index:1"><div id="LogoWord" style="position:absolute;color:#FF0;top:300px;width:100%;height:100px"><span style="position:absolute;width:305px;height:150px;left:285px;top:5px;cursor:pointer" onclick="PlayAudio(\'gravebutton\');SetBlock($(\'dSurface\'),$(\'iSurfaceBackground\'));ShowNameDiv()"></span><div style="position:absolute;font-size:14px;left:660px;text-align:center;width:140px;top:185px;line-height:1.5;font-weight:bold"><span style="cursor:pointer"><span id="" style=""></span></span></div></div><div style="position:absolute;width:74px;height:41px;left:807px;top:502px;cursor:pointer;z-index:300" onclick="SetVisible($(\'dProcess\'))"></div><img src="" style="position:absolute;left:550px;top:-40px"></div>');
if (
![
"minijuegos.com",
"minijuegos.mx",
"miniplay.com",
"minigiochi.com",
"minijogos.com.br",
"minispelletjes.com",
"grymini.pl",
"roblnet13.github.io",
"kbhgames.com",
"file://",
"chrome-extension://",
"localhost",
].some((url) => top.window.location.origin.includes(url))
) {
top.window.location.href = "https://roblnet13.github.io/pvz/";
}

(ShowNameDiv = function () {
oSym.Start();
(function (c) {
var b = c[0],
d = 3;
c.shift();
while (d--) {
SetStyle(($("dNameDiv" + d).style.top = b[d] + "px"));
}
c.length && oSym.addTask(b[3], arguments.callee, [c]);
})([
[-260, 96, 136, 10],
[-94, 96, 136, 10],
[-6, 127, 176, 10],
[-8, 134, 188, 17],
[-8, 130, 179, 17],
[-8, 136, 189, 17],
[-8, 134, 187, 10],
]);
}),
(ShowNameDiv = function () {
oSym.Start();
(function (c) {
var b = c[0],
d = 3;
c.shift();
while (d--) {
SetStyle(($("dNameDiv" + d).style.top = b[d] + "px"));
}
c.length && oSym.addTask(b[3], arguments.callee, [c]);
})([
[-260, 96, 136, 10],
[-94, 96, 136, 10],
[-6, 127, 176, 10],
[-8, 134, 188, 17],
[-8, 130, 179, 17],
[-8, 136, 189, 17],
[-8, 134, 187, 10],
]);
}),
(ShowLoginDiv = function () {
$User.isAuthorWebsite ? PlayAudio("tap") : GotoAuthorWebsite("");
}),
Expand Down

0 comments on commit 947b5e2

Please sign in to comment.