solielios

Windows Chat Scrollbox ♡

Oct 11th, 2021 (edited)
905
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.02 KB | None | 0 0
  1. <!-- CR Solielios if you wanna but i don't really care as long as you don't put it in your own resource carrd, this belongs in limonysal -->
  2.  
  3. <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  4. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous">
  5. <div class="chat">
  6.     <div class="ctb"> <span class="ctl">
  7. <i class="far fa-comments"></i>&nbsp;&nbsp; <mark>title</mark>
  8. </span> <span class="cti">
  9. <i class="material-icons">minimize</i>
  10. <i class="material-icons">web_asset</i>
  11. <i class="material-icons">close</i>
  12. </span> </div>
  13.     <div class="cmain"> text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text </div>
  14.     <div class="cb"> <span class="cbtext">
  15. <i class="material-icons">format_color_text</i>
  16. <i class="material-icons">format_color_fill</i>
  17. </span> <i class="material-icons">format_bold</i> <i class="material-icons">format_italic</i> <i class="material-icons">format_underlined</i> </div>
  18. </div>
  19. <style>
  20. @font-face {
  21.     font-family: sweetheart;
  22.     src: url(https://dl.dropbox.com/s/qsbxaucivq93z8r/sweet_heart.ttf);
  23. }
  24.  
  25. @font-face {
  26.     font-family: sant joan;
  27.     src: url(https://dl.dropbox.com/s/iwvkrg8ccgd1pf4/SantJoanDespi-Regular.otf);
  28. }
  29.  
  30. .chat {
  31.     width: 300px;
  32.     margin: 20px auto;
  33.     padding: 5px;
  34.     text-shadow: .6px .6px rgba(160, 160, 160, 1);
  35.     box-shadow: .2px .2px 5px rgba(150, 150, 150, .6);
  36.     background: #eee;
  37.     border-radius: 4px;
  38. }
  39.  
  40. .ctb {
  41.     background: linear-gradient(90deg, rgba(135, 184, 236, 1) 0%, rgba(203, 197, 211, 1) 100%);
  42.     display: flex;
  43.     justify-content: space-between;
  44.     align-items: center;
  45.     padding: 4px
  46. }
  47.  
  48. .ctl .far {
  49.     font-size: 16px;
  50.     color: #efefef;
  51.     position: relative;
  52.     top: 0px;
  53.     left: 2px;
  54. }
  55.  
  56. .chat .material-icons {
  57.     font-size: 12px;
  58.     padding: 3px;
  59. }
  60.  
  61. .cti .material-icons {
  62.     background: #eee;
  63.     border-radius: 2px;
  64. }
  65.  
  66. .chat .cbtext .material-icons {
  67.     font-size: 9px;
  68.     position: relative;
  69.     top: -1px;
  70. }
  71.  
  72. .cmain {
  73.     border: 1px solid rgba(150, 150, 150, .2);
  74.     height: 100px;
  75.     margin: 5px 0px 0px 0px;
  76.     background: #fcfcfc;
  77.     overflow: scroll;
  78.     overflow-x: hidden;
  79.     padding-right: 5px;
  80.     padding-left: 5px;
  81.     padding-top: 5px;
  82.     padding-bottom: 5px;
  83.     font-family: sweetheart;
  84. }
  85.  
  86. .cb {
  87.     display: flex;
  88.     justify-content: center;
  89.     margin: 5px 0px 0px;
  90. }
  91.  
  92. mark {
  93.     background: black;
  94.     border: 1px solid #000;
  95.     border-radius: 15px;
  96.     box-shadow: 0px 0px 2px #000;
  97.     font-family: sant joan;
  98.     color: white;
  99.     text-shadow: linear-gradient(90deg, rgba(135, 184, 236, 1) 0%, rgba(203, 197, 211, 1) 100%);
  100.     padding-left: 10px;
  101.     padding-right: 10px;
  102.     letter-spacing: 1.5px;
  103.     text-align: center;
  104.     text-decoration: none;
  105.     display: inline-block;
  106.     font-size: 15px;
  107.     margin: 0px 1px;
  108.     cursor: hidden;
  109. }
  110.  
  111. #scroll {}
  112.  
  113. .scroll {}
  114.  
  115.  
  116. /* width */
  117.  
  118. ::-webkit-scrollbar {
  119.     width: 10px;
  120. }
  121.  
  122.  
  123. /* Track */
  124.  
  125. ::-webkit-scrollbar-track {}
  126.  
  127.  
  128. /* Handle */
  129.  
  130. ::-webkit-scrollbar-thumb {
  131.     background: linear-gradient(180deg, rgba(246, 206, 206, 1) 0%, rgba(206, 216, 246, 1) 100%);
  132. }
  133.  
  134.  
  135. /* Handle on hover */
  136.  
  137. ::-webkit-scrollbar-thumb:hover {
  138.     background: linear-gradient(180deg, rgba(246, 206, 206, 1) 0%, rgba(255, 250, 177, 1) 0%, rgba(206, 216, 246, 1) 100%);
  139. }
  140. </style>
Add Comment
Please, Sign In to add comment