Template:Sandbox/Aurelain/SkillsNavbox2/styles.css: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 28: | Line 28: | ||
align-items: flex-start; | align-items: flex-start; | ||
flex-direction: column; | flex-direction: column; | ||
padding: 0 8px; | padding: 0 8px 8px 8px; | ||
} | } | ||
| Line 36: | Line 36: | ||
background: #1F3756; | background: #1F3756; | ||
width:100%; | width:100%; | ||
border-top-left-radius: 8px; | |||
border-top-right-radius: 8px; | |||
} | } | ||
| Line 49: | Line 49: | ||
} | } | ||
.skills-navbox .exclusive { | .skills-navbox .exclusive > *:first-child > *:last-child { | ||
position:relative; | |||
top:-5px; | |||
} | } | ||
| Line 56: | Line 58: | ||
font-size:smaller; | font-size:smaller; | ||
margin-left:32px; | margin-left:32px; | ||
margin-top:-16px; | |||
} | } | ||
Latest revision as of 06:31, 28 August 2026
.skills-navbox > * {
border: 1px solid #BCB096;
border-bottom: 0;
}
.skills-navbox .header {
text-align: center;
padding: 4px;
background: #1F3756;
}
.skills-navbox .content {
display: flex;
justify-content: center;
flex-wrap: wrap;
padding: 16px;
gap:16px;
}
.skills-navbox .group {
min-width: 150px;
border: 1px solid #BCB096;
border-radius: 8px;
}
.skills-navbox .skills {
display: flex;
align-items: flex-start;
flex-direction: column;
padding: 0 8px 8px 8px;
}
.skills-navbox .title {
text-align: center;
padding: 4px;
background: #1F3756;
width:100%;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
.skills-navbox .links {
padding-top: 8px;
border-left: 0;
border-right: 0;
display: flex;
justify-content: flex-end;
gap: 24px;
}
.skills-navbox .exclusive > *:first-child > *:last-child {
position:relative;
top:-5px;
}
.skills-navbox .exclusive > *:last-child {
color: peru;
font-size:smaller;
margin-left:32px;
margin-top:-16px;
}


