Template:CustomTabs/styles.css: Difference between revisions
Appearance
Stevium changed the content model of the page Template:CustomTabs/styles.css from "CSS" to "Sanitized CSS": TemplateStyles |
Removed text-decoration on hover |
||
| Line 49: | Line 49: | ||
.custom-tabs span.inactive-tab:hover a:not(.new) { | .custom-tabs span.inactive-tab:hover a:not(.new) { | ||
color: var(--color-base); | color: var(--color-base); | ||
text-decoration: none; | |||
} | } | ||
Revision as of 13:50, 23 April 2026
.custom-tabs {
display: flex;
flex-direction: row;
gap: 5px;
width: 100%;
margin: 5px 0;
flex-wrap: wrap;
justify-content: space-evenly;
}
.custom-tabs > span {
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
flex: 1;
text-align: center;
transition: 0.25s;
}
.custom-tabs a,
.custom-tabs .selflink,
.custom-tabs span.new {
display: flex;
width: 100%;
height: 100%;
padding: 8px 10px;
border-radius: 10px;
align-items: center;
justify-content: center;
text-align: center;
font-weight: 900 !important;
}
.custom-tabs span.active-tab {
background-color: var(--color-accent);
}
.custom-tabs span.active-tab strong,
.custom-tabs span.active-tab a:not(.new) {
color: var(--color-accent-text);
}
.custom-tabs span.inactive-tab {
background: var(--background-color-1);
}
.custom-tabs span.inactive-tab a:not(.new),
.custom-tabs span.inactive-tab:hover a:not(.new) {
color: var(--color-base);
text-decoration: none;
}
.custom-tabs span.inactive-tab:hover {
background: var(--background-color-3);
}