1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- body {
- background-color: #555;
- }
- .square {
- float: left;
- width: 40px;
- height: 40px;
- line-height: 40px;
- font-size: 15px;
- font-weight: 1000;
- padding: 0;
- background-size: cover;
- }
- .game {
- display: flex;
- position: fixed;
- top: 50%;
- left: 50%;
- min-width: 320px;
- transform: translate(-50%, -50%);
- }
- .covered {
- border: 2px dotted #888;
- background-color: #666;
- }
- @keyframes coveredAnim {
- from {background-color: #666; border: 2px dotted #888;}
- to {background-color: transparent; border: 0px none;}
- }
- .covered-win {
- border: 2px dotted #888;
- background-color: transparent;
- animation-name: coveredAnim;
- animation-duration: 10s;
- }
- .uncovered {
- border: 0px none;
- color: #fff;
- background-color: #888;
- }
- @keyframes uncoveredAnim {
- from {background-color: #888; color: #fff;}
- to {background-color: transparent; color: transparent;}
- }
- .uncovered-win {
- border: 0px none;
- color: transparent;
- background-color: transparent;
- animation-name: uncoveredAnim;
- animation-duration: 10s;
- }
- .nun {
- background-image: url('https://img2.gelbooru.com//samples/69/d4/sample_69d43b8deae19ac8e6377d1bd0c7ad16.jpg');
- }
- .cross {
- background-size: 75%;
- background-position: center center;
- background-repeat: no-repeat;
- background-image: url('/weebsweeper/cross.svg');
- }
- @keyframes jesusAnim {
- from {background-size: 0% 0%;}
- to {background-size: 100% 100%;}
- }
- .jesus {
- min-width: 400px;
- min-height: 400px;
- background-repeat: no-repeat;
- background-size: 100% 100%;
- background-position: center center;
- background-image: url('/weebsweeper/jesus.jpg');
- animation-name: jesusAnim;
- animation-duration: 10s;
- animation-timing-function: ease-in;
- }
|