-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7f4f3f6
commit 6a7f845
Showing
1 changed file
with
105 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap'); | ||
* { | ||
font-family: 'Montserrat', sans-serif; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
|
||
body{ | ||
background: #CABE9C; | ||
font-size: 20px; | ||
line-height:50px; | ||
color: #000; | ||
} | ||
|
||
.header-area { | ||
font-size: 10px; | ||
height: 6%; | ||
background: #fff; | ||
text-align: center; | ||
box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.2), 0 0 1rem rgba(0, 0, 0, 0.2); | ||
color: darkslategray; | ||
margin-left: 300px; | ||
margin-right: 300px; | ||
margin-top: 100px; | ||
border: 2px solid #F6F6F6; | ||
|
||
} | ||
.message-area { | ||
height: 50%; | ||
padding: 3px; | ||
overflow: auto; | ||
margin-left: 300px; | ||
margin-right: 300px; | ||
background: #E6E6E6; | ||
} | ||
|
||
.typing-area { | ||
height: 8%; | ||
margin-left: 300px; | ||
margin-right: 350px; | ||
} | ||
|
||
|
||
.typing-area .typing-box { | ||
width: 90%; | ||
height: 100%; | ||
resize: none; | ||
padding: 3px; | ||
} | ||
|
||
.typing-area .send-button { | ||
border: 1px solid #000; | ||
width: 9%; | ||
height: 8%; | ||
background: radial-gradient(#9198e5, #2A9CFF);; | ||
color: white; | ||
padding-top: 7px; | ||
font-size: 18px; | ||
position: absolute; | ||
margin: 0px; | ||
} | ||
|
||
.message-box { | ||
margin-top: 10px; | ||
} | ||
|
||
.others-message-box { | ||
} | ||
|
||
.my-message-box { | ||
text-align: right; | ||
background: white; | ||
} | ||
|
||
.message { | ||
max-width: 70%; | ||
border-radius:8%; | ||
padding: 0px; | ||
min-height: 3%; | ||
box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.2), 0 0 1rem rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
.my-message { | ||
margin-right:5px; | ||
float: right; | ||
text-align: left; | ||
font-size: 15px; | ||
background: #1AC453; | ||
color: white; | ||
} | ||
|
||
.others-message { | ||
margin-left:5px; | ||
float: left; | ||
font-size: 15px; | ||
background: #868786; | ||
color: white; | ||
} | ||
|
||
.separator { | ||
width: 100%; | ||
height: 8px; | ||
float: left; | ||
} |