Advertisement
Guest User

Stars Without Number CSS

a guest
Apr 24th, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 8.40 KB | None | 0 0
  1.  
  2.  
  3. /* CSS Reset */{}
  4. .charsheet .sheet-wrapper div,
  5. .charsheet .sheet-wrapper span,
  6. .charsheet .sheet-wrapper label,
  7. .charsheet .sheet-wrapper h1,
  8. .charsheet .sheet-wrapper h2,
  9. .charsheet .sheet-wrapper h3,
  10. .charsheet .sheet-wrapper h4,
  11. .charsheet .sheet-wrapper h5,
  12. .charsheet .sheet-wrapper h6,
  13. .charsheet .sheet-wrapper p,
  14. .charsheet .sheet-wrapper table,
  15. .charsheet .sheet-wrapper caption,
  16. .charsheet .sheet-wrapper tbody,
  17. .charsheet .sheet-wrapper tfoot,
  18. .charsheet .sheet-wrapper thead,
  19. .charsheet .sheet-wrapper tr,
  20. .charsheet .sheet-wrapper th,
  21. .charsheet .sheet-wrapper td {
  22.     margin: 0;
  23.     padding: 0;
  24.     border: 0;
  25.     font-size: 100%;
  26.     font: inherit;
  27.     color: #404040;
  28.     vertical-align: baseline;
  29.     box-sizing: border-box;
  30.     -moz-box-sizing: border-box;
  31.     -webkit-box-sizing: border-box;
  32.     -webkit-box-shadow: inset 0 0px 0px rgba(0,0,0,0);
  33.     -moz-box-shadow: inset 0 0px 0px rgba(0,0,0,0);
  34.     box-shadow: inset 0 0px 0px rgba(0,0,0,0);
  35.     -webkit-transition: border linear .2s,box-shadow linear .2s;
  36.     -moz-transition: border linear .2s,box-shadow linear .2s;
  37.     -ms-transition: border linear .2s,box-shadow linear .2s;
  38.     -o-transition: border linear .2s,box-shadow linear .2s;
  39.     transition: border linear .2s,box-shadow linear .2s;
  40.     -webkit-border-radius: 0px;
  41.     -moz-border-radius: 0px;
  42.     border-radius: 0px;
  43. }
  44.  
  45. .charsheet {
  46.     background-color: white;
  47. }
  48.  
  49. .sheet-red {
  50.     color: red !important;
  51.     }
  52.  
  53. .charsheet .sheet-wrapper h1, .charsheet .sheet-wrapper h3 {
  54.     margin: 0 auto;
  55.     border: 2px solid #000000;
  56.     background-color: #848482;
  57.     text-align: center;
  58.     color: #ffffff;
  59.     font-size: 15pt;
  60. }
  61.  
  62. .charsheet .sheet-wrapper h3 {
  63.     margin-top: 10px;
  64.     margin-bottom: 10px;
  65.     text-align: left;
  66.     font-size: 15px;
  67. }
  68.  
  69. /* Rows */
  70. .charsheet .sheet-wrapper .sheet-skills .sheet-row,
  71. .charsheet .sheet-wrapper div.sheet-gear-cyberware,
  72. .charsheet .sheet-wrapper .sheet-stats div,
  73. .charsheet .sheet-wrapper .sheet-gear div {
  74.     min-height: 30px;
  75. }
  76.  
  77. .charsheet .sheet-wrapper .sheet-skills .sheet-row:nth-child(even) {
  78.     background-color: #d3d3d3;
  79. }
  80.  
  81. /* Cols */
  82. .sheet-col-whitespace {
  83.     width: 30px;
  84. }
  85. .charsheet .sheet-wrapper .sheet-stats div.sheet-stats-label {
  86.     width: 90px;
  87. }
  88. .charsheet .sheet-wrapper .sheet-stats div.sheet-attribute-label {
  89.     width: 50px;
  90. }
  91. .charsheet .sheet-wrapper .sheet-stats div.sheet-attribute-ext-label {
  92.     width: 100px;
  93. }
  94. .charsheet .sheet-wrapper .sheet-saves .sheet-col {
  95.     width: 150px;
  96. }
  97. .charsheet .sheet-wrapper .sheet-gear div.sheet-gear-name {
  98.     width: 180px;
  99. }
  100. .charsheet .sheet-wrapper .sheet-gear div.sheet-gear-readied {
  101.     width: 55px;
  102.     text-align: center;
  103. }
  104. .charsheet .sheet-wrapper .sheet-gear div.sheet-gear-encumbrance {
  105.     width: 100px;
  106. }
  107. .charsheet .sheet-wrapper div.sheet-gear-weapon {
  108.     width: 252px;
  109. }
  110. .charsheet .sheet-wrapper div.sheet-gear-weapon-attribute {
  111.     width: 100px;
  112. }
  113. .charsheet .sheet-wrapper div.sheet-gear-weapon-damage {
  114.     width: 100px;
  115. }
  116. .charsheet .sheet-wrapper div.sheet-gear-weapon-range {
  117.     width: 100px;
  118. }
  119. .charsheet .sheet-wrapper div.sheet-gear-weapon-ammo {
  120.     width: 100px;
  121. }
  122. .charsheet .sheet-wrapper div.sheet-psionics-level {
  123.     width: 300px;
  124. }
  125. .charsheet .sheet-wrapper div.sheet-psionics-pp {
  126.     width: 380px;
  127. }
  128. .charsheet .sheet-wrapper div.sheet-psionics-pp .sheet-col {
  129.     width: 50px;
  130. }
  131. .charsheet .sheet-wrapper div.sheet-misc-goal,
  132. .charsheet .sheet-wrapper div.sheet-misc-goal-xp {
  133.     width: 380px;
  134. }
  135.  
  136. /* Labels */
  137. .charsheet .sheet-wrapper label {
  138.     font-weight: bold;
  139. }
  140. .charsheet .sheet-wrapper .sheet-skills label {
  141.     display: inline-block;
  142.     width: 175px;
  143. }
  144. .charsheet .sheet-wrapper .sheet-skills label.sheet-skill-points-unspent {
  145.     background: #000000;
  146.     color: #ffffff;
  147. }
  148.  
  149.  
  150.  
  151. /* Input fields */
  152. .charsheet .sheet-wrapper textarea {
  153.     resize: none;
  154. }
  155. .charsheet .sheet-wrapper .sheet-stats input {
  156.     width: 243px;
  157. }
  158. .charsheet .sheet-wrapper .sheet-stats input.sheet-stats-half {
  159.     width: 75px;
  160. }
  161. .charsheet .sheet-wrapper .sheet-skills input {
  162.     width: 50px;
  163. }
  164. input.sheet-skills-custom {
  165.     width: 75px;
  166. }
  167. .charsheet .sheet-wrapper input.sheet-gear-credits {
  168.     width: 100px;
  169. }
  170. .charsheet .sheet-wrapper .sheet-gear-cyberware input {
  171.     width: 340px;
  172. }
  173. .charsheet .sheet-wrapper .sheet-gear-other textarea {
  174.     width: 330px;
  175.     min-height: 164px;
  176. }
  177. .charsheet .sheet-wrapper .sheet-gear-weapon input {
  178.     width: 252px;
  179. }
  180. .charsheet .sheet-wrapper .sheet-gear-weapon-attribute input,
  181. .charsheet .sheet-wrapper .sheet-gear-weapon-damage input,
  182. .charsheet .sheet-wrapper .sheet-gear-weapon-range input,
  183. .charsheet .sheet-wrapper .sheet-gear-weapon-ammo input
  184. {
  185.     width: 100px;
  186. }
  187. .charsheet .sheet-wrapper .sheet-psionics-discipline input {
  188.     width: 340px;
  189. }
  190. .charsheet .sheet-wrapper .sheet-psionics-discipline-level input {
  191.     width: 50px;
  192. }
  193. .charsheet .sheet-wrapper .sheet-psionics-power input,
  194. .charsheet .sheet-wrapper .sheet-psionics-mastered input {
  195.     width: 340px;
  196. }
  197. .charsheet .sheet-wrapper .sheet-psionics-pp input {
  198.     width: 50px;
  199. }
  200. .charsheet .sheet-wrapper .sheet-misc-goal input {
  201.     width: 400px;
  202. }
  203. .charsheet .sheet-wrapper .sheet-misc-goal-xp input
  204. {
  205.     width: 380px;
  206. }
  207.  
  208. /* [:|ยท] */
  209.  
  210. .sheet-neg-ten {
  211.     margin-bottom: 0px;
  212.     }
  213.    
  214. .sheet-space {
  215.     margin-right: 30px;
  216.     }
  217.    
  218. .sheet-extra-space {
  219.     margin-right: 60px;
  220.     }
  221.    
  222. .sheet-zebra {
  223.     background-color: #ececec;
  224.     margin-bottom: 0px;
  225.     padding-bottom: 10px;
  226.     }
  227.    
  228. .sheet-zebra-special {
  229.     background-color: #ececec;
  230.     margin-bottom: 0px;
  231.     padding-bottom: 0px;
  232.     }
  233.    
  234. .sheet-fake-h3 {
  235.     margin: 20px auto !important;
  236.     border: 2px solid #000000 !important;
  237.     background-color: #848482;
  238.     text-align: center;
  239.     color: #ffffff;
  240.     font-size: 15pt;
  241. }
  242.  
  243. .sheet-fake-h1 {
  244.     margin: 20px auto !important;
  245.     text-align: center;
  246.     color: #ffffff;
  247.     font-size: 15pt;
  248. }
  249.  
  250. .sheet-seventy-five {
  251.     width: 145px !important;
  252.     margin: 5px;
  253. }
  254.    
  255. .sheet-save-block {
  256.     text-align: center !important;
  257.     width: 19%;
  258. }
  259.    
  260. .sheet-middle {
  261.     text-align: center;
  262. }
  263.  
  264. .sheet-seventy-five-nomargin {
  265.     width: 145px !important;
  266. }
  267.    
  268. .sheet-dark-bg {
  269.     background-color: #ececec;
  270.     padding: 15px;
  271. }
  272.  
  273.    
  274. /* End [:|ยท] */
  275.  
  276. /* tooltips */
  277.  
  278. .sheet-tip-wrapper {
  279.   cursor: help;
  280.   -webkit-transform: translateZ(0); /* webkit flicker fix */
  281.   -webkit-font-smoothing: antialiased; /* webkit text rendering fix */
  282. }
  283.  
  284. .sheet-tip-wrapper .sheet-tip-tooltip {
  285.   background: #333;
  286.   min-width: 250px;
  287.   bottom: 100%;
  288.   color: #eee;
  289.   display: block;
  290.   left: -25px;
  291.   margin-bottom: 15px;
  292.   opacity: 0;
  293.   padding: 20px;
  294.   pointer-events: none;
  295.   position: absolute;
  296.   text-align: center;
  297.   font-weight: 400;
  298.   width: 100%;
  299.   -webkit-transform: translateY(10px);
  300.      -moz-transform: translateY(10px);
  301.       -ms-transform: translateY(10px);
  302.        -o-transform: translateY(10px);
  303.           transform: translateY(10px);
  304.   -webkit-transition: all .25s ease-out;
  305.      -moz-transition: all .25s ease-out;
  306.       -ms-transition: all .25s ease-out;
  307.        -o-transition: all .25s ease-out;
  308.           transition: all .25s ease-out;
  309.   -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
  310.      -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
  311.       -ms-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
  312.        -o-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
  313.           box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
  314. }
  315.  
  316. .sheet-narrow-tip {
  317.     min-width: 150px !important;
  318.     }
  319.  
  320. /* This bridges the gap so you can mouse into the tooltip without it disappearing
  321. .sheet-tip-wrapper .sheet-tip-tooltip:before {
  322.   bottom: -20px;
  323.   content: " ";
  324.   display: block;
  325.   height: 20px;
  326.   left: 0;
  327.   position: absolute;
  328.   width: 100%;
  329. }  
  330.  */
  331. .sheet-tip-wrapper:hover .sheet-tip-tooltip {
  332.   opacity: 1;
  333.   pointer-events: auto;
  334.   -webkit-transform: translateY(0px);
  335.      -moz-transform: translateY(0px);
  336.       -ms-transform: translateY(0px);
  337.        -o-transform: translateY(0px);
  338.           transform: translateY(0px);
  339. }
  340.  
  341. /* IE can just show/hide with no transition */
  342. .sheet-tip-lte8 .sheet-tip-wrapper .sheet-tip-tooltip {
  343.   display: none;
  344. }
  345.  
  346. .sheet-tip-lte8 .sheet-tip-wrapper:hover .sheet-tip-tooltip {
  347.   display: block;
  348. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement