tune common style
This commit is contained in:
		
							
								
								
									
										2
									
								
								app.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								app.js
									
									
									
									
									
								
							| @ -758,7 +758,7 @@ let playerActions = { | |||||||
|  |  | ||||||
|     hardDrop: function() { |     hardDrop: function() { | ||||||
|         scheduler.clearTimeout(lockDown) |         scheduler.clearTimeout(lockDown) | ||||||
|         //matrix.table.classList.add("hard-dropped-table-animation") |         matrix.table.classList.add("hard-dropped-table-animation") | ||||||
|         while (matrix.piece.move(TRANSLATION.DOWN, ROTATION.NONE, "hard-drop-animation")) stats.score +=2 |         while (matrix.piece.move(TRANSLATION.DOWN, ROTATION.NONE, "hard-drop-animation")) stats.score +=2 | ||||||
|         lockDown() |         lockDown() | ||||||
|     }, |     }, | ||||||
|  | |||||||
| @ -29,21 +29,23 @@ body { | |||||||
|     margin-top: calc(-1 * var(--buffer-zone-rows) * var(--cell-side)); |     margin-top: calc(-1 * var(--buffer-zone-rows) * var(--cell-side)); | ||||||
| } | } | ||||||
|  |  | ||||||
|  |  | ||||||
|  | /* | ||||||
| @keyframes hard-dropped-table-animation { | @keyframes hard-dropped-table-animation { | ||||||
|     from { |     from { | ||||||
|         transform: translateY(0); |         transform: translateY(0); | ||||||
|     } |     } | ||||||
|     25% { |     25% { | ||||||
|         transform: translateY(5px); |         transform: translateY(3px); | ||||||
|     } |     } | ||||||
|     to { |     to { | ||||||
|         transform: translateY(0); |         transform: translateY(0); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
| #matrixTable.hard-dropped-table-animation { | #matrixTable.hard-dropped-table-animation { | ||||||
|     animation: hard-dropped-table-animation .2s; |     animation: hard-dropped-table-animation .1s; | ||||||
| } | } | ||||||
|  | */ | ||||||
|  |  | ||||||
| tr.buffer-zone td:not(.mino) { | tr.buffer-zone td:not(.mino) { | ||||||
|     border-width: 0; |     border-width: 0; | ||||||
| @ -88,9 +90,9 @@ tr.cleared-line-animation{ | |||||||
|     animation: cleared-line-animation ease-out .3s; |     animation: cleared-line-animation ease-out .3s; | ||||||
| } | } | ||||||
|  |  | ||||||
| span { | #messagesSpan { | ||||||
|     position: absolute; |     position: absolute; | ||||||
|     top: 20%; |     top: 5%; | ||||||
|     left: 50%; |     left: 50%; | ||||||
|     transform: translate(-50%, 0); |     transform: translate(-50%, 0); | ||||||
|     color: rgba(255, 255, 255, 0.8); |     color: rgba(255, 255, 255, 0.8); | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user