Advertisement
ezNNP

custom.css

Aug 13th, 2020
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.21 KB | None | 0 0
  1. .gridBoxContainer {
  2.     max-width: 600px;
  3. }
  4.  
  5. @media (min-width: 1000px) {
  6.     #target-legend {
  7.         min-height: 250px;
  8.         margin-top: 15px;
  9.     }
  10. }
  11.  
  12. input:invalid {border-color: red;}
  13.  
  14. .hidden {display: none !important;}
  15.  
  16. .gridBox {
  17.     width: 100%;
  18.     padding-top: 100%;
  19.     position: relative;
  20.     margin:15px 0;
  21. }
  22.  
  23. .gridBox>div {
  24.     position: absolute;
  25.     top: 0;
  26.     left: 0;
  27.     bottom: 0;
  28.     right: 0;
  29. }
  30.  
  31. #world {
  32.     height: 100%;
  33.     width: 100%;
  34.     border-collapse: separate;
  35.     border-spacing: 1px 1px;
  36. }
  37.  
  38. #world td.node {
  39.     width:6px;
  40.     height:6px;
  41. }
  42.  
  43. #world td.cell {
  44.     width:auto;
  45.     height:auto;
  46.     background-size: cover;
  47.     background-position: 50% 50%;
  48. }
  49.  
  50. #world td.horizontal {
  51.     width:auto;
  52.     height:6px;
  53. }
  54.  
  55. #world td.vertical {
  56.     width:6px;
  57.     height:auto;
  58. }
  59.  
  60. #world td.border {
  61.     border: 1px dashed #d1d1d1;
  62.     background-color: #f7f9f9;
  63. }
  64.  
  65. #world td.rock {
  66.     border: 1px outset #b1b1b1;
  67.     background-color: #c1c1c1;
  68. }
  69.  
  70. #world td>span{
  71.     position: absolute;
  72.     font-weight: 900;
  73.     background-color: rgba(0,0,0,0.3);
  74.     border-radius: 10px;
  75.     padding: 0 3px;
  76.     font-size: 10px;
  77.     text-shadow: black 0px 0px 2px;
  78. }
  79.  
  80. #log {
  81.     height: 300px;
  82. }
  83.  
  84. .apple-tree {
  85.     background-image: url(media/apple-tree.png);
  86.     color:#9FEBFF;
  87. }
  88. .yellow-cherry-tree {
  89.     background-image: url(media/yellow-cherry-tree.png);
  90.     color:#EBFF9F;
  91. }
  92. .red-cherry-tree {
  93.     background-image: url(media/red-cherry-tree.png);
  94.     color:#FFB39F;
  95. }
  96. .stump {
  97.     background-image: url(media/stump.png);
  98. }
  99. .boy {
  100.     transition: .2s;
  101. }
  102.  
  103. .boy.walking {
  104.     background-image: url(media/boy-walking.png);
  105. }
  106. .boy.waiting {
  107.     background-image: url(media/boy-waiting.png);
  108. }
  109. .boy.recovering {
  110.     background-image: url(media/boy-recovering.png);
  111. }
  112. .boy.hitting {
  113.     background-image: url(media/boy-hitting.png);
  114. }
  115. .deadBoy {
  116.     background-image: url(media/boy-dead.png);
  117. }
  118.  
  119. .red-pulse {
  120.     animation: pulse-animation 0.2s;
  121. }
  122.  
  123. @keyframes pulse-animation {
  124.     0% {
  125.         box-shadow: 0 0 0 0px rgba(255, 0, 0, 0.2);
  126.     }
  127.     100% {
  128.         box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  129.     }
  130. }
  131.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement