ktyl.dev/src/vn/styles.css

88 lines
1.2 KiB
CSS
Raw Normal View History

2024-03-07 00:22:04 +00:00
body
{
padding: 0;
margin: 0;
width: 100%;
height: 100%;
font-family: sans-serif;
color: white;
background-color: black;
2024-01-06 00:57:08 +00:00
}
2024-03-07 00:22:04 +00:00
.column {
margin: 0 auto;
left: 50%;
width: 80%;
/*transform: translateX(50%);*/
height: 100%;
}
/* make column full-width for small viewports */
@media only screen and (max-width: 600px) {
.column {
left: 0;
width: 100%;
}
}
.img-container {
position: relative;
height: 60%;
width: 100%;
}
img {
object-fit: contain;
width: 100%;
height: 100%;
2024-01-06 00:57:08 +00:00
}
#button {
2024-03-07 00:22:04 +00:00
position: relative;
margin: 0;
width: 100%;
height: 15%;
}
a {
color: white;
}
#button a {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
font-size: 4em;
text-align: center;
text-decoration: none;
}
#button:hover a {
color: grey;
2024-01-06 00:57:08 +00:00
}
2024-03-07 00:22:04 +00:00
.text-box {
position: relative;
width: 100%;
height: 25%;
2024-01-06 00:57:08 +00:00
}
2024-03-07 00:22:04 +00:00
.text-box p {
margin: 0;
width: 80%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
word-wrap: wrap;
font-size: 2em;
}