Advertisement
Guest User

Hitbox聊天室-CSS範本-時間戳記

a guest
Jan 12th, 2014
1,024
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.52 KB | None | 0 0
  1. ::-webkit-scrollbar {
  2.     visibility: hidden; /*隱藏捲軸*/
  3. }
  4.  
  5. body {
  6.     background-color: rgba(0,0,0,0.5) ; /*背景,rgba(紅,藍,綠,透明度:0為完全透明)*/
  7. }
  8.  
  9. .chatBody li, .chatBody li.admin, .chatBody li.user, .chatBody .name, .chatBody .time {
  10.     font-size: 24px         !important ;/*聊天室文字大小*/
  11.     font-family: 微軟正黑體 !important ;/*聊天室文字字型*/
  12.     font-weight: 900        !important ;/*聊天室文字粗細,900為最粗*/
  13.     line-height: 1.05em     !important ;/*聊天室文字行高,1.05倍行高*/
  14.     padding: .05em          !important ;/*聊天室文字與前後段距離,0.05倍行高*/
  15.     margin: .0px            !important ;/*取消timestamp跟ID之間的間距*/
  16. }
  17.  
  18. .chatBody li, .chatBody li.admin, .chatBody li.user {
  19.     color: white;  /*聊天室文字顏色*/
  20.     background-color: transparent ;   !important /*聊天室admin和mod的背景,設定為透明避免干擾*/
  21. }
  22.  
  23. .chatContent, .chatInput, .chatBody .bufferTimestamp, .chatBody .bufferTimestamp div, .chatUsers {
  24.     bottom: 0px                   !important;/*0px不顯示*/
  25.     border: 0px                   !important;/*0px不顯示*/
  26.     margin: .0px .0px             !important;/*0px不顯示*/
  27.     padding: .0px                 !important;/*0px不顯示*/
  28.     font-size: 0px                !important;/*0px不顯示*/
  29.     background-color: transparent !important;/*避免干擾背景*/
  30. }
  31.  
  32. .chatBody .time {
  33.     display: inline-block!important;/*強迫timestamp在同一行輸出*/
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement