Stylised suspect names
This commit is contained in:
parent
d41df3e478
commit
f91af841a3
@ -215,7 +215,7 @@ background-color: #000000d0;
|
|||||||
|
|
||||||
/* Interrogation */
|
/* Interrogation */
|
||||||
.ask_button {
|
.ask_button {
|
||||||
background-color: var(--game-white);
|
background-color: var(--game-dark-gold);
|
||||||
color: var(--game-black);
|
color: var(--game-black);
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
}
|
}
|
||||||
@ -240,6 +240,16 @@ background-color: #000000d0;
|
|||||||
#interrogation_suspect_previous_btn {
|
#interrogation_suspect_previous_btn {
|
||||||
margin-right: 1em;
|
margin-right: 1em;
|
||||||
}
|
}
|
||||||
|
.suspect_name{
|
||||||
|
font-family: "Park Lane";
|
||||||
|
font-size: 2em;
|
||||||
|
color: var(--game-dark-gold);
|
||||||
|
border-radius: 0.25em;
|
||||||
|
margin: 0;
|
||||||
|
border: var(--game-dark-gold) solid 1px;
|
||||||
|
padding: 0.25em;
|
||||||
|
background-color: #000000dd;
|
||||||
|
}
|
||||||
|
|
||||||
/* Emotion and culprit choices */
|
/* Emotion and culprit choices */
|
||||||
.culprit_icon {
|
.culprit_icon {
|
||||||
@ -249,6 +259,7 @@ background-color: #000000d0;
|
|||||||
width: 1em;
|
width: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.culprit_btn_checked {
|
.culprit_btn_checked {
|
||||||
background-color: var(--game-green);
|
background-color: var(--game-green);
|
||||||
}
|
}
|
||||||
|
@ -331,6 +331,7 @@ function renderInterrogation() {
|
|||||||
|
|
||||||
const name = document.createElement('p')
|
const name = document.createElement('p')
|
||||||
name.textContent = gameData['npcs'][npc_id]["name"]
|
name.textContent = gameData['npcs'][npc_id]["name"]
|
||||||
|
name.classList.add("suspect_name");
|
||||||
suspect.appendChild(name);
|
suspect.appendChild(name);
|
||||||
|
|
||||||
const img = document.createElement('img');
|
const img = document.createElement('img');
|
||||||
|
Loading…
Reference in New Issue
Block a user