Advertisement
TheKorraFanatic

Untitled

May 6th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.86 KB | None | 0 0
  1. /* Discord-esque chat */
  2.  
  3. @font-face {
  4. font-family: Whitney;
  5. font-style: normal;
  6. font-weight: 500;
  7. src: url(https://discordapp.com/assets/d153359b5d87601d2b9c708b7ae2db02.woff) format("woff");
  8. }
  9. @font-face {
  10. font-family: Whitney;
  11. font-style: bold;
  12. font-weight: 700;
  13. src: url(https://discordapp.com/assets/2e004dd717cdc58b9ccb361d286ebbce.woff) format("woff");
  14. }
  15. body {
  16. font-family: Whitney;
  17. }
  18. .ChatHeader {
  19. background-color: #36393e;
  20. border: 0;
  21. border-bottom: 1px solid #2c2f32;
  22. border-radius: 0;
  23. margin: 0;
  24. padding: 10px;
  25. }
  26. .ChatHeader .User {
  27. border: 0;
  28. color: hsla(240,6%,97%,.6);
  29. font-size: 16px;
  30. padding: 15px 0 10px 65px;
  31. right: 0;
  32. width: 160px;
  33. }
  34. .ChatHeader .User img {
  35. border: 0;
  36. border-radius: 100%;
  37. height: 30px;
  38. left: 25px;
  39. top: 10px;
  40. width: 30px;
  41. }
  42. .ChatHeader .User .username .badge {
  43. right: 15px;
  44. top: 16px;
  45. }
  46. #WikiaPage {
  47. background-color: #36393e;
  48. border: 0;
  49. border-radius: 0;
  50. bottom: 0;
  51. color: hsla(0,0%,100%,.7);
  52. left: 0;
  53. right: 0;
  54. top: 61px;
  55. }
  56. .Chat {
  57. border: 0;
  58. bottom: 60px;
  59. width: 85%;
  60. }
  61. .Chat .avatar {
  62. border: 0;
  63. border-radius: 100%;
  64. height: 40px;
  65. width: 40px;
  66. }
  67. .Chat .continued .time {
  68. display: inline;
  69. }
  70. .Chat .username {
  71. color: #fff;
  72. font-size: 1rem;
  73. padding-left: 20px;
  74. padding-top: 5px;
  75. }
  76. .Chat .username:after {
  77. content: '';
  78. }
  79. .Chat .message {
  80. padding-left: 20px;
  81. }
  82. .Chat li:not(.continued) .message {
  83. display: block;
  84. padding-top: 5px;
  85. }
  86. .Chat li:not(.inline-alert) {
  87. border-top: 1px solid hsla(0,0%,100%,.04);
  88. font-size: 0.9375rem;
  89. margin: 0 10px;
  90. }
  91. .Chat .continued {
  92. padding-bottom:0;
  93. padding-top: 0;
  94. }
  95. .Chat .inline-alert + li, .Chat li + .continued {
  96. border-color: transparent;
  97. }
  98. .Chat .continued:not(.inline-alert) + .continued:not(.inline-alert) {
  99. padding-top: 2px;
  100. }
  101. .Chat li a {
  102. color: #0096cf;
  103. }
  104. .Chat .you {
  105. background-color: transparent;
  106. }
  107. .Chat .inline-alert {
  108. align-items: center;
  109. color: rgba(240,71,71,.8);
  110. display: flex;
  111. font-size: 14px;
  112. font-weight: normal;
  113. padding: 15px;
  114. }
  115. .Chat .inline-alert:before, .Chat .inline-alert:after {
  116. background-color: #f04747;
  117. opacity: .4;
  118. content: '';
  119. display: inline-block;
  120. flex-grow: 1;
  121. height: 1px;
  122. }
  123. .Chat .inline-alert:before {
  124. margin-right: 10px;
  125. }
  126. .Chat .inline-alert a {
  127. color: #fff;
  128. margin: 0 5px;
  129. }
  130. .Chat .inline-alert:after {
  131. margin-left: 10px;
  132. }
  133. .Write {
  134. border-top: 1px solid hsla(0,0%,100%,.06);
  135. height: 50px;
  136. margin:0 10px;
  137. padding-left: 0;
  138. padding-top: 10px;
  139. width: calc(85% - 10px);
  140. }
  141. .Write img {
  142. display: none;
  143. }
  144. .Write .message {
  145. background: none;
  146. border: 0;
  147. height: 20px;
  148. margin-right: 30px;
  149. padding: 0;
  150. }
  151. .Write [name="message"] {
  152. background-color: hsla(218,5%,47%,.3);
  153. border-radius: 6px;
  154. color: hsla(0,0%,100%,.7);
  155. font-family: whitney;
  156. font-size: 0.9375rem;
  157. padding: 10px;
  158. }
  159. .Rail {
  160. background-color: #2f3136;
  161. width: 15%;
  162. }
  163. .Rail .WikiChatList {
  164. display: flex;
  165. flex-flow: column;
  166. }
  167. .Rail .chatmoderator,
  168. .Rail [data-user="Alex.sapre"],
  169. .Rail [data-user="Auron~Guardian"],
  170. .Rail [data-user="TheKorraFanatic"] {
  171.  
  172. order: -1;
  173. }
  174. .Rail .wordmark.selected {
  175. background: linear-gradient(90deg,#282b30 85%,#2f3136);
  176. }
  177. .Rail > .wordmark {
  178. background-color: transparent;
  179. box-shadow: 0 0;
  180. margin-bottom: 0;
  181. padding: 10px 0;
  182. }
  183. .Rail .wordmark .chevron {
  184. display: none !important;
  185. border-color: #fff transparent transparent;
  186. left: 20px;
  187. }
  188. .Rail .wordmark .wordmark {
  189. display: block;
  190. margin: 0 auto;
  191. }
  192. .Rail .User {
  193. color: #fff;
  194. font-size: 16px;
  195. padding: 10px 16px 10px 60px;
  196. }
  197. .Rail .User:hover {
  198. background: linear-gradient(90deg,#282b30 85%,#2f3136)
  199. }
  200. .Rail .User img {
  201. border: 0;
  202. border-radius: 100%;
  203. height: 30px;
  204. left: 20px;
  205. width: 30px;
  206. }
  207. .Rail .User:not(.away) img {
  208. top: 6px;
  209. }
  210. .Rail .User .badge {
  211. right: 15px;
  212. top: 11px;
  213. }
  214. .Rail .away:not(:hover) {
  215. color: hsla(0,0%,100%,.6);
  216. filter: grayscale(100%);
  217. }
  218. .Rail h1:not(.wordmark), .Rail .private {
  219. background: none;
  220. border: 0;
  221. color: hsla(0,0%,100%,.4);
  222. font-size: 12px;
  223. letter-spacing: .08em;
  224. margin-top: 20px;
  225. padding: 10px 25px;
  226. text-transform: uppercase;
  227. }
  228. .Rail .User.selected {
  229. background: linear-gradient(90deg,#282b30 85%,#2f3136);
  230. box-shadow: 0 0;
  231. }
  232. .ChatWindow .UserStatsMenu {
  233. border: 0;
  234. border-radius: 3px;
  235. box-shadow: 0 0;
  236. padding: 0;
  237. right: 205px !important;
  238. width: 250px;
  239. }
  240. .UserStatsMenu .info {
  241. background: #7289da url(https://discordapp.com/assets/8cd2f31a12333149b89ef3931626ab83.png);
  242. border-radius: 3px 3px 0 0;
  243. padding: 20px 20px 10px;
  244. }
  245. .UserStatsMenu .info img {
  246. border: 4px solid #8ea1e1;
  247. border-radius: 100%;
  248. display: block;
  249. float: none;
  250. height: 92px;
  251. margin: 0 auto;
  252. width: 92px;
  253. }
  254. .UserStatsMenu .info ul {
  255. color: hsla(0,0%,100%,.6);
  256. font-size: 14px;
  257. margin: 0;
  258. text-align: center;
  259. }
  260. .UserStatsMenu .info ul .username {
  261. color: #fff;
  262. font-size: 16px;
  263. margin: 10px;
  264. }
  265. .UserStatsMenu .actions ul li:hover {
  266. background: transparent;
  267. }
  268. .UserStatsMenu .actions .regular-actions {
  269. background-color: #f6f6f7;
  270. border-radius: 0 0 3px 3px;
  271. margin: 0;
  272. padding: 10px;
  273. }
  274. .UserStatsMenu .actions .separator {
  275. display: none;
  276. }
  277. .UserStatsMenu .actions .admin-actions {
  278. border-top: 1px solid #dcddde;
  279. margin: 0;
  280. padding: 10px;
  281. }
  282. .UserStatsMenu .actions .admin-actions li {
  283. cursor: pointer;
  284. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement