You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

359 lines
7.3 KiB

  1. .sheet-main {
  2. display: grid;
  3. width: 800px;
  4. height: 900px;
  5. grid-gap: 4px;
  6. grid-template-columns: 1fr 1fr;
  7. grid-template-rows: 130px 1fr 1fr 1fr;
  8. grid-template-areas:"header header"
  9. "attributes saves"
  10. "lactions ractions"
  11. "equipment loot"
  12. "spells spells";
  13. }
  14. .sheet-npc {
  15. display: grid;
  16. grid-gap: 4px;
  17. grid-template-columns: 1fr 1fr;
  18. }
  19. .sheet-section {
  20. padding: 5px;
  21. border-style: solid;
  22. }
  23. .sheet-inner-section {
  24. padding: 5px;
  25. }
  26. /** SECTION LISTING **/
  27. .sheet-header {
  28. grid-area: header;
  29. /*background-color: olive;*/
  30. }
  31. .sheet-attributes {
  32. grid-area: attributes;
  33. /*background-color: orange;*/
  34. }
  35. .sheet-saves {
  36. grid-area: saves;
  37. /*background-color: brown;*/
  38. }
  39. .sheet-lactions {
  40. grid-area: lactions;
  41. /*background-color: coral;*/
  42. }
  43. .sheet-ractions {
  44. grid-area: ractions;
  45. /*background-color: green;*/
  46. }
  47. .sheet-spells {
  48. grid-area: spells;
  49. /*grid-column: 1 / span 2;*/
  50. }
  51. /** INNER GRIDS **/
  52. div.sheet-grid-container-2col {
  53. display: grid;
  54. grid-template-columns: 1fr 1fr;
  55. }
  56. div.sheet-header-grid {
  57. display: grid;
  58. grid-template-columns: 1fr 1fr;
  59. grid-template-rows: 30px 1fr;
  60. row-gap: 5px;
  61. column-gap: 5px;
  62. }
  63. div.sheet-header-field-grid {
  64. padding: 5px 15px;
  65. display: grid;
  66. grid-template-columns: 80px 1fr;
  67. }
  68. div.sheet-stat-grid {
  69. display: grid;
  70. grid-template-columns: 50px 50px 50px 50px;
  71. row-gap: 5px;
  72. }
  73. div.sheet-stat2-grid {
  74. display: grid;
  75. grid-template-columns: 1fr 1fr;
  76. row-gap: 5px;
  77. column-gap: 5px;
  78. }
  79. div.sheet-movement-grid {
  80. display: grid;
  81. grid-template-columns: 1fr 1fr;
  82. row-gap: 5px;
  83. }
  84. div.sheet-saves-grid {
  85. display: grid;
  86. grid-template-columns: 100px auto auto auto;
  87. row-gap: 5px;
  88. column-gap: 10px;
  89. }
  90. div.sheet-attacks-grid {
  91. display: grid;
  92. grid-template-columns: 1fr 50px 50px 50px;
  93. row-gap: 5px;
  94. column-gap: 10px;
  95. margin-bottom: 5px;
  96. }
  97. div.sheet-proficiencies-grid {
  98. display: grid;
  99. grid-template-columns: 1fr 50px 50px;
  100. row-gap: 5px;
  101. column-gap: 10px;
  102. margin-bottom: 5px;
  103. }
  104. div.sheet-equipment-grid {
  105. display: grid;
  106. grid-template-columns: 1fr 75px;
  107. row-gap: 5px;
  108. column-gap: 10px;
  109. margin-bottom: 5px;
  110. }
  111. div.sheet-currency-grid {
  112. display: grid;
  113. grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  114. row-gap: 5px;
  115. column-gap: 10px;
  116. }
  117. div.sheet-spells-grid {
  118. display: grid;
  119. grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  120. row-gap: 5px;
  121. column-gap: 10px;
  122. margin-bottom: 5px;
  123. }
  124. /** GENERAL ELEMENT STYLE **/
  125. input.sheet-line-input {
  126. width: 214px!important;
  127. border: 0;
  128. outline: 0;
  129. border-bottom: 1px solid black;
  130. background: rgba(0, 0, 0, 0.0);
  131. border-radius: 0px;
  132. }
  133. input.sheet-name-input {
  134. width: 100%;
  135. }
  136. div.sheet-spells-grid span {
  137. text-align: center;
  138. }
  139. div.sheet-spells.grid input {
  140. padding-left: 50px;
  141. margin-left: 50px;
  142. }
  143. .sheet-stat-input {
  144. width: 100%;
  145. text-align: center;
  146. background: rgba(255, 255, 255, 0.25);
  147. }
  148. .sheet-stat-span {
  149. text-align: center;
  150. text-transform: uppercase;
  151. font-weight: bold;
  152. font-size: 16px;
  153. font-family: "Candal";
  154. }
  155. .sheet-initiative-span {
  156. font-weight: bold;
  157. font-size: 18px;
  158. grid-column: 1 / span 2;
  159. }
  160. input.sheet-currency-input {
  161. font-size: 11px;
  162. width: 60px!important;
  163. }
  164. input.sheet-spells-input {
  165. width: 60px!important;
  166. margin-left: 22px;
  167. }
  168. .sheet-text-center {
  169. text-align: center;
  170. }
  171. .sheet-title-line {
  172. font-weight: bold;
  173. font-size: 18px;
  174. }
  175. .sheet-textarea {
  176. outline: 0;
  177. border-radius: 0;
  178. box-sizing: content-box;
  179. background-color: rgba(255, 255, 255, 0.3);
  180. overflow-y: hidden;
  181. padding: 10px;
  182. max-width: 90%;
  183. resize: none;
  184. }
  185. .sheet-roll-button {
  186. font-size: 1.6em;
  187. border-radius: 0.25em;
  188. }
  189. .sheet-header-field-grid select {
  190. margin: 5px 0px;
  191. }
  192. .sheet-header-field-grid span {
  193. margin: 5px 0px;
  194. }
  195. .sheet-hidden {
  196. display: none;
  197. }
  198. .sheet-margin-top {
  199. margin-top: 35px;
  200. }
  201. .sheet-grid-span-1-2 {
  202. grid-column: 1 / span 2;
  203. }
  204. .sheet-grid-span-4-2 {
  205. grid-column: 4 / span 2;
  206. }
  207. input.sheet-input-big {
  208. width: 55px!important;
  209. }
  210. /** INDIVIDUAL ELEMENT STYLES **/
  211. .sheet-system-title {
  212. margin-bottom: 10px;
  213. }
  214. .sheet-stat-title {
  215. text-align: center;
  216. grid-column: 1 / span 4;
  217. }
  218. .sheet-movement-title {
  219. text-align: center;
  220. grid-column: 1 / span 2;
  221. }
  222. .sheet-saves-title {
  223. text-align: center;
  224. grid-column: 1 / span 4;
  225. }
  226. .sheet-attack-title {
  227. text-align: center;
  228. grid-column: 1 / span 4;
  229. margin-top: 10px;
  230. }
  231. .sheet-proficiency-title {
  232. text-align: center;
  233. grid-column: 1 / span 3;
  234. margin-top: 25px;
  235. }
  236. .sheet-equipment-title {
  237. text-align: center;
  238. grid-column: 1 / span 2;
  239. }
  240. .sheet-currency-title {
  241. text-align: center;
  242. grid-column: 1 / span 5;
  243. margin-top: 25px;
  244. }
  245. .sheet-spells-title {
  246. text-align: center;
  247. grid-column: 1 / span 7;
  248. }
  249. .sheet-exp-title {
  250. text-align: center;
  251. grid-column: 1 / span 5;
  252. }
  253. .sheet-hp-span {
  254. font-size: 28px;
  255. text-align: center;
  256. text-transform: uppercase;
  257. font-weight: bold;
  258. vertical-align: bottom;
  259. grid-column: 1 / span 2;
  260. }
  261. .sheet-hp-input {
  262. width: 75%;
  263. float: right;
  264. }
  265. .sheet-ac-wrapper {
  266. grid-column: 1 / span 2;
  267. text-align: center;
  268. }
  269. .sheet-hp-mod-input {
  270. width: 75%;
  271. float: left;
  272. }
  273. .sheet-ac-input {
  274. width: 50%;
  275. }
  276. .sheet-exp-current {
  277. grid-column: 1 / span 2;
  278. }
  279. .sheet-exp-needed {
  280. grid-column: 3 / span 2;
  281. }
  282. .sheet-exp-current > input, .sheet-exp-needed > input {
  283. width: 150px;
  284. }
  285. .sheet-lootbox {
  286. grid-column: 1 / span 5;
  287. }
  288. div.sheet-npc-rsection, div.sheet-npc-lsection {
  289. padding: 5px;
  290. border: 4px solid black;
  291. border-radius: 4px;
  292. margin-left: 10px;
  293. }
  294. .sheet-spells-grid-daily > input {
  295. text-align: center;
  296. }
  297. /** Roll Templates **/
  298. .sheet-rolltemplate-acks {}
  299. .sheet-rolltemplate-acks div.sheet-acks-container {
  300. border: 2px solid black;
  301. border-radius: 3px;
  302. margin-bottom: 5px;
  303. }
  304. .sheet-rolltemplate-acks div.sheet-acks-header {
  305. background-color: rgba(112, 32, 130, 1);
  306. border-bottom: 1px solid black;
  307. padding: 5px;
  308. line-height: 1.6em;
  309. font-size: 1.2em;
  310. font-weight: bold;
  311. color: #FFF;
  312. text-align: center;
  313. }
  314. .sheet-rolltemplate-acks div.sheet-acks-subheader {
  315. font-weight: bold;
  316. text-align: center;
  317. color: rgb(112, 32, 130);
  318. font-size: 1.1em;
  319. }
  320. .sheet-rolltemplate-acks div.sheet-acks-row {
  321. /*border-bottom: 1px solid black;*/
  322. padding: 10px;
  323. }
  324. .sheet-rolltemplate-acks div.sheet-acks-row .inlinerollresult {
  325. float: right;
  326. }
  327. .sheet-rolltemplate-acks div.sheet-acks-row .sheet-acks-target-value {
  328. float: right;
  329. border: none;
  330. background-color: transparent;
  331. color: green;
  332. }
  333. .sheet-rolltemplate-acks div.sheet-acks-row:nth-child(odd) {
  334. background-color: rgba(217, 217, 214, 1);
  335. }
  336. .sheet-rolltemplate-acks div.sheet-acks-row:nth-child(even) {
  337. background-color: rgba(233, 233, 233, 1);
  338. }
  339. .sheet-rolltemplate-acks div.sheet-ask-desc {
  340. font-size: 0.7em;
  341. color: rgb(115, 115, 115);
  342. }
  343. div.sheet-main { display: grid; }
  344. div.sheet-npc { display: none; }
  345. /*input.sheet-block-switch { display: none; };*/
  346. input.sheet-block-switch:checked ~ div.sheet-main { display: none; }
  347. input.sheet-block-switch:checked ~ div.sheet-npc { display: grid; }