MediaWiki:Characters-Section.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.
.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-content-ltr .segment > .mw-collapsible-toggle::after {
content: "";
display: block;
width: 15px;
height: 15px;
background-image: url(https://svgshare.com/i/iDj.svg);
filter: invert(1);
background-position: center;
background-size: contain;
}
.section-characters > .mw-collapsible-toggle a {
display: none;
}
.section-characters .image-wrap img {
--width: 512px;
width: calc(var(--width) * 0.75);
height: auto;
}
.section-characters .image-cropped {
width: 81px!important;
height: 46px!important;
}