Template:Knowledge Base Consoles/styles.css: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
.image { | .image { | ||
grid-row: 1; | grid-row: 1; | ||
display: | display: block; | ||
justify-content: center; | justify-content: center; | ||
padding: 0px; | padding: 0px; |
Revision as of 04:24, 30 September 2024
.container {
display: block;
text-align: center;
background: red;
row-gap: 500px
}
.image img {
max-width: 200px;
height: auto;
}
@media screen and (min-width: 851px) {
.container {
display: grid;
grid-auto-columns: minmax(0, 1fr);
row-gap: 0px
}
.image {
grid-row: 1;
display: block;
justify-content: center;
padding: 0px;
margin: 0px;
}
.title {
grid-row: 2;
}
}