GrandTabernacleAutoVI/public_html/css/game.css

108 lines
1.4 KiB
CSS
Raw Normal View History

2023-12-09 14:53:07 +01:00
html, body{
margin: 0px;
padding: 0px;
background-color: #2b2c2e;
display: flex;
align-items: center;
justify-content: center;
2023-12-11 18:49:13 +01:00
overflow: hidden;
2023-12-09 14:53:07 +01:00
}
#canvas{
max-height: 100vh;
max-width: 100vw;
2023-12-11 15:03:47 +01:00
}
2023-12-11 18:49:13 +01:00
#phoneContainer.hidden{
position: absolute;
right: 20px;
top: 100%;
}
#phoneContainer.visible{
position: absolute;
right: 20px;
bottom: 5%;
2023-12-12 11:04:43 +01:00
user-select: none;
2023-12-11 18:49:13 +01:00
}
2023-12-11 15:03:47 +01:00
#phoneDiv{
position: relative;
}
#phone{
width: 200px;
}
#phoneScreen{
2023-12-11 18:49:13 +01:00
background-color: #322b2a;
2023-12-11 15:03:47 +01:00
position: absolute;
left: 7%;
top: 12%;
right: 7%;
bottom: 13%;
}
#chatHeader{
height: 10%;
width: 100%;
border-bottom: 1px solid black;
text-align: center;
color: white;
line-height: 7%;
padding: 0px;
overflow: hidden;
2023-12-11 18:49:13 +01:00
font-weight: bold;
background-color: #232120 ;
2023-12-11 15:03:47 +01:00
}
#chatHeader > p{
line-height: 10%;
}
#chatMessages{
height: 80%;
width: 100%;
2023-12-12 11:04:43 +01:00
overflow-y: scroll;
overflow-x: hidden;
2023-12-13 09:39:07 +01:00
2023-12-11 15:03:47 +01:00
}
2023-12-13 09:39:07 +01:00
#chatMessages::-webkit-scrollbar{
display: none;
}
2023-12-11 15:03:47 +01:00
#chatInputDiv{
height: 10%;
width: 100%;
text-align: center;
}
#chatInput{
width: 90%;
box-sizing: border-box;
appearance: none;
background-color: transparent;
border-radius: 10px;
border: 1px solid black;
color: white;
padding-left: 10px;
height: 85%;
margin-bottom: 15%;
outline: none;
}
.message{
color: white;
font-family: sans-serif;
2023-12-11 18:49:13 +01:00
margin: 3%;
2023-12-11 15:03:47 +01:00
}
.messageTitle{
font-size: 75%;
margin: 0px;
}
.messageContent{
margin: 0px;
font-size: 60%;
2023-12-09 14:53:07 +01:00
}