From bdc3bf9302f031a0fcea43c8df9266812e28ee4f Mon Sep 17 00:00:00 2001
From: Roxy <75404941+TealSeer@users.noreply.github.com>
Date: Tue, 17 Jun 2025 00:01:43 -0400
Subject: [PATCH] Fix title screen buttons being semi transparent (#4062)
## About The Pull Request
`.menu_button` was being affected by the `.container_nav` opacity
property because the former is contained in the latter, changes the
styling to stop using the opacity property and shift the opacity change
to `container_nav`'s `background` property for the same effect. Also
deletes the unused skyrat titlescreen config file
## Why It's Good For The Game
Fixes #3235
## Proof Of Testing
Screenshots/Videos

## Changelog
:cl:
fix: fixed title screen stylesheet making the menu buttons semi
transparent
/:cl:
---
config/bubbers/bubbers_title.txt | 3 +-
config/skyrat/title_html.txt | 240 ------------------
.../code/_title_screen_defines.dm | 3 +-
3 files changed, 2 insertions(+), 244 deletions(-)
delete mode 100644 config/skyrat/title_html.txt
diff --git a/config/bubbers/bubbers_title.txt b/config/bubbers/bubbers_title.txt
index ee1765cbd15..41481332d85 100644
--- a/config/bubbers/bubbers_title.txt
+++ b/config/bubbers/bubbers_title.txt
@@ -112,8 +112,7 @@
border: 2px solid white;
border-radius: 4px;
box-shadow: 2px 2px #333, inset 1px 1px #333;
- background: linear-gradient(to bottom, rgba(0, 179, 107, 0.9), rgba(0, 56, 34, 0.9));
- opacity: 75%;
+ background: linear-gradient(to bottom, rgba(0, 179, 107, 0.675), rgba(0, 56, 34, 0.675));
padding: 1em;
}
diff --git a/config/skyrat/title_html.txt b/config/skyrat/title_html.txt
deleted file mode 100644
index cfb530c80b6..00000000000
--- a/config/skyrat/title_html.txt
+++ /dev/null
@@ -1,240 +0,0 @@
-
-
-
-
-
-
-
diff --git a/modular_skyrat/modules/title_screen/code/_title_screen_defines.dm b/modular_skyrat/modules/title_screen/code/_title_screen_defines.dm
index 6ba1050a411..e8d7bd5bd4c 100644
--- a/modular_skyrat/modules/title_screen/code/_title_screen_defines.dm
+++ b/modular_skyrat/modules/title_screen/code/_title_screen_defines.dm
@@ -111,8 +111,7 @@
border: 2px solid white;
border-radius: 4px;
box-shadow: 2px 2px #333, inset 1px 1px #333;
- background: linear-gradient(to bottom, rgba(68, 68, 204, 0.9), rgba(0, 0, 102, 0.9));
- opacity: 75%;
+ background: linear-gradient(to bottom, rgba(68, 68, 204, 0.675), rgba(0, 0, 102, 0.675));
padding: 1em;
}