Web/commissions/style.css

80 lines
1.1 KiB
CSS

body {
font-family: Roboto, sans-serif;
font-display: swap;
}
.par {
width: 95%;
max-width: 850px;
margin-top: 30px;
margin-bottom: 30px;
margin-left: auto;
margin-right: auto;
}
.mod-info {
position: relative;
}
.mod-info img {
width: 100%;
max-height: 50vh;
object-fit: cover;
}
.mod-caption {
position: absolute;
bottom: 10px;
color: white;
text-align: center;
left: 50%;
transform: translate(-50%, 0);
background: rgb(0, 0, 0, 0.5);
padding: 10px;
}
.mod-caption a {
color: white;
}
.mod-caption p {
margin-bottom: 0;
}
.test {
width: 90%;
margin-top: 10px;
margin-bottom: 40px;
padding: 15px;
background-color: #f0f0f0;
}
.test-left {
margin-right: 10%;
margin-left: auto;
}
.test-right {
margin-left: 10%;
margin-right: auto;
}
.test-name {
text-align: right;
margin-bottom: 0;
}
.discord-img {
width: 80%;
max-width: 400px;
display: block;
margin-left: auto;
margin-right: auto;
border-radius: 5px;
}
.footer {
padding-top: 80px;
padding-bottom: 10px;
text-align: center;
}