Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 135 lines (115 sloc) 2.07 KB
* {
box-sizing: border-box;
}
body {
background-color: #3e2fae;
color:#fff;
font-family: 'Josefin Sans', sans-serif;
}
header{
display: flex;
align-items: center;
justify-content: space-around;
}
#chatBox {
width: 100vw;
position: absolute;
bottom: 70px;
top: 150px;
right: 0px;
left: 0px;
overflow: scroll;
background:#fff;
color:#000;
padding:15px;
}
/* #chatBox p{
display: inline-block;
background-color: #f9d861;
padding: 7px 10px;
border-radius: 10px;
} */
#chatBox p.user-message {
float: right;
display: inline-block;
margin-top: 10px;
padding: 7px 10px;
margin-bottom: 5px;
background-color:#3e2fae;
color: white;
border-radius: 10px 0px 10px 10px;
}
#chatBox p.other-message {
display: inline-block;
padding: 7px 10px;
background-color:#f9d861;
border-radius: 0px 10px 10px 10px;
}
#chatBox h4.user-name{
text-align: right;
padding-top: 50px;
}
#chatInput {
position:fixed;
left:0px;
bottom:0;
width:100%;
background-color:#eee;
display: flex;
justify-content: space-between;
height: 70px;
padding: 10px;
}
#chatInput input {
width:100%;
text-indent: 10px;
background-color: #ffffff;
border-radius: 15px;
border:2px solid #3e2fae;
font-family: 'Josefin Sans', sans-serif;
margin-right: 10px;
}
#chatInput button {
margin:0px 0px;
padding:0px 10px;
background-color:#3e2fae;
color:#fff;
border-radius: 15px;
}
#chatInput button:focus{
background-color: #f9d861;
}
header p{
background-color: #3e2fae;
margin-right: 20%;
border-radius: 10px;
text-align: center;
margin: 0 auto;
padding: 5px 20px;
color: white;
}
.smallImage{
width: 40px;
height: 40px;
border-radius: 50px;
text-align: center;;
}
h4{
padding: 0;
margin: 0;
}
.flex{
display: flex;
flex-direction: row;
justify-content: space-around;
}
.info{
text-align: center;
}
.time-date{
font-size: 0.7em;
color: #707070;
}
.input{
text-align: left;
}