MediaWiki:SkillNav.css: Difference between revisions
From Elwiki
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
.skill-nav .image-cropped { | .skill-nav .image-cropped { | ||
margin-left: - | margin-left: -8px; | ||
transform: skew(10deg); | transform: skew(10deg); | ||
} | } |
Revision as of 23:36, 15 June 2022
.skill-nav-inner-wrap {
margin-top: 0.5rem;
display: grid;
grid-template-columns: max-content auto;
border-top: 1px solid black;
border-left: 1px solid black;
}
.skill-nav-inner-wrap > div {
border-bottom: 1px solid black;
border-right: 1px solid black;
}
.skill-nav .image-cropped {
margin-left: -8px;
transform: skew(10deg);
}
.skill-nav .skill-nav-header {
display: flex;
gap: 1rem;
place-items: center;
transform: skew(-10deg);
overflow: hidden;
height: 45px;
}
.skill-nav .skill-nav-header span {
color: #fff;
font-weight: 500;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
display: inline-block;
transform: skew(10deg);
font-size: 1.25rem;
}
.skill-nav .skill-nav-header a {
color: #fff !important;
}
.skill-nav .skill-nav-skill-content {
display: flex;
gap: 0.25rem;
flex-wrap: wrap;
}
.skill-nav .skill-nav-skill {
display: flex;
flex-direction: row;
place-content: center;
place-items: center;
transition: background-color 0.3s;
}
.skill-nav .skill-nav-skill a {
padding: 0.25rem;
text-decoration: none!important;
height: 100%;
display: flex;
place-items: center;
box-sizing: border-box;
}
.skill-nav .skill-nav-skill a:not(.skill-nav-image a) {
padding: 0.5rem 0.5rem 0.5rem 0.25rem;
width: 100%;
font-weight: 500;
}
.skill-nav .skill-nav-sub-head {
padding: 0.5rem 3rem 0.5rem 0.5rem;
font-weight: 500;
}
.skill-nav .skill-nav-image {
margin-right: auto;
height: 100%;
display: flex;
place-items: center;
}
.skill-nav .skill-nav-image .force-skill-icon {
padding-right: 0.5rem;
height: calc(30px + 0.5rem)!important;
}
.skill-nav .skill-nav-skill .force-skill-icon a {
display: block;
}