1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Snake/sources/css/style.css
2021-03-23 08:21:05 +01:00

96 lines
2.1 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
html{
height: 100%;
}
body{
height: 100%;
width: 100%;
margin: 0;
padding: 0;
background-image: url("../images/51d84548-b50c-4f95-8e9e-d56c646d3ac4.gif");
background-repeat: no-repeat;
background-size: cover;
backdrop-filter: blur(5px);
}
h1{
font-family: 'Press Start 2P', cursive;
text-align: center;
color: yellow;
margin: 0;
padding-top: 80px;
}
#menu{
margin: 0;
margin-top: 150px;
}
#menu>div{
background-color: rgba(0, 0, 0, 0.5);
padding: 50px;
border: 1px solid rgb(0, 255, 200);
}
#menu button{
display: block;
text-align: center;
background-color: rgba(0, 0, 0, 0.5);
border: 3px double #FF4294;
margin-bottom: 10px;
margin-top: 10px;
padding: 15px;
text-shadow: #FFF 0px 0px 5px, #FFF 0px 0px 10px, #FFF 0px 0px 15px, #FF2D95 0px 0px 20px, #FF2D95 0px 0px 30px, #FF2D95 0px 0px 40px, #FF2D95 0px 0px 50px, #FF2D95 0px 0px 75px;
color: black;
font-weight: 900;
border-radius: 10px;
font-size: 25px;
border-left: none;
border-bottom: none;
transition-duration: 0.5s;
cursor: pointer;
}
#menu button:hover{
background-color: rgba(0, 0, 0, 0.8);
}
.linear-wipe {
background: linear-gradient(to right, rgb(255, 136, 0) 20%, #FF0 40%, #FF0 45%, rgb(255, 136, 0) 80%);
background-size: 200% auto;
background-clip: text;
text-fill-color: transparent;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: shine 1s linear infinite;
}
@keyframes shine {
to {
background-position: 200% center;
}
}
#menu input{
border: 3px double rgb(0, 255, 200);
color: rgb(0, 255, 200);
text-align: center;
border-radius: 10px;
background-color: rgba(0, 0, 0, 0.5);
border-top: none;
border-right: none;
font-size: 35px;
padding: 10px 0px;
}
::-webkit-input-placeholder, ::placeholder { /* Edge */
color: rgb(0, 255, 200);
text-align: center;
}