malacostracans

AO3 Work Skin - Disco Elysium

Jan 12th, 2022 (edited)
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.91 KB | None | 0 0
  1. /* Sets default text color & bg color. Handles gray sidebars, bg tick marks. */
  2. #workskin {
  3.   background-color: #222222;
  4.   color: #cfd5bf;
  5.   background-image: repeating-linear-gradient(180deg, #939593 0, #939593 1.25em, transparent 0, transparent 1.75cm), repeating-linear-gradient(180deg, #5d6163 0, #545758 2px, transparent 0, transparent .5cm), linear-gradient(90deg, #616364 0, #616364 .75em, transparent .75em), linear-gradient(270deg, #616364 0, #616364 .75em, transparent .75em), repeating-linear-gradient(180deg, #393734 0, #393734 2px, transparent 0, transparent 2.5cm), repeating-linear-gradient(180deg, #393734 0, #393734 2px, transparent 0, transparent .5cm);
  6.   background-position: 100% 0, 0 20px, 0 0, 0 0, 0 10px, 0 10px;
  7.   background-size: .2em 100%, .3em 100%, 100% 100%, 100% 100%, 2.25em 100%, 1.2em 100%;
  8.   background-repeat: no-repeat;
  9. }
  10.  
  11. /* Planchette thingy on left + fake scrollbar. Adds spacing to prevent work text butting up against background details.
  12.    Using ".userstuff.module" / "#chapters div.userstuff" makes sure notes/endnotes don't get squeezed. */
  13. #workskin #chapters div.userstuff,
  14. #workskin .userstuff.module {
  15.   background-image: conic-gradient(from 170deg, rgba(112, 112, 92, .5) 0, rgba(112, 112, 92, .5) 5.5%, transparent 5.5%), conic-gradient(from 170deg, rgba(112, 112, 92, .5) 0, rgba(112, 112, 92, .5) 5.5%, transparent 5.5%), conic-gradient(from 170deg, rgba(112, 112, 92, .5) 0, rgba(112, 112, 92, .5) 5.5%, transparent 5.5%), radial-gradient(.35em .35em, #d5d5c7 0, #d5d5c7 .3em, transparent .35em), linear-gradient(270deg, transparent 0, transparent 1.8em, #616364 1.8em, #616364 1.925em, transparent 1.925em), linear-gradient(270deg, transparent 0, transparent 1.2em, #222 1.2em, #222 2.6em, transparent 2.6em), radial-gradient(0.6em 0.5em, #222 0, #222 0.35em, transparent 0.375em), radial-gradient(0.6em 0.5em, #616364 0, #616364 0.5em, transparent 0.525em), radial-gradient(0.6em 0.5em, #222 0, #222 0.35em, transparent 0.375em), radial-gradient(0.6em 0.5em, #616364 0, #616364 0.5em, transparent 0.525em);
  16.   background-position: 1.5em 0, 1.5em 45%, 1.5em 90%, 100% 100%, 0 50%, 100% 50%, 100% 0, 100% 0, 100% 100%, 100% 100%;
  17.   background-size: .4em 7.5em, .4em 7.5em, .4em 7.5em, 3.725em 5%, 100% 98%, 3.725em 98%, 3.725em 2%, 3.725em 2%, 3.725em 2%, 3.725em 2%;
  18.   background-repeat: no-repeat;
  19.   padding: 0 2.6em;
  20.   width: auto;
  21. }
  22.  
  23. /* If people are using a site skin w/ custom bg, this ensures summary/notes are the same color as rest of work */
  24. #workskin .group {
  25.   background: #222222;
  26.   color: #cfd5bf;
  27. }
  28.  
  29. /* Padding on bg details makes long words in title more likely to break weirdly on mobile.
  30.    This restores left-right margin space to title. */
  31. #workskin .preface h2.title {
  32.   margin: .429em -1em;
  33. }
  34.  
  35. #workskin a,
  36. #workskin ul.associations li {
  37.   color: #cfd5bf;
  38. }
  39.  
  40. /* For no background at all, delete everything before this comment. See Light Mode section for more. */
  41.  
  42. /* Selectors setting text indents ↓ */
  43. #workskin #chapters div.userstuff p,
  44. #workskin .userstuff.module p {
  45.   text-indent: -1em;
  46.   margin-left: 1em;
  47. }
  48.  
  49. #workskin #chapters div.userstuff .indent,
  50. #workskin .userstuff.module .indent {
  51.   text-indent: 0em;
  52.   margin-left: 1em;
  53. }
  54.  
  55. /* Hides stuff. For readability with workskins turned off */
  56. #workskin .hide {
  57.   display: none;
  58. }
  59.  
  60. /* Makes dialogue tags bold, ensures they’re all-caps */
  61. #workskin .neutral,
  62. #workskin .int, #workskin .intellect,
  63. #workskin .psy, #workskin .psyche,
  64. #workskin .fys, #workskin .physique,
  65. #workskin .mot, #workskin .motorics {
  66.   text-transform: uppercase;
  67.   font-weight: bold;
  68. }
  69.  
  70. /* Selectors setting text color ↓ */
  71. #workskin .you {
  72.   color: #c3d2db;
  73. }
  74.  
  75. #workskin .int,
  76. #workskin .intellect {
  77.   color: #5cc1d7;
  78. }
  79.  
  80. #workskin .psy,
  81. #workskin .psyche {
  82.   color: #7556cf;
  83. }
  84.  
  85. #workskin .fys,
  86. #workskin .physique {
  87.   color: #cb476a;
  88. }
  89.  
  90. #workskin .mot,
  91. #workskin .motorics {
  92.   color: #e3b734;
  93. }
  94.  
  95. #workskin .check {
  96.   color: #9c9686;
  97. }
  98.  
  99. #workskin .task {
  100.   color: #93b885;
  101. }
  102.  
  103. /* For horizontal rules that match the DE aesthetic ↓ */
  104. #workskin hr {
  105.   border: none;
  106.   margin: 2.625em auto 3.0025em auto;
  107. }
  108.  
  109. #workskin hr:before {
  110.   content: "⎯⎯⎯ ◵ ⎯⎯⎯";
  111.   display: block;
  112.   text-align: center;
  113.   font-size: 1.1em;
  114. }
  115.  
  116. /* Formats the "End ▉" block ↓ */
  117. #workskin .disco-end {
  118.   background-color: #8f2710;
  119.   display: block;
  120.   width: 97%;
  121.   box-sizing: border-box;
  122.   margin: auto;
  123.   padding: .1em;
  124. }
  125.  
  126. #workskin .disco-end::after {
  127.   content: 'END \0000a0▉';
  128.   font-family: Dobra, "Dobra Light", Roboto, Arial, sans-serif;
  129.   font-weight: 300;
  130.   font-size: 1.75em;
  131.   padding-left: .75em;
  132. }
  133.  
  134. /* Selectors for question list/dialogue tree formatting ↓ */
  135. #workskin li {
  136.   color: #222222;
  137. }
  138.  
  139. /* Makes numbers different color from text */
  140. #workskin li.dialogue::marker,
  141. #workskin li.dialogue-fin::marker {
  142.   color: #cfd5bf;
  143. }
  144.  
  145. /* Automates hyphens after numbers (1. - ) */
  146. #workskin li.dialogue::before,
  147. #workskin li.dialogue-fin::before,
  148. #workskin span.whitecheck::before,
  149. #workskin span.whitecheck-locked::before,
  150. #workskin span.redcheck::before {
  151.   content: '-\000a0';
  152.   color: inherit;
  153. }
  154.      
  155. #workskin li, /* Tightens spacing between checks/dialogue */
  156. #workskin .dialogue,
  157. #workskin li.dialogue,
  158. #workskin .dialogue-fin,
  159. #workskin li.dialogue-fin {
  160.   margin-top: 0;
  161.   margin-bottom: 0;
  162. }
  163.  
  164. #workskin .dialogue,
  165. #workskin li.dialogue {
  166.   color: #d7431b;
  167.   padding: 0.4em 0.4em 0.4em 0;
  168. }
  169.  
  170. #workskin .dialogue-fin,
  171. #workskin li.dialogue-fin {
  172.   color: #93341a;
  173.   padding: 0.4em 0.4em 0.4em 0;
  174. }
  175.  
  176. #workskin .dialogue-check,
  177. #workskin li.dialogue-check {
  178.   margin-top: 0.5em;
  179.   margin-bottom: -0.5em;    
  180.   position: relative;
  181.   z-index: 0;
  182. }
  183.  
  184. #workskin .whitecheck,
  185. #workskin .whitecheck-locked,
  186. #workskin .redcheck {
  187.   border-top-right-radius: 20px 20px;
  188.   border-top-left-radius: 20px 20px;
  189.   border-bottom-right-radius: 30px 190px; /* Creates asymmetrical corners */
  190.   border-bottom-left-radius: 30px 190px;
  191.   color: #222222;
  192.   margin-left: -1.75em; /* Stretches background color over number */
  193.   padding: 0.5em 0.5em 0.5em 1.75em;
  194.   display: inline-block;
  195.   line-height: 1.5em;
  196.   width: 90%;
  197.   position: relative;
  198.   z-index: -9;
  199.   vertical-align: text-top;
  200.   top: -0.5em;
  201. }
  202.  
  203. #workskin .whitecheck {
  204.   background-color: #cdc5b8;
  205. }
  206.  
  207. #workskin .whitecheck-locked {
  208.   background-color: #cdc5b8;
  209.   color: #7a7468;
  210. }
  211.  
  212. #workskin .redcheck {
  213.   background-color: #d64121;
  214. }
  215.  
  216. /* Hover/mouseover effects for dialogue. Delete everything after this comment to turn the effect off. */
  217. #workskin .whitecheck:hover,
  218. #workskin li.dialogue-check:hover > .whitecheck {
  219.   background-color: #868070;
  220.   color: #fefbf4;
  221. }
  222.      
  223. #workskin .redcheck:hover,
  224. #workskin li.dialogue:hover,
  225. #workskin li.dialogue-fin:hover,
  226. #workskin li.dialogue-check:hover,
  227. #workskin li.dialogue-check:hover > .redcheck {
  228.   color: #fefbf4;
  229. }
  230.  
Advertisement
Add Comment
Please, Sign In to add comment