MediaWiki:Characters-Section.css: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 35: Line 35:
     width: 81px!important;
     width: 81px!important;
     height: 46px!important;
     height: 46px!important;
}
.mw-content-ltr .section-characters .segment > .mw-collapsible-toggle::after {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background-position: center;
    background-size: contain;
}
}

Revision as of 22:32, 11 June 2022

.segment.section-characters .segment .segment-header {
    place-content: start;
    place-items: center;
    display: inline-flex;
    gap: 0.5rem;
    font-size: 1.05rem;
    padding: .25rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,.35);
}

.section-characters .segment {
    margin: 0;
}

.section-characters a:not(.segment .segment a) {
    color: #fff!important;
}

.section-characters > .segment-contents .mw-collapsible-content {
    display: grid;
    grid-template-columns: repeat(4, calc(25% - 3px));
    gap: 0.25rem;
}

.section-characters > .mw-collapsible-toggle a {
    display: none!important;
}

.section-characters .image-wrap img {
    width: calc(512px * 0.75);
    height: auto;
}

.section-characters .image-cropped {
    width: 81px!important;
    height: 46px!important;
}

.mw-content-ltr .section-characters .segment > .mw-collapsible-toggle::after {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background-position: center;
    background-size: contain;
}