SHARE
TWEET

Reclaim The Wild Roll20 sheet by RichardT (CSS Styling)

a guest Oct 13th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .sheet-background {
  2.     background-color: white;
  3. }
  4. .sheet-character-wrap {
  5.     margin: auto;
  6.     width: 95%;
  7. }
  8. .sheet-sectionspacer {
  9.     margin:20px 0px;
  10. }
  11. .sheet-inline {
  12.     display: inline-block;
  13. }
  14. .sheet-page-menu {
  15.     margin:auto;
  16.     text-align:center;
  17. }
  18. /*------------------ Flex CSS--------------------*/
  19. .sheet-flexrow {
  20.     width: 100%;
  21.     display: flex;
  22.     flex-grow: 1;
  23.     flex-direction: row;
  24.     justify-content: space-between;
  25. }
  26. .sheet-flexcol {
  27.     display: inline-flex;
  28.     flex-direction: column;
  29.     flex-grow: 1;
  30.     margin: 10px;
  31.     align-items: flex-start;
  32. }
  33. .sheet-fill-line {
  34.     width: 10%;
  35.     flex-grow: 1;
  36. }
  37. .sheet-page-content {
  38.     display: flex;
  39.     flex-direction: column;
  40.     justify-content: space-between;
  41. }
  42. .sheet-col50 {
  43.     width: calc(50% - 25px);
  44. }
  45. /*----------------- Page Functions----------------------*/
  46. div.sheet-page-content { display:flex; }/*-------If using pages, set display: none-------*/
  47. input.sheet-page1:checked ~ div.sheet-page1,
  48. input.sheet-page2:checked ~ div.sheet-page2,
  49. input.sheet-page3:checked ~ div.sheet-page3 { display: flex; }
  50.  
  51. input.sheet-page {
  52.     width: 20px;
  53.     height: 20px;
  54.     position: relative;
  55.     top: 5px;
  56.     left: 6px;
  57.     margin: -1.5px;
  58.     cursor: pointer;
  59.     z-index: 1;
  60.     opacity: 1;
  61. }
  62.  
  63. input.sheet-page + span::before {
  64.     content: attr(title);
  65.     border: solid 1px #a8a8a8;
  66.     border-bottom-color: black;
  67.     text-align: center;
  68.     display: inline-block;
  69.     background: #fff;
  70.     background: linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);
  71.     width: 150px;
  72.     height: 20px;
  73.     font-size: 18px;
  74.     position: relative;
  75.     top: 12px;
  76.  
  77. }
  78.  
  79.  
  80. /*----------------- Input & Span Styling----------------*/
  81. input.sheet-fill-line {
  82.     border: 0;
  83.     border-bottom: 1px solid black;
  84.     height:1.4em;
  85. }
  86. .sheet-input-label {
  87.     vertical-align: text-bottom;
  88.     height:1em;
  89.    
  90. }
  91.  
  92. /*----------------- Button Styling-------------------*/
  93. .sheet-button-text {
  94.     float:right;
  95. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top