MediaWiki:Instance-Page.css: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 40: Line 40:
     text-align: center;
     text-align: center;
}
}
.instance-page h1 .fancy-font {
h1 .fancy-font {
     font-size: 1.1em;
     font-size: 1.1em;
}
}

Revision as of 17:55, 28 May 2022

.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;
}
h1 .fancy-font {
    font-size: 1.1em;
}