vps/roles/homepage/files/index/index.css

70 lines
1 KiB
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");
2023-11-26 09:47:43 +01:00
background-position: center;
2023-11-22 08:26:10 +01:00
background-repeat: no-repeat;
background-size: cover;
min-height: 100vh;
margin: 0;
}
2023-11-26 09:55:57 +01:00
div {
2023-11-22 08:26:10 +01:00
display: flex;
flex-direction: column;
justify-content: center;
2023-11-26 09:47:43 +01:00
flex-wrap: wrap;
align-content: center;
2023-11-22 08:26:10 +01:00
min-height: 100vh;
2023-11-26 09:47:43 +01:00
width: 65%;
2023-11-24 13:00:55 +01:00
margin: auto;
2023-11-22 08:26:10 +01:00
}
2023-11-26 09:55:57 +01:00
div 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: 300px;
2023-11-24 13:00:55 +01:00
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
}
2023-11-26 09:55:57 +01:00
div a:hover {
2023-11-22 08:26:10 +01:00
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
}
2023-11-26 09:55:57 +01:00
main > a {
font-size: 0.9em;
color: white;
text-decoration: none;
2023-11-22 08:26:10 +01:00
position: absolute;
2023-11-26 09:55:57 +01:00
bottom: 8px;
right: 8px;
2023-11-22 08:26:10 +01:00
margin: 0;
}
2023-11-26 09:55:57 +01:00
main > a:hover {
text-decoration: underline;
}
@media only screen and (orientation: landscape) {
2023-11-26 09:55:57 +01:00
div {
2023-11-22 08:26:10 +01:00
flex-direction: row;
}
}