Added a background image

This commit is contained in:
Taylor Courage 2025-03-08 18:48:09 -05:00
parent c18cb96705
commit 1242ea4586
5 changed files with 18 additions and 2 deletions

View File

@ -17,6 +17,7 @@ session_start();
<body id="body"> <body id="body">
<script>getURL();</script> <script>getURL();</script>
<div id="contentFrame"> <div id="contentFrame">
<img src="/assets/rl_logo_background.svg" alt="Rocket League logo for background" class="backgroundImage">
<div class="header"> <div class="header">
<div id="headerLeft"> <div id="headerLeft">
<img src="/assets/trojan_image_1.png" alt="Trojan Destiny logo" id="headerImage"> <img src="/assets/trojan_image_1.png" alt="Trojan Destiny logo" id="headerImage">

View File

@ -14,6 +14,7 @@ session_start();
<body id="body"> <body id="body">
<div id="contentFrame"> <div id="contentFrame">
<img src="/assets/rl_logo_background.svg" alt="Rocket League logo for background" class="backgroundImage">
<div class="header"> <div class="header">
<div id="headerLeft"> <div id="headerLeft">
<img src="/assets/trojan_image_1.png" alt="Trojan Destiny logo" id="headerImage"> <img src="/assets/trojan_image_1.png" alt="Trojan Destiny logo" id="headerImage">

View File

@ -23,6 +23,19 @@
line-height: 0.25em; line-height: 0.25em;
} }
.backgroundImage {
position: absolute;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
top: 15%;
text-align: center;
z-index: -1;
opacity: 0.05;
}
#body { #body {
background-image: linear-gradient(to right, rgba(0, 0, 255, .8), rgba(255, 165, 0, .8)); background-image: linear-gradient(to right, rgba(0, 0, 255, .8), rgba(255, 165, 0, .8));
padding-top: 2%; padding-top: 2%;
@ -44,7 +57,7 @@ Modifies and defines the iFrame that's holding the content shown to the user
flex-direction: column; flex-direction: column;
margin: auto; margin: auto;
border: 1px solid black; border: 1px solid black;
border-radius: 5px; border-radius: 8px;
background-color: rgba(255, 255, 255, .2); background-color: rgba(255, 255, 255, .2);
width:100%; width:100%;
max-width: 900px; max-width: 900px;

View File

@ -49,6 +49,7 @@ try { // Try opening the SQL database connection
<body id="body"> <body id="body">
<script>getURL();</script> <script>getURL();</script>
<div id="contentFrame"> <div id="contentFrame">
<img src="/assets/rl_logo_background.svg" alt="Rocket League logo for background" class="backgroundImage">
<div class="header"> <div class="header">
<div id="headerLeft"> <div id="headerLeft">
<img src="/assets/trojan_image_1.png" alt="Trojan Destiny logo" id="headerImage"> <img src="/assets/trojan_image_1.png" alt="Trojan Destiny logo" id="headerImage">