commit
41b65b486e
6 changed files with 51 additions and 3 deletions
BIN
web/public/assets/ghost_writer_logo.png
Normal file
BIN
web/public/assets/ghost_writer_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 576 KiB |
|
|
@ -99,6 +99,18 @@
|
||||||
>
|
>
|
||||||
{{ visible ? `Hide` : `Show` }} Past Questions
|
{{ visible ? `Hide` : `Show` }} Past Questions
|
||||||
</button>
|
</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"
|
||||||
|
rel="noopener"
|
||||||
|
>
|
||||||
|
</a>
|
||||||
<transition name="expand-from-left">
|
<transition name="expand-from-left">
|
||||||
<past-questions v-if="visible" @error="$emit(`error`, $event)" />
|
<past-questions v-if="visible" @error="$emit(`error`, $event)" />
|
||||||
</transition>
|
</transition>
|
||||||
|
|
@ -206,6 +218,16 @@ export default {
|
||||||
background: var(--board-background-moon), var(--board-background);
|
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 {
|
h2 {
|
||||||
margin: 12px 0;
|
margin: 12px 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -184,7 +184,8 @@ export default {
|
||||||
@import "../css/style.css";
|
@import "../css/style.css";
|
||||||
|
|
||||||
#PlayerHand {
|
#PlayerHand {
|
||||||
background-color: var(--hand-background);
|
background: var(--hand-background);
|
||||||
|
color: var(--hand-text);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
width: 95%;
|
width: 95%;
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,7 @@
|
||||||
|
|
||||||
/* Hand colours */
|
/* Hand colours */
|
||||||
--hand-background: rgba(255, 255, 255, 0.2);
|
--hand-background: rgba(255, 255, 255, 0.2);
|
||||||
|
--hand-text: var(--dark-font-colour);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The colours for the cards in the hands of the players
|
The colours for the cards in the hands of the players
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,14 @@
|
||||||
<template>
|
<template>
|
||||||
<div id="CreateJoinGame" class="maximize view">
|
<div id="CreateJoinGame" class="maximize view">
|
||||||
<h1>Ghost Writer Online</h1>
|
<div class="centre" id="logo-header">
|
||||||
|
<a href="http://playghostwriter.com" target="_blank" rel="noopener">
|
||||||
|
<img
|
||||||
|
src="/assets/ghost_writer_logo.png"
|
||||||
|
alt="Ghost Writer Logo"
|
||||||
|
height="200"
|
||||||
|
>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
<button
|
<button
|
||||||
@click.stop="createGame()"
|
@click.stop="createGame()"
|
||||||
>Create Game</button>
|
>Create Game</button>
|
||||||
|
|
@ -149,6 +157,10 @@ export default {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#logo-header {
|
||||||
|
margin-top: 10vh;
|
||||||
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
background-color: var(--background2);
|
background-color: var(--background2);
|
||||||
color: var(--background2-text);
|
color: var(--background2-text);
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,14 @@
|
||||||
<template>
|
<template>
|
||||||
<div id="GameLobby" class="maximize view">
|
<div id="GameLobby" class="maximize view">
|
||||||
<h1 class="centre">Ghost Writer Online</h1>
|
<div class="centre" id="logo-header">
|
||||||
|
<a href="http://playghostwriter.com" target="_blank" rel="noopener">
|
||||||
|
<img
|
||||||
|
src="/assets/ghost_writer_logo.png"
|
||||||
|
alt="Ghost Writer Logo"
|
||||||
|
height="150px"
|
||||||
|
>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
<div class="flex-row">
|
<div class="flex-row">
|
||||||
<button
|
<button
|
||||||
class="clickable"
|
class="clickable"
|
||||||
|
|
@ -138,6 +146,10 @@ export default {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#logo-header {
|
||||||
|
margin-top: 5vh;
|
||||||
|
}
|
||||||
|
|
||||||
.flex-row {
|
.flex-row {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue