MediaWiki:SkillNav.css: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 17: Line 17:
}
}


.skill-nav .image-cropped {
.skill-nav .skill-nav-header .image-cropped {
     margin-left: -8px;
     margin-left: -2px;
     transform: skew(10deg);
     transform: skew(10deg);
}
}
Line 24: Line 24:
.skill-nav .skill-nav-header {
.skill-nav .skill-nav-header {
     display: flex;
     display: flex;
    gap: 1rem;
     place-items: center;
     place-items: center;
     transform: skew(-10deg);
     transform: skew(-10deg);
Line 31: Line 30:
}
}


.skill-nav .skill-nav-header span {
.skill-nav .skill-nav-title {
     color: #fff;
     color: #fff;
     font-weight: 500;
     font-weight: 500;
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
     display: inline-block;
     display: inline-block;
    font-size: 1.25rem;
     transform: skew(10deg);
     transform: skew(10deg);
    font-size: 1.25rem;
}
}


Line 128: Line 127:
}
}


.skill-nav a > img {
.skill-nav a > img:not(.image-face img) {
     max-width: initial!important;
     max-width: initial!important;
}
.skill-nav .image-face > span {
    display: flex;
}
}