vps/nginx-www/index/index.css
2023-11-24 13:00:55 +01:00

65 lines
No EOL
950 B
CSS

body {
font-weight: bold;
font-family: Arial;
background-image: url("wallpaper.jpg");
background-position: -150px;
background-repeat: no-repeat;
background-size: cover;
min-height: 100vh;
margin: 0;
}
main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: auto;
}
a {
border: 3px solid white;
border-radius: 2px;
padding: 12px;
display: flex;
align-items: center;
margin: 35px;
min-width: 250px;
height: 60px;
transition: all .25s ease-in-out;
text-decoration: none;
color: white;
font-size: 1.2em;
}
p {
margin: auto;
}
a:hover {
transform: scale(1.1);
background-color: rgba(255, 255, 255, 0.25);
}
img {
height: 86%;
}
h5 {
position: absolute;
bottom: 10px;
right: 10px;
color: rgba(255, 255, 255, 0.5);
margin: 0;
}
@media only screen and (min-width: 1050px) {
body {
background-position: center;
}
main {
flex-direction: row;
}
}