Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: ClaytonTDM <claytontdm@gmail.com>
  • Loading branch information
ClaytonTDM committed Dec 27, 2024
1 parent 076534d commit 1815997
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 10 deletions.
14 changes: 11 additions & 3 deletions game/Custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -482,12 +482,12 @@ td {
border-radius: 20px;
text-align: center;
max-width: 80%;
border: 8px solid #ff6b6b;
box-shadow: 0 0 50px rgba(255,0,0,0.3);
border: 8px solid #ff9800; /* Changed from red to orange to be less alarming */
box-shadow: 0 0 50px rgba(255,152,0,0.3); /* Changed from red to orange */
}

.stolen-warning-content h2 {
color: #ff0000;
color: #ff9800; /* Changed from red to orange */
margin-top: 0;
font-size: 2.5em;
margin-bottom: 0.5em;
Expand Down Expand Up @@ -535,3 +535,11 @@ td {
.stolen-warning-content .small-button:hover {
opacity: 1;
}

.stolen-warning-content .note-box {
background: #f5f5f5;
border: 1px solid #ddd;
border-radius: 8px;
padding: 10px;
margin: 15px 0;
}
17 changes: 10 additions & 7 deletions game/iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,17 @@
>
<div id="stolen-warning" style="display: none;">
<div class="stolen-warning-content">
<h2>🚫 WRONG WEBSITE! 🚫</h2>
<p style="font-size: 1.2em;">This is not the real game!</p>
<p style="font-size: 1.2em;">The only real website is:</p>
<h2>⚠️ Different Website Warning ⚠️</h2>
<p style="font-size: 1.2em;">You're playing this game on a different website!</p>
<p style="font-size: 1.2em;">The official website is:</p>
<a href="https://roblnet13.github.io/pvz" style="font-family: monospace !important;">roblnet13.github.io/pvz</a>
<p style="font-size: 1.2em; color: #ff0000;">Someone copied this game without permission!</p>
<p style="font-size: 1.2em;">Click the button to visit the real website:</p>
<a href="https://roblnet13.github.io/pvz" class="big-button">Play on the Real Website!</a>
<button class="small-button" onclick="document.getElementById('stolen-warning').style.display='none'">Stay Here</button>
<div class="note-box">
<p style="font-size: 1em; color: #666;">Note: If someone linked you here, this warning might appear by mistake.
That's normal! But if you found this through a different website, they might have copied the game without permission.</p>
</div>
<p style="font-size: 1.2em;">To be safe, you can:</p>
<a href="https://roblnet13.github.io/pvz" class="big-button">Play on the Official Website!</a>
<button class="small-button" onclick="document.getElementById('stolen-warning').style.display='none'">Continue Here</button>
</div>
</div>
<script>
Expand Down

0 comments on commit 1815997

Please sign in to comment.