style.css 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. body{
  2. width: 100%;
  3. height: 100%;
  4. display: flex;
  5. flex-direction: column;
  6. align-items: center;
  7. }
  8. .wrapper{
  9. max-width:800px;
  10. display: flex;
  11. align-items: center;
  12. justify-content: space-around;
  13. }
  14. #container{
  15. max-width: 800px;
  16. height: 800px;
  17. display: flex;
  18. flex-direction: column;
  19. border: 1px solid grey;
  20. overflow-y: scroll;
  21. }
  22. .message{
  23. font-style: italic;
  24. font-size: 20px;
  25. color: blue;
  26. }
  27. .block{
  28. width: fit-content;
  29. border: 1px solid grey;
  30. border-radius: 2%;
  31. padding: 0 30px;
  32. margin: 7px 20px;
  33. box-shadow: 7px 3px 3px grey;
  34. }
  35. p{
  36. margin: 5px;
  37. }
  38. input{
  39. max-width: 250px;
  40. height: 35px;
  41. margin: 10px;
  42. font-size: 25px;
  43. border: 2px solid grey;
  44. border-radius: 3px;
  45. box-shadow: 3px 2px 2px grey;
  46. }
  47. #send{
  48. font-size: 20px;
  49. height: 39px;
  50. width: 150px;
  51. box-shadow: 5px 2px 2px grey;
  52. }
  53. #container::-webkit-scrollbar {
  54. width: 12px;
  55. background-color: #f9f9fd;
  56. }
  57. #container::-webkit-scrollbar-track {
  58. background-color: #E8E8E8;
  59. }
  60. #container::-webkit-scrollbar-thumb {
  61. height: 30px;
  62. box-shadow: inset 0 0 6px #223c50;
  63. }