vps/nginx-www/index/index.css

69 lines
1 KiB
CSS

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