style.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. /* Fix user-agent */
  2. * {
  3. box-sizing: border-box;
  4. }
  5. html {
  6. font-weight: 300;
  7. -webkit-font-smoothing: antialiased;
  8. }
  9. html, input {
  10. font-family:
  11. "HelveticaNeue-Light",
  12. "Helvetica Neue Light",
  13. "Helvetica Neue",
  14. Helvetica,
  15. Arial,
  16. "Lucida Grande",
  17. sans-serif;
  18. }
  19. html, body {
  20. height: 100%;
  21. margin: 0;
  22. padding: 0;
  23. }
  24. ul {
  25. list-style: none;
  26. word-wrap: break-word;
  27. }
  28. /* Pages */
  29. .pages {
  30. height: 100%;
  31. margin: 0;
  32. padding: 0;
  33. width: 100%;
  34. }
  35. .page {
  36. height: 100%;
  37. position: absolute;
  38. width: 100%;
  39. }
  40. /* Login Page */
  41. .login.page {
  42. background-color: #000;
  43. }
  44. .login.page .form {
  45. height: 100px;
  46. margin-top: -100px;
  47. position: absolute;
  48. text-align: center;
  49. top: 50%;
  50. width: 100%;
  51. }
  52. .login.page .form .usernameInput {
  53. background-color: transparent;
  54. border: none;
  55. border-bottom: 2px solid #fff;
  56. outline: none;
  57. padding-bottom: 15px;
  58. text-align: center;
  59. width: 400px;
  60. }
  61. .login.page .title {
  62. font-size: 200%;
  63. }
  64. .login.page .usernameInput {
  65. font-size: 200%;
  66. letter-spacing: 3px;
  67. }
  68. .login.page .title, .login.page .usernameInput {
  69. color: #fff;
  70. font-weight: 100;
  71. }
  72. /* Chat page */
  73. .chat.page {
  74. display: none;
  75. }
  76. /* Font */
  77. .messages {
  78. font-size: 150%;
  79. }
  80. .inputMessage {
  81. font-size: 100%;
  82. }
  83. .log {
  84. color: gray;
  85. font-size: 70%;
  86. margin: 5px;
  87. text-align: center;
  88. }
  89. /* Messages */
  90. .chatArea {
  91. height: 100%;
  92. padding-bottom: 60px;
  93. }
  94. .messages {
  95. height: 100%;
  96. margin: 0;
  97. overflow-y: scroll;
  98. padding: 10px 20px 10px 20px;
  99. }
  100. .message.typing .messageBody {
  101. color: gray;
  102. }
  103. .username {
  104. font-weight: 700;
  105. overflow: hidden;
  106. padding-right: 15px;
  107. text-align: right;
  108. }
  109. /* Input */
  110. .inputMessage {
  111. border: 10px solid #000;
  112. bottom: 0;
  113. height: 60px;
  114. left: 0;
  115. outline: none;
  116. padding-left: 10px;
  117. position: absolute;
  118. right: 0;
  119. width: 100%;
  120. }