vps/nginx-www/index/index.css

65 lines
950 B
CSS
Raw Normal View History

2023-11-22 08:26:10 +01:00
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;
2023-11-24 13:00:55 +01:00
margin: auto;
2023-11-22 08:26:10 +01:00
}
a {
2023-11-24 13:00:55 +01:00
border: 3px solid white;
border-radius: 2px;
padding: 12px;
2023-11-22 08:26:10 +01:00
display: flex;
align-items: center;
2023-11-24 13:00:55 +01:00
margin: 35px;
min-width: 250px;
height: 60px;
2023-11-22 08:26:10 +01:00
transition: all .25s ease-in-out;
text-decoration: none;
2023-11-24 13:00:55 +01:00
color: white;
font-size: 1.2em;
}
p {
margin: auto;
2023-11-22 08:26:10 +01:00
}
a:hover {
transform: scale(1.1);
2023-11-24 13:00:55 +01:00
background-color: rgba(255, 255, 255, 0.25);
2023-11-22 08:26:10 +01:00
}
img {
2023-11-24 13:00:55 +01:00
height: 86%;
2023-11-22 08:26:10 +01:00
}
h5 {
position: absolute;
bottom: 10px;
right: 10px;
color: rgba(255, 255, 255, 0.5);
margin: 0;
}
2023-11-24 13:00:55 +01:00
@media only screen and (min-width: 1050px) {
2023-11-22 08:26:10 +01:00
body {
background-position: center;
}
main {
flex-direction: row;
}
}