Advertisement
_Cynder_

Hive-CSS

Apr 7th, 2020
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.12 KB | None | 0 0
  1. /* reset CSS */
  2. html, body, div, span, applet, object, iframe,
  3. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  4. a, abbr, acronym, address, big, cite, code,
  5. del, dfn, em, img, ins, kbd, q, s, samp,
  6. small, strike, strong, sub, sup, tt, var,
  7. b, u, i, center,
  8. dl, dt, dd, ol, ul, li,
  9. fieldset, form, label, legend,
  10. table, caption, tbody, tfoot, thead, tr, th, td,
  11. article, aside, canvas, details, embed,
  12. figure, figcaption, footer, header, hgroup,
  13. menu, nav, output, ruby, section, summary,
  14. time, mark, audio, video {
  15.     margin: 0;
  16.     padding: 0;
  17.     border: 0;
  18.     font-size: 100%;
  19.     font: inherit;
  20.     vertical-align: baseline;
  21.     -moz-box-sizing:border-box;
  22.     box-sizing:border-box;
  23. }
  24. /* HTML5 display-role reset for older browsers */
  25. article, aside, details, figcaption, figure,
  26. footer, header, hgroup, menu, nav, section {
  27.     display: block;
  28. }
  29. body {
  30.     line-height: 1;
  31. }
  32. ol, ul {
  33.     list-style: none;
  34. }
  35. blockquote, q {
  36.     quotes: none;
  37. }
  38. blockquote:before, blockquote:after,
  39. q:before, q:after {
  40.     content: '';
  41.     content: none;
  42. }
  43. table {
  44.     border-collapse: collapse;
  45.     border-spacing: 0;
  46. }
  47.  
  48.  
  49.  
  50.  
  51. /*=====================================================================================
  52. BASE
  53. =======================================================================================*/
  54. html,body
  55. {
  56.     width:100%;
  57.     height:100%;
  58. }
  59. body
  60. {
  61.     -webkit-touch-callout: none;
  62.     -webkit-user-select: none;
  63.     -khtml-user-select: none;
  64.     -moz-user-select: -moz-none;
  65.     -moz-user-select: none;
  66.     -ms-user-select: none;
  67.     user-select: none;
  68.     color:#ccc;
  69.     text-shadow:1px 1px 0px #000;
  70.     background:#000;
  71.     font-family:Tahoma,Arial,sans-serif;
  72.     font-size:11px;
  73. }
  74.  
  75. b{font-weight:bold;}
  76. i{font-style:italic;}
  77. u{text-decoration:underline;}
  78. small{font-size:80%;}
  79.  
  80. .outFrame #game
  81. {
  82.     position:absolute;
  83.     left:0px;top:26px;right:0px;bottom:102px;
  84.     display:block;
  85.     background:#000;
  86. }
  87. .inFrame #game
  88. {
  89.     position:absolute;
  90.     left:0px;top:0px;right:0px;bottom:0px;
  91.     display:none;
  92. }
  93.  
  94. #player,#main
  95. {
  96.     position:absolute;
  97.     width:100%;
  98.     height:100%;
  99. }
  100.  
  101. .outFrame #code
  102. {
  103.     position:absolute;
  104.     left:0px;top:26px;right:0px;bottom:102px;
  105.     display:block;
  106.     background:#000;
  107. }
  108. #editor
  109. {
  110.     position:absolute;
  111.     width:100%;
  112.     height:100%;
  113.     display:none;
  114. }
  115. .withCode #editor
  116. {
  117.     display:block;
  118. }
  119.  
  120. .editor #game
  121. {
  122.     overflow-x:hidden;
  123.     overflow-y:scroll;
  124. }
  125. .editor #codeWrap
  126. {
  127.     width:100%;
  128.     height:100%;
  129.     padding:8px;
  130. }
  131. .editor #code
  132. {
  133.     width:100%;
  134.     height:100%;
  135.     padding:16px;
  136.     margin:0px;
  137.     outline:none;
  138.     box-sizing:border-box;
  139. }
  140.  
  141.  
  142. #topBar,#ad
  143. {
  144.     color:#999;
  145.     font-size:11px;
  146.     background:#222;
  147. }
  148.  
  149. #topBar
  150. {
  151.     position:absolute;
  152.     left:0px;right:0px;top:0px;height:26px;
  153.     background:url(img/darkNoiseTopBar.jpg) repeat-x bottom,url(img/darkNoise.jpg);
  154. }
  155. #topBar>div
  156. {
  157.     display:inline-block;
  158.     float:left;
  159.     border-right:1px solid #000;
  160.     box-shadow:0px 0px 3px 1px rgba(255,255,255,0.2) inset;
  161.     padding:5px 8px 7px 8px;
  162. }
  163. #topBar a
  164. {color:#ccc;}
  165. #topBar a:hover
  166. {color:#fff;}
  167. #topBar a.blueLink
  168. {color:#ffffff;}
  169. #topBar a.blueLink:hover
  170. {color:#ffffff;text-shadow:0px 0px 3px #ffffff;}
  171. #topBar>#links
  172. {
  173.     display:block;
  174.     position:absolute;
  175.     right:0px;
  176.     top:0px;
  177.     z-index:100000000000;
  178.     float:none;
  179. }
  180.  
  181. #ad
  182. {
  183.     position:absolute;
  184.     left:0px;right:0px;bottom:0px;height:102px;
  185.     background:linear-gradient(to right,rgba(0,0,0,0) 15%,rgba(0,0,0,0.75)),url(img/darkNoiseRightBar.jpg) repeat-y left,url(img/darkNoise.jpg);
  186. }
  187.  
  188.  
  189.  
  190. .outFrame #game
  191. {
  192.     right:13%;
  193.     bottom:0px;
  194. }
  195. .outFrame.withCode #game
  196. {
  197.     left:30%;
  198. }
  199. .outFrame #code
  200. {
  201.     left:0px;
  202.     width:30%;
  203.     bottom:0px;
  204. }
  205. #ad
  206. {
  207.     left:auto;
  208.     right:0px;
  209.     top:26px;
  210.     bottom:0px;
  211.     width:13%;
  212.     height:auto;
  213. }
  214.  
  215. #fpsCounter
  216. {
  217.     background:#333;
  218.     color:#fff;
  219.     position:absolute;
  220.     left:0px;
  221.     bottom:0px;
  222.     padding:3px;
  223.     z-index:10000001;
  224.     opacity:0.5;
  225.     pointer-events:none;
  226. }
  227. #fpsGraph
  228. {
  229.     background:#333;
  230.     color:#fff;
  231.     position:absolute;
  232.     left:0px;
  233.     bottom:0px;
  234.     padding:3px;
  235.     width:128px;
  236.     height:64px;
  237.     z-index:10000000;
  238.     opacity:0.5;
  239.     pointer-events:none;
  240. }
  241.  
  242. #wrap
  243. {
  244.     position:absolute;left:0px;right:0px;top:0px;bottom:0px;
  245.     overflow:hidden;
  246. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement