133 lines
No EOL
1.8 KiB
CSS
133 lines
No EOL
1.8 KiB
CSS
html, body{
|
|
margin: 0px;
|
|
padding: 0px;
|
|
background-color: #2b2c2e;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
}
|
|
|
|
#canvas{
|
|
max-height: 100vh;
|
|
max-width: 100vw;
|
|
}
|
|
|
|
#phoneContainer.hidden{
|
|
position: absolute;
|
|
right: 20px;
|
|
top: 100%;
|
|
}
|
|
|
|
#phoneContainer.visible{
|
|
position: absolute;
|
|
right: 20px;
|
|
bottom: 5%;
|
|
user-select: none;
|
|
}
|
|
|
|
#phoneDiv{
|
|
position: relative;
|
|
}
|
|
|
|
#phone{
|
|
width: 200px;
|
|
}
|
|
#phoneScreen{
|
|
background-color: #322b2a;
|
|
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;
|
|
font-weight: bold;
|
|
background-color: #232120 ;
|
|
}
|
|
|
|
#chatHeader > p{
|
|
line-height: 10%;
|
|
}
|
|
|
|
#chatMessages{
|
|
height: 80%;
|
|
width: 100%;
|
|
overflow-y: scroll;
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
#chatMessages::-webkit-scrollbar{
|
|
display: none;
|
|
}
|
|
|
|
#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;
|
|
margin: 3%;
|
|
}
|
|
|
|
.messageTitle{
|
|
font-size: 75%;
|
|
margin: 0px;
|
|
}
|
|
|
|
.messageContent{
|
|
margin: 0px;
|
|
font-size: 60%;
|
|
}
|
|
|
|
.messageImage{
|
|
width: 100%;
|
|
}
|
|
|
|
#content {
|
|
height:90%;
|
|
width:100%;
|
|
background-image: url("../assets/phone/fond_ecran.jpeg");
|
|
background-size: cover;
|
|
}
|
|
|
|
.icon {
|
|
background-color: rgba(0,0,0, 0.7);
|
|
width: 40px;
|
|
height: 40px;
|
|
padding: 5px;
|
|
border-radius: 10px;
|
|
margin: 3.5px;
|
|
margin-right: 0;
|
|
display: inline-block;
|
|
cursor:pointer;
|
|
} |