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;
place-content: center;
place-items: center;
}
.instance-page .section-side-column-image {
grid-row: span 3;
margin: 0;
}
.instance-page .section-side-column .segment:first-of-type {
display: flex;
flex-direction: column;
place-content: end;
}
.instance-page .section-side-column .segment:first-of-type,
.instance-page .section-side-column .segment:last-of-type {
display: flex;
height: 100%;
flex-direction: column;
}
.instance-page .section-side-column .segment:first-of-type .segment-contents,
.instance-page .section-side-column .segment:last-of-type .segment-contents {
display: flex;
place-content: center;
place-items: center;
height: 100%;
}
.instance-page .fancy-text .segment-contents > .mw-collapsible-content {
font-family: "Heading";
font-size: 2.5rem;
text-align: center;
letter-spacing: 0.2rem;
}
.instance-page .fancy-text .segment-contents > .mw-collapsible-content .custom-text {
font-family: "Heading";
}
h1 .fancy-font {
font-size: 1.2em;
}
.instance-page h4:first-of-type {
margin-top: 0;
}
.instance-page .section-side-column .segment {
margin: 0;
width: 100%;
}