Template:SkillChances/styles.css: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
Created page with ".sc-box { margin: 1em; width: max-content; display: flow-root; →to play nice with the floating infobox: } @media (max-width: 600px) { .sc-box { width: 100%; margin: 1em 0 0 0; } } @media (max-width: 950px) { .sc-box td span:nth-child(2) a { display: none; } } .sc-box .about { text-align: right; } .sc-box .toggle { display: inline-block; padding: 4px 8px; border: 1px solid #45494e; color: dodg..." |
No edit summary |
||
| Line 1: | Line 1: | ||
.sc-box { | .sc-box { | ||
margin: | margin:0 !important; | ||
} | } | ||
| Line 8: | Line 6: | ||
.sc-box { | .sc-box { | ||
width: 100%; | width: 100%; | ||
} | } | ||
} | } | ||
| Line 16: | Line 13: | ||
display: none; | display: none; | ||
} | } | ||
} | } | ||
Latest revision as of 08:29, 27 August 2026
.sc-box {
margin:0 !important;
}
@media (max-width: 600px) {
.sc-box {
width: 100%;
}
}
@media (max-width: 950px) {
.sc-box td span:nth-child(2) a {
display: none;
}
}
.sc-box th {
text-align: center;
padding-right: 0.5em !important; /* suppress the space allotted to the sortable markers */
}
.sc-box td {
text-align: right;
color: #fff;
padding: 0 4px;
}
.sc-box td:first-child {
text-align: left;
}
@media (max-width: 950px) {
.sc-box td:first-child {
text-align: center;
}
}
.sc-box tr > *:nth-child(3),
.sc-box tr > *:nth-child(4),
.sc-box tr > *:nth-child(5) {
font-style: italic;
opacity: 0.5;
}
.sc-box .separator:first-child,
.sc-box .separator:last-child,
.sc-box .separator + .separator {
display: none;
}
.sc-box .separator {
height: 2px;
background: #c8b36c !important;
}


