Merge branch 'dev' of https://github.com/OpzekerIT/pubg into dev

This commit is contained in:
Lanta 2023-11-14 15:55:26 +01:00
commit 90fca6af3b
6 changed files with 39 additions and 13 deletions

View file

@ -1,3 +1,8 @@
<footer> <footer>
<p>&copy; <?php echo date("Y");?> DTCH Clan. All rights reserved.</p> <p>&copy; <?php echo date("Y");?> DTCH Clan. All rights reserved.</p>
<a href="https://discord.gg/wMXsB3ZmNA" target="_blank" rel="noopener noreferrer" title="Join us on our Discord">
<img src="./media/discordlogo.png" alt="Discord Logo" class="discord-logo">
</a>
</footer> </footer>

View file

@ -2,7 +2,7 @@
$host = $_SERVER['HTTP_HOST']; $host = $_SERVER['HTTP_HOST'];
if ($host == 'dev.dtch.online') { if ($host == 'dev.dtch.online') {
echo "You are on the development! Site"; echo "<center>You are on the development! Site</center>";
} }
?> ?>
<div class="topnav"> <div class="topnav">

View file

@ -164,9 +164,10 @@ tr:hover {
} }
.discord-logo { .discord-logo {
width: 50px; width: 150px;
height: auto; height: auto;
margin-top: 10px; margin-top: 20px;
margin-bottom: 20px;
cursor: pointer; cursor: pointer;
transition: opacity 0.3s, transform 0.3s; transition: opacity 0.3s, transform 0.3s;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
@ -198,7 +199,7 @@ body {
/* Override other elements as needed for the hacker theme */ /* Override other elements as needed for the hacker theme */
nav { nav {
background: #121212; /* Dark background for navigation */ background: #121212; /* Dark background for navigation */
/* border-bottom: 1px solid #33ff33; Bright green border for accent */ /* border-bottom: 1px solid #e69109; Bright green border for accent */
} }
/* Ensure links stand out */ /* Ensure links stand out */
@ -211,15 +212,15 @@ a {
.btn { .btn {
font-family: 'Courier New', monospace; font-family: 'Courier New', monospace;
background: #222; /* Dark background for buttons */ background: #222; /* Dark background for buttons */
color: #33ff33; /* Bright green text */ color: #e69109; /* Bright green text */
border: 1px solid #33ff33; /* Border to match text color */ border: 1px solid #e69109; /* Border to match text color */
padding: 10px 20px; padding: 10px 20px;
text-transform: uppercase; text-transform: uppercase;
transition: background-color 0.3s ease, color 0.3s ease; transition: background-color 0.3s ease, color 0.3s ease;
} }
.btn:hover { .btn:hover {
background: #33ff33; /* Bright green background on hover */ background: #e69109; /* Bright green background on hover */
color: #000; /* Dark text on hover */ color: #000; /* Dark text on hover */
cursor: pointer; cursor: pointer;
} }

View file

@ -3,6 +3,13 @@
overflow: hidden; overflow: hidden;
background-color: #0f0f0f; background-color: #0f0f0f;
position: relative; position: relative;
max-width: 1200px;
min-width: 800px;
margin: 5px auto 5px auto;
padding: 10px;
border: 1px solid rgb(255, 255, 255);
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
} }
/* Hide the links inside the navigation menu (except for logo/home) */ /* Hide the links inside the navigation menu (except for logo/home) */
@ -40,3 +47,18 @@
background-color: #0f0f0f; background-color: #0f0f0f;
color: #e69109; color: #e69109;
} }
@media (max-width: 768px) {
.topnav {
overflow: hidden;
background-color: #0f0f0f;
position: relative;
min-width: 424px;
max-width: 500px;
margin: 5px;
padding: 10px;
border: 1px solid rgb(255, 255, 255);
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
}

View file

@ -83,10 +83,8 @@ $lastMatches = array_slice($allMatches, 0, 8);
</tbody> </tbody>
</table> </table>
<p>Join us on our Discord:</p>
<a href="https://discord.gg/wMXsB3ZmNA" target="_blank" rel="noopener noreferrer">
<img src="./media/discordlogo.png" alt="Discord Logo" class="discord-logo">
</a>
</section> </section>
</main> </main>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Before After
Before After