aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstonedDiscord <stoned@derpymail.org>2019-07-18 22:24:58 +0200
committerstonedDiscord <stoned@derpymail.org>2019-07-18 22:24:58 +0200
commite188b0dd87c472324419e3b2b1ec1647647478ba (patch)
tree3cc43428f36835dc715dcdeaa3828f7b1d4c1986
parent98fd50a88ff721e573278fd2710c6fc5d075f88a (diff)
I DID IT (overlapping bg issue and flash)
-rw-r--r--webAO/client.css9
-rw-r--r--webAO/client.html3
2 files changed, 5 insertions, 7 deletions
diff --git a/webAO/client.css b/webAO/client.css
index 2ef43ec..1573103 100644
--- a/webAO/client.css
+++ b/webAO/client.css
@@ -74,8 +74,7 @@ img {
}
#client_gamewindow {
- position: relative;
- padding-bottom: 75%;
+ width: 100%;
}
#client_charselect {
@@ -189,11 +188,9 @@ img {
}
#client_background {
- position: absolute;
+ position: relative;
+ padding-bottom: 75%;
background-color: transparent;
- width: 100%;
- height: auto;
- padding-bottom: 71%;
top: 0;
left: 0;
}
diff --git a/webAO/client.html b/webAO/client.html
index 29ff072..9023cba 100644
--- a/webAO/client.html
+++ b/webAO/client.html
@@ -23,7 +23,7 @@
<template id="client_wrapper">
<meta name="frame-title" lang="en" content="Game">
<div id="client_icwrapper">
- <div id="client_background"></div>
+ <div id="client_background">
<div id="client_gamewindow">
<img id="client_court" alt="Courtroom backdrop" onerror="imgError(this);">
<img id="client_char" alt="Character" onerror="charError(this);">
@@ -39,6 +39,7 @@
</div>
<img id="client_testimony" alt="Testimony overlay" style="display: none;" onerror="imgError(this);">
</div>
+ </div>
<input id="client_inputbox" class="long" type="text" onkeypress="onEnter(event)" placeholder="Say something&hellip;">
<meta name="frame-title" lang="en" content="Miscellaneous">
<div id="client_bars">