Add logo image to center top of game board
This commit is contained in:
parent
9ad535d7b4
commit
284da23189
1 changed files with 21 additions and 0 deletions
|
|
@ -99,6 +99,17 @@
|
|||
>
|
||||
{{ visible ? `Hide` : `Show` }} Past Questions
|
||||
</button>
|
||||
<a
|
||||
href="https://playghostwriter.com"
|
||||
target="_blank"
|
||||
id="game-logo-link"
|
||||
>
|
||||
<img
|
||||
id="game-logo"
|
||||
src="/assets/ghost_writer_logo.png"
|
||||
alt="Ghost Writer Logo"
|
||||
>
|
||||
</a>
|
||||
<transition name="expand-from-left">
|
||||
<past-questions v-if="visible" @error="$emit(`error`, $event)" />
|
||||
</transition>
|
||||
|
|
@ -206,6 +217,16 @@ export default {
|
|||
background: var(--board-background-moon), var(--board-background);
|
||||
}
|
||||
|
||||
#game-logo-link {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: 7px;
|
||||
height: 10%
|
||||
}
|
||||
#game-logo {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue