diff --git a/static/style.css b/static/style.css index e11a0b2..f18ee22 100644 --- a/static/style.css +++ b/static/style.css @@ -381,8 +381,92 @@ textarea { color: black; } -/* Horizontal styling specifically for the table */ .horizontal-table tr:first-child th { text-align: center; font-weight: bold; } + +.hamburger { + position: fixed; + top: 1rem; + right: 1rem; + width: 3rem; + height: 3rem; + padding: 0.5rem; + background: rgba(0, 0, 0, 0.6); + border-radius: 50%; + display: flex; + flex-direction: column; + justify-content: space-between; + cursor: pointer; + z-index: 2000; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); +} + +.hamburger .bar { + width: 100%; + height: 0.4rem; + background-color: #fff; + border-radius: 2px; + transition: transform 0.3s ease, opacity 0.3s ease; +} + +.hamburger .bar { + transform-origin: left center; +} + +.hamburger .bar { + width: 100%; + height: 0.4rem; + background-color: #fff; + margin: 0.15rem 0; + transition: transform 0.3s ease, width 0.3s ease, opacity 0.3s ease; +} + +.hamburger.active .bar:nth-child(1) { + transform: translate(8px, 8px) rotate(45deg); + width: 60%; +} + +.hamburger.active .bar:nth-child(2) { + transform: translateX(10px); + width: 80%; +} + +.hamburger.active .bar:nth-child(3) { + transform: translate(8px, -8px) rotate(-45deg); + width: 60%; +} + +.nav-menu { + position: fixed; + top: 0; + right: -100%; + width: 250px; + height: 100vh; + background-color: rgba(255, 255, 255, 0.95); + display: flex; + flex-direction: column; + padding: 4rem 1.5rem; + gap: 1.5rem; + box-shadow: -4px 0 8px rgba(0,0,0,0.1); + transition: right 0.3s ease; + z-index: 1500; +} +.nav-menu a { + color: #333; + text-decoration: none; + font-size: 1.1rem; + font-weight: 500; +} +.nav-menu a:hover { + color: #4CAF50; +} + +.nav-menu.active { + right: 0; +} + +body.menu-open { + overflow: hidden; +} \ No newline at end of file diff --git a/templates/about_us.html b/templates/about_us.html index 5a35788..0fd45c6 100644 --- a/templates/about_us.html +++ b/templates/about_us.html @@ -7,57 +7,35 @@ About Us

About Us

-

Hey there! You seem to have stumbled upon the TRL Stat Page created by Fretux and Losernoob124!


+

Hey there! You seem to have stumbled upon the TRL Stat Page created by Fretux and + Losernoob124!


Our Mission

This website exists because we want to provide the TRL Community with an easy go-to way to calculate DPS and DPM values to help players make informed decisions about their gameplay. Whether you're fine-tuning your new Deathwish Strategy or simply curious about firearm performance, we’ve got you covered. If you have suggestions, feedback, or want to contribute new stats or - features, we’d love to hear from you, just contact us on Discord or on the Suggestion Page! + features, we’d love to hear from you, just contact us on Discord or on the Suggestion Page!

Our Story

@@ -81,22 +59,44 @@

How do you calculate DPS and DPM?

We put the data given by Lanz1021's - Stat Sheet into a .JSON (Javascript Object Notation) file, which we use to calculate the DPS - (damage per second) and DPM (damage per minute) of each weapon via a formula that is also mentioned on Lanz1021' Spreadsheet.

+ Stat Sheet into a .JSON (Javascript Object + Notation) file, which we use to calculate the DPS + (damage per second) and DPM (damage per minute) of each weapon via a formula that is also mentioned on Lanz1021' + Spreadsheet.

How often are stats updated?

We update the weapon stats every time a new update is released for TRL.

Special Thanks

- gameknight90999(holdenn/holdenisch): For telling me what Sandevistan does. (The wiki doesn't tell what it does, lol)
- delete(real_delete): For the info about the 'Weapon Expert' perk (I don't know where else I would've found that).
- Epicdragon99999999(epicdog999): For helping me categorize WW2 and Soviet weapons (I don't think I would've thought about the PKM)
- NocturnalAndrea(nocturnalandrea): For helping me categorize Semi-auto weapons (again, why isn't this listed on the wiki?)
+ gameknight90999(holdenn/holdenisch): For telling me what Sandevistan does. (The wiki doesn't tell what it + does, lol)
+ delete(real_delete): For the info about the 'Weapon Expert' perk (I don't know where else I would've + found that).
+ Epicdragon99999999(epicdog999): For helping me categorize WW2 and Soviet weapons (I don't think I + would've thought about the PKM)
+ NocturnalAndrea(nocturnalandrea): For helping me categorize Semi-auto weapons (again, why isn't this + listed on the wiki?)
Kris HD(krishd1337): For the motivation and help with finding bugs.
Lanz1021: For reviewing and giving feedback.
AND YOU!: We are thankful for every visitor we get on this website, and we hope you're enjoying it!

Thank you for visiting TRL Stats.

+
\ No newline at end of file diff --git a/templates/calculator.html b/templates/calculator.html index 4b03ab4..8ed0312 100644 --- a/templates/calculator.html +++ b/templates/calculator.html @@ -7,25 +7,6 @@ DPM/DPS Calculator + \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index d48132e..b52140a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,43 +6,19 @@ Gun Stats -
@@ -72,6 +48,22 @@ + diff --git a/templates/suggestion.html b/templates/suggestion.html index 66fd282..9e6034d 100644 --- a/templates/suggestion.html +++ b/templates/suggestion.html @@ -1,73 +1,64 @@ - + Suggestion -
-
-

Suggestion

-

Welcome to Suggestions!
We encourage you to share your ideas, improvments, or even fun comments with us, so we can develop this website further.

-
- -

+
+

Suggestion

+

Welcome to Suggestions!
We encourage you to share your ideas, improvments, + or even fun comments with us, so we can develop this website further.

+
+ +

- -

+ +

- -

-
- - - - -
- + +

+
+ + + +
+ +