try to center logos
This commit is contained in:
parent
ef75ef8b98
commit
61c0e71774
|
@ -1,6 +1,3 @@
|
||||||
/* IE can't handle key events anyway, so screw it,
|
|
||||||
we're just keeping one copy around. */
|
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'ComunicacionDigitalMedium';
|
font-family: 'ComunicacionDigitalMedium';
|
||||||
src: url('comunicacion-webfont.ttf') format('truetype');
|
src: url('comunicacion-webfont.ttf') format('truetype');
|
||||||
|
@ -42,18 +39,23 @@ body {
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#logo-a, #logo-b {
|
#logo-a-container, #logo-b-container {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
max-width: 1.8em;
|
height: 5em;
|
||||||
max-height: 2em;
|
width: 2em;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
#logo-a {
|
#logo-a-container {
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
#logo-b {
|
#logo-b-container {
|
||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
#logo-a, #logo-b {
|
||||||
|
max-width: 1.8em;
|
||||||
|
max-height: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
#timeouts-a, #timeouts-b {
|
#timeouts-a, #timeouts-b {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
-->
|
-->
|
||||||
<div id="scoreboard">
|
<div id="scoreboard">
|
||||||
<p>
|
<p>
|
||||||
<img src="" alt="A" id="logo-a" onclick="handle(event);">
|
<span id="logo-a-container"><img src="" alt="A" id="logo-a" onclick="handle(event);"></span>
|
||||||
<span id="timeouts-a" onclick="handle(event);">0</span>
|
<span id="timeouts-a" onclick="handle(event);">0</span>
|
||||||
<span id="jammer-a" onclick="handle(event);">★</span>
|
<span id="jammer-a" onclick="handle(event);">★</span>
|
||||||
<span id="score-a" onclick="handle(event);">-</span>
|
<span id="score-a" onclick="handle(event);">-</span>
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<img src="" alt="B" id="logo-b" onclick="handle(event);">
|
<span id="logo-b-container"><img src="" alt="B" id="logo-b" onclick="handle(event);"></span>
|
||||||
<span id="timeouts-b" onclick="handle(event);">0</span>
|
<span id="timeouts-b" onclick="handle(event);">0</span>
|
||||||
<span id="jammer-b" onclick="handle(event);">★</span>
|
<span id="jammer-b" onclick="handle(event);">★</span>
|
||||||
<span id="score-b" onclick="handle(event);">-</span>
|
<span id="score-b" onclick="handle(event);">-</span>
|
||||||
|
|
Loading…
Reference in New Issue