game_room.css 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. #screen {
  2. width: 450px;
  3. height: 50px;
  4. margin-top: 10px;
  5. background-color: #fff;
  6. font-size: 22px;
  7. line-height: 50px;
  8. text-align: center;
  9. }
  10. #chat_area {
  11. width: 404px;
  12. height: 400px;
  13. margin-top: 10px;
  14. margin-left: 150px;
  15. border: 2px solid #fff; border-radius: 5px;
  16. position: relative;
  17. background-color: #fff;
  18. }
  19. #chat_show {
  20. width: 400px;
  21. height: 300px; overflow-y: scroll;
  22. background-color: #fec;
  23. font-size: 22px;
  24. line-height: 50px;
  25. text-align: center;
  26. }
  27. #chat_input {
  28. width: 300px;
  29. height: 50px;
  30. margin-top: 30px;
  31. background-color: #fff;
  32. font-size: 30px;
  33. border: 2px solid #fec; border-radius: 5px;
  34. vertical-align: top;
  35. }
  36. #chat_button {
  37. width: 90px;
  38. height: 50px;
  39. margin-top: 30px;
  40. background-color: #fec;
  41. font-size: 15px;
  42. border: 2px solid #fec; border-radius: 5px;
  43. vertical-align: top;
  44. }
  45. #chat_button:hover {
  46. width: 90px;
  47. height: 50px;
  48. margin-top: 30px;
  49. background-color: rgb(201, 145, 32);
  50. font-size: 15px;
  51. border: 2px solid #fec; border-radius: 5px;
  52. vertical-align: top;
  53. }
  54. #chat_button:active {
  55. width: 90px;
  56. height: 50px;
  57. margin-top: 30px;
  58. background-color: rgb(149, 127, 83);
  59. font-size: 15px;
  60. border: 2px solid #fec; border-radius: 5px;
  61. vertical-align: top;
  62. }
  63. #self_msg {
  64. height: 35px;
  65. line-height: 35px;
  66. font-size: 15px;
  67. float: right;
  68. background-color: rgb(7, 190, 102);
  69. border-radius: 5px;
  70. }
  71. #peer_msg {
  72. height: 35px;
  73. line-height: 35px;
  74. font-size: 15px;
  75. float: left;
  76. background-color: rgb(93, 218, 243);
  77. border-radius: 5px;
  78. }