MediaWiki:Instance-Page.css
From Elwiki
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
.instance-page .segment {
margin: 0.5rem 0;
}
.instance-page .segment-header {
font-size: 1em !important;
border: 1px solid #c1c1c1 !important;
color: white;
}
.instance-page .segment-contents {
border: 1px solid #c1c1c1;
border-top: none;
}
.instance-page .segment-contents .mw-collapsible-content,
.instance-page .segment-header {
box-sizing: border-box;
}
.instance-page .segment-contents .instance-image img {
max-width: 100%;
height: auto;
margin-bottom: 1rem;
border-radius: 4px;
}
.instance-page .section-side-column {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
}
.instance-page .section-side-column-image {
grid-row: span 2;
margin: 0;
}
.instance-page .section-side-column .segment:first-of-type {
display: flex;
flex-direction: column;
place-content: end;
}
.instance-page .fancy-text .segment-contents > .mw-collapsible-content {
font-family: "Heading";
font-size: 2rem;
text-align: center;
}