Guest User

Crk workskin(CSS and HTML)

a guest
Jul 2nd, 2025
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.96 KB | None | 0 0
  1. CSS:
  2.  
  3. #workskin .textbox {
  4. position: relative;
  5. border-top-right-radius: 4em 4em;
  6. border-top-left-radius: 4em 4em;
  7. border-bottom-right-radius: 4em 4em;
  8. border-bottom-left-radius: 4em 4em;
  9. background-color: #FEF2E6;
  10. padding: 0.5em 3em 0.5em 3em;
  11. margin-top: 2em;
  12. margin-bottom: 2em;
  13. margin-left: auto;
  14. margin-right: auto;
  15. display: inline-block;
  16. min-height: 7em;
  17. width: 99%;
  18. line-height: 1.5em;
  19. border-style: solid;
  20. border-width: 1px 2px 3px 2px;
  21. border-color: #30342E;
  22. box-shadow: 0 5px #FFFFFF inset;
  23. font-family: "Moichy Pop One", Lexend, "Comic Sans MS";
  24. font-size: 1.1em;
  25. color: #000000;
  26. z-index: 0;
  27. box-sizing: border-box;
  28. }
  29.  
  30. #workskin .nametag {
  31. position: absolute;
  32. border-top-right-radius: 1.5em;
  33. border-top-left-radius: 1.5em;
  34. border-bottom-right-radius: 1.5em;
  35. border-bottom-left-radius: 1.5em;
  36. background-color: #854619;
  37. padding: 0.25em 1em 0.25em 1em;
  38. margin-top: 0em;
  39. margin-bottom: 0em;
  40. margin-left: auto;
  41. margin-right: auto;
  42. color: #FFFFFF;
  43. display: inline-block;
  44. line-height: 2em;
  45. height: 2em;
  46. min-width: 5em;
  47. width: fit-content;
  48. top: -1.5em;
  49. border-style: solid;
  50. border-width: 0.1875em;
  51. border-color: #FFFFFF;
  52. text-align: center;
  53. z-index: 1;
  54. }
  55. #workskin .textbox a {
  56. color: #000000;
  57. }
  58.  
  59. #workskin .nametag p {
  60. margin: 0;
  61. }
  62.  
  63. #workskin .left {
  64. left: 2em;
  65. }
  66.  
  67. #workskin .center {
  68. left: 0;
  69. right: 0;
  70. margin: auto;
  71. }
  72.  
  73. #workskin .right {
  74. right: 2em;
  75. }
  76.  
  77. #workskin .character1 {
  78. background-color: orange;
  79. }
  80.  
  81. #workskin .character2 {
  82. background-color: maroon;
  83. }
  84.  
  85. #workskin .character3 {
  86. background-color: darkblue;
  87. }
  88.  
  89. HTML:
  90.  
  91. <div class="textbox">
  92. <div class="nametag left character1">
  93. <p>Test Character 1</p>
  94. </div>
  95.  
  96. <p>The orange character had something <em>extremely</em> witty to say.</p></div>
  97.  
  98. <div class="textbox">
  99. <div class="nametag center character2">
  100. <p>Test Character 2</p>
  101. </div>
  102.  
  103. <p>The maroon character responded with something witty in kind.</p>
  104. </div>
  105.  
  106. <div class="textbox">
  107. <div class="nametag right character3">
  108. <p>Test Character 3</p>
  109. </div>
  110.  
  111. <p>The dark blue character, though - this one took their time. They went on and on and on and on and <strong>on</strong>, whinging for hours about nothing at all while the two other characters stood uncomfortably, uncertain whether it was polite to leave halfway through a tirade of this length. It was so unbelievably long that, were it to go on for much longer, it would begin to stretch the bounds of reality itself, pushing outward and causing the textbox to grow in kind. The amount of text required for this would be truly absurd, but it would still work - which was a godsend, really, because otherwise the fabric of spacetime might have been destroyed long ago.</p>
  112. </div>
  113.  
  114. <div class="textbox">
  115. <p>With that, the other two went on their merry ways. The dark blue fellow could run their mouth by themselves.</p>
  116. </div>
  117.  
  118.  
Tags: AO3
Advertisement
Add Comment
Please, Sign In to add comment