pop.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. body {-webkit-tap-highlight-color: transparent; margin: 0; padding: 0; background: #333; color: #fff; }
  2. #SF_Game { display: block; margin: 0; background: #036; /* background: url(assets/bg.png) 0 0 no-repeat */; width: 320px; height: 480px; color: #fff; position: relative; }
  3. canvas { width: 100%; height: 100%; color: #fff; cursor: crosshair; z-index: -1; background: transparent; }
  4. #textLayer { position: absolute; bottom: 0px; left: 0; width: 100%; background: rgba(0,0,0,0.1); z-index: 1000; }
  5. #textLayer p { text-align: center; padding: 5px 0; margin: 0; font-family: monospace; }
  6. #textLayer a { color: #fff; text-decoration: none; font-weight: bold; }
  7. #textLayer a:hover { color: #f0f; }
  8. #inputBox {height: 100%;position: absolute; bottom: 0; left: 0; width:100%; color: #036; z-index: 1001; display: none; text-align: center; /* background:#003466; */}
  9. #inputBox a{color:#fff;position:absolute;text-align:center;text-decoration:none;}
  10. #playAgain, #shareGame{
  11. bottom: 80px;
  12. background: #002448;
  13. padding: 2% 4%;
  14. border-radius: 5px;
  15. }
  16. #playAgain{
  17. left: 10%;
  18. }
  19. #shareGame{
  20. right: 10%;
  21. }
  22. #moreGame{
  23. padding: 10px 0;
  24. color:#fff;display:block;width:100%;
  25. bottom: 30px;
  26. }
  27. @media only screen and (min-width: 480px) {
  28. #SF_Game {
  29. /* margin: 0 auto;-webkit-transform: scale(1.5,1.5); */
  30. /* margin-top:120px; */
  31. }
  32. }