forked from spacebar/SplatNet
add dummy message
This commit is contained in:
parent
fc38b5e269
commit
761f9c54c2
2 changed files with 50 additions and 1 deletions
|
|
@ -131,3 +131,19 @@ image.onload = () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
animateLoadingCanvas();
|
animateLoadingCanvas();
|
||||||
|
|
||||||
|
//todo: actually make it useful..
|
||||||
|
function friendsbox() {
|
||||||
|
const infoBox = document.createElement('div');
|
||||||
|
infoBox.className = 'splat-info-box';
|
||||||
|
|
||||||
|
infoBox.innerHTML = `
|
||||||
|
<p>In Splatoon, you can join online matches that your friends are participating in. Here will show your friends that are online. Register your friends on Wii U and play Splatoon!</p>
|
||||||
|
`;
|
||||||
|
const contentArea = document.querySelector('.content');
|
||||||
|
if (contentArea) {
|
||||||
|
contentArea.appendChild(infoBox);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
friendsbox();
|
||||||
|
|
@ -167,3 +167,36 @@ body {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.main-wrapper {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-start;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.splat-info-box {
|
||||||
|
background-color: rgba(0, 0, 0, 0.6);
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: 25px 40px;
|
||||||
|
max-width: 700px;
|
||||||
|
margin: 40px auto;
|
||||||
|
z-index: 5;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.splat-info-box p {
|
||||||
|
color: #ffffff;
|
||||||
|
font-family: "Regular", sans-serif;
|
||||||
|
font-size: 20px;
|
||||||
|
line-height: 1.6;
|
||||||
|
margin: 0;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue