Web/main/commissions/style.css

80 lines
1.1 KiB
CSS
Raw Normal View History

2021-01-02 21:41:24 +01:00
body {
2021-03-19 04:23:04 +01:00
font-family: Roboto, sans-serif;
font-display: swap;
2021-01-02 21:41:24 +01:00
}
2021-01-03 14:34:43 +01:00
.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;
2021-01-02 21:41:24 +01:00
object-fit: cover;
}
2021-01-03 14:34:43 +01:00
.mod-caption {
position: absolute;
bottom: 10px;
2021-01-02 21:41:24 +01:00
color: white;
2021-01-03 14:34:43 +01:00
text-align: center;
left: 50%;
transform: translate(-50%, 0);
background: rgb(0, 0, 0, 0.5);
padding: 10px;
2021-01-02 21:41:24 +01:00
}
2021-01-03 14:34:43 +01:00
.mod-caption a {
color: white;
}
.mod-caption p {
margin-bottom: 0;
2021-01-02 21:41:24 +01:00
}
.test {
width: 90%;
2021-01-03 14:34:43 +01:00
margin-top: 10px;
margin-bottom: 40px;
padding: 15px;
2021-01-02 21:41:24 +01:00
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;
2021-01-03 14:34:43 +01:00
}
.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;
2021-01-02 21:41:24 +01:00
}