123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- *,
- *:before,
- *:after {
- box-sizing: border-box;
- }
- body {
- margin: 0;
- background-color: darkgreen;
- overflow: hidden;
- position: relative;
- cursor: none;
- position: relative;
- }
- .header {
- height: 10vh;
- display: flex;
- justify-content: end;
- justify-items: center;
- color:white;
- padding: 20px 30px;
- font-size: 30px;
- font-weight: bolder;
- user-select: none;
- }
- #score {
- color:red;
- padding: 0 20px;
- user-select: none;
- }
- .playing_field {
- display: flex;
- justify-content: center;
- align-items: center;
- flex-wrap: wrap;
- height: calc(90vh);
- visibility: hidden;
- }
- .rectangle {
- width: calc((100% / 3) - 20px);
- margin: 10px;
- height: calc(90vh / 2 - 20px);
- display: flex;
- align-items: center;
- justify-content: center;
- visibility: inherit;
- }
- .beaverHome {
- width: 50%;
- aspect-ratio: 1;
- background-color: orange;
- border-radius: 50%;
- position: relative;
- overflow: hidden;
- visibility: inherit;
- }
- .beaver {
- width: 100%;
- height: 100%;
- /*background-color: brown;*/
- background-image: url(putin.png);
- background-position: center;
- background-size: cover;
- background-repeat: no-repeat;
- position: absolute;
- top: -50%;
- left: 50%;
- transform: translate(-50% , -50%);
- transition: 0.5s;
- visibility: inherit;
- }
- .cursor {
- width: 100px;
- height: 100px;
- position: absolute;
- background-image: url('aim.png');
- background-size: cover;
- top: 0px;
- left: 0px;
- transform: translate(-50% , -50%);
- pointer-events: none;
- }
- #buttonStart{
- max-width: 200px;
- height: 100px;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- transition: 0.2s;
- background-color: #006400;
- display: flex;
- align-items: center;
- text-align: center;
- padding: 10px;
- border-radius: 10px;
- color: white;
- font-size: 30px;
- font-weight:500;
- letter-spacing: 2px;
- user-select: none;
- font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
- box-shadow: 0 4px 22px rgba(0,0,0, 0.25), inset 0 3px 0 rgba(255,255,255, 0.2), 0 3px 0 rgba(0,0,0, 0.1), inset 0 0 22px rgba(0,0,0, 0.1);
- }
- #buttonStart img {
- width: 30%;
- margin-right: 10px;
- }
|