body{
margin: 0;
}
* {
font-family: 'Century Gothic';
}
#app-view{
width: 80%;
margin: auto;
height: 100vh;
display: flex;
flex-direction: column;
}
@media (max-width: 1023px) and (min-width: 768px){
#app-view {
width: 90%;
}
}
@media (max-width: 767px){
#app-view {
width: 100%;
}
}
#page-view{
flex: auto;
display: flex;
flex-direction: column;
overflow: hidden;
}
.content{
flex: auto;
display: flex;
flex-direction: column;
overflow: auto;
}
.message-list, .profile-form, .room-list{
flex: auto;
background-color: whitesmoke;
padding: 0.5rem 2rem;
margin: 0;
overflow: auto;
}
/* Page control related styling */
.page-control{
padding: 1rem;
background-color: rgba(102, 111, 81, 1.0);
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;
}
.page-control input, .page-control textarea {
padding: 0.5rem;
box-sizing: border-box;
margin-top: 0.5rem;
border: 1px solid #ccc;
border-radius: 25px;
resize: none;
}
.page-control input{
width: 20%;
}
.page-control textarea{
width: 60%;
}
.page-control input::placeholder {
font-size: 1rem;
}
button {
background-color: rgb(126, 132, 107);
border: 2px solid #fff;
border-radius: 20px;
padding: 0.5rem 1.25rem;
color: white;
cursor: pointer;
font-size: 1rem;
}
button:hover {
background-color: rgba(61, 67, 49);
color: white;
}
/* App menu related styling */
#app-menu{
display: flex;
padding: 0;
margin: 0;
}
.menu-item {
display: inline-block;
flex-grow: 1;
}
.menu-item a{
color: white;
font-size: 1.5rem;
background-color: rgba(102, 111, 81, 1.0);
text-decoration: none;
padding: 0.5rem 0;
display: flex;
align-items: center;
justify-content: center;
}
.menu-item a:hover{
background-color: rgba(102, 111, 81, 0.6);
}
.menu-item-icon {
width: auto;
height: 2rem;
margin-right: 1rem;
}
/* Chat related styles*/
.room-name{
margin: 0.5rem 1rem;
font-size: 1.25rem;
}
.message {
background-color: white;
border: 1px solid black;
border-radius: 15px;
width: 80%;
margin: 1rem 1rem;
padding: 0.25rem 0.5rem;
}
.my-message{
margin-left: auto;
background-color: rgba(102, 111, 81, 0.8);
color: white;
}
.message-user{
display: block;
font-weight: bold;
}
/* Room list related styles */
.room-list{
padding: 0;
}
.room-list li a{
display: flex;
align-items: center;
gap: 1.5rem;
padding: 1rem;
border-bottom: 1px solid black;
text-decoration: none;
font-size: 1.25rem;
color: black;
}
.room-list li a:hover{
background-color: rgba(0, 0, 0, 0.1);
}
.room-icon{
width: 3rem;
height: 3rem;
object-fit: cover;
border-radius: 100%;
}
/* Profile related styling */
.form-field {
display: flex;
flex-direction: row;
align-items: center;
margin: 1.5rem;
}
.form-field input[type="text"],
.form-field input[type="password"] {
width: 80%;
padding: 0.5rem;
box-sizing: border-box;
margin-top: 0.5rem;
border: 1px solid #ccc;
border-radius: 25px;
}
.form-field input[type="file"] {
margin-top: 0.5rem;
margin-left: 1.25rem;
}
.form-field label {
margin-right: 0.6rem;
text-decoration: none;
font-size: 1.25rem;
color: black;
}
.form-field textarea[id="bio"] {
width: 40%;
height: 100px;
padding: 0.5rem;
box-sizing: border-box;
margin-top: 0.5rem;
border: 1px solid #ccc;
border-radius: 25px;
resize: none;
}
.form-field textarea[id="bio"]::placeholder {
font-size: 1rem;
}
.profile-icon{
width: 3rem;
height: 3rem;
object-fit: cover;
border-radius: 100%;
}