UnPoetia:Main Page/stylesheet.css
Jump to navigation
Jump to search
.poetry-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-auto-rows: auto;
grid-column-gap: 15px;
grid-row-gap: 20px;
max-width: 80rem;
margin:0 auto;
}
.panel-1 { grid-area: 1 / 1 / 3 / 2; }
.panel-2 { grid-area: 1 / 2 / 2 / 3; }
.panel-3 { grid-area: 2 / 2 / 3 / 3; }
.panel-4 { grid-area: 3 / 1 / 4 / 2; }
.panel-5 { grid-area: 3 / 2 / 4 / 3; }
.panel-6 { grid-area: 4 / 1 / 5 / 3; }
.panel-7 { grid-area: 5 / 1 / 6 / 3; }
.poetry-header {
display: flex;
width: 100%;
justify-content: center;
align-items: center;
text-align: center;
text-shadow: 1px 1px 2px rgb(0 0 0 / 10%);
font-variant: small-caps;
font-family: Georgia, serif;
font-size: 1.5em;
color: #333;
}
.poetry-header:before,
.poetry-header:after {
content: '';
border-top: 3px double #e81c23;
margin: 0 10px 0 0;
flex: 1 0 10px;
}
.poetry-header:after {
margin: 0 0 0 10px;
}
.poetry-content {
padding: 0.2em 1em;
}
.poetry-content img {
margin: 1em 0 0 0;
}
.poetry-content .mw-inputbox-centered {
max-width: 100%;
}
@media screen and (max-width: 768px) {
.poetry-container {
display: flex;
flex-flow: column nowrap;
}
.poetry-banner img {
width: 100%;
object-fit: contain;
}
}
body:not(.action-edit) .mw-indicators, body:not(.action-edit) #catlinks {
display: none;
}
/* [[Category:UnProjects stylesheets]] */