MediaWiki:Characters-Section.css: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 7: Line 7:
     padding: 0 .25rem;
     padding: 0 .25rem;
     border-radius: 0;
     border-radius: 0;
    overflow: hidden;
}
}


Line 12: Line 13:
     transform: skew(-10deg);
     transform: skew(-10deg);
}
}
.section-characters .image-wrap {overflow:hidden; position: relative!important}


.section-characters .segment .segment-header a, .section-characters .segment .segment-header .image-cropped {
.section-characters .segment .segment-header a, .section-characters .segment .segment-header .image-cropped {
Line 24: Line 27:
     color: #fff!important;
     color: #fff!important;
     text-shadow: 1px 1px 1px #000;
     text-shadow: 1px 1px 1px #000;
    overflow: hidden;
}
}


Line 34: Line 38:
.section-characters .mw-collapsible-toggle a {
.section-characters .mw-collapsible-toggle a {
     display: none!important;
     display: none!important;
}
.section-characters .image-wrap img {
    width: calc(512px * 0.75);
    height: auto;
}
}


.section-characters .image-cropped {
.section-characters .image-cropped {
    width: 81px!important;
    height: 46px!important;
     margin-left: -11px;
     margin-left: -11px;
}
}
Line 54: Line 51:
     background-position: center;
     background-position: center;
     background-size: contain;
     background-size: contain;
}
.section-characters > .segment-contents {
    padding: 0.5rem!important;
}
}


Line 87: Line 80:


.section-characters .segment table a, .section-characters td {
.section-characters .segment table a, .section-characters td {
     font-size: .75rem;
     font-size: .7rem;
}
 
.section-characters table {
    margin-bottom: 1.15rem;
}
 
.section-characters > .segment-headers {
    display: none!important;
}
 
.section-characters > .segment-contents {
    border: 0!important;
}
 
.section-characters .segment .segment-header .image-wrap a {
    transform: skew(0deg);
}
 
.segment.section-characters .mw-collapsible-text {
    display: none;
}
}