Template:SkillLevelsInfoBox/styles.css: Difference between revisions
From Ymirheim Wiki
(Created page with ".skill-levels-infobox { float: right; width: auto; } .skill-levels-infobox .skill-infobox { float: none; clear: both; margin: 0; } .skill-levels-infobox .level-infobox {...") |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
.skill-levels-infobox | |||
.skill-levels-infobox .infobox-wrapper { | |||
. | |||
float: none; | float: none; | ||
clear: both; | clear: both; | ||
margin: 0; | margin: 0; | ||
user-select: text; | |||
} | } | ||
.skill-levels-infobox .level-infobox { | .skill-levels-infobox .level-infobox { | ||
display: none; | display: none; | ||
user-select: none; | |||
} | |||
.skill-levels-infobox .level-infobox:first-child { | |||
display: block; | |||
} | } | ||
.skill-levels-infobox .level-infobox > | .skill-levels-infobox .level-infobox > .next-level, | ||
.skill-levels-infobox .level-infobox > .prev-level { | |||
cursor: pointer; | cursor: pointer; | ||
background: rgba(0, 0, 0, 0.8); | background: rgba(0, 0, 0, 0.8); | ||
Line 29: | Line 32: | ||
.skill-levels-infobox .level-infobox .prev-level { | .skill-levels-infobox .level-infobox .prev-level { | ||
float: left; | float: left; | ||
} | } |
Latest revision as of 08:54, 9 July 2024
.skill-levels-infobox .infobox-wrapper { float: none; clear: both; margin: 0; user-select: text; } .skill-levels-infobox .level-infobox { display: none; user-select: none; } .skill-levels-infobox .level-infobox:first-child { display: block; } .skill-levels-infobox .level-infobox > .next-level, .skill-levels-infobox .level-infobox > .prev-level { cursor: pointer; background: rgba(0, 0, 0, 0.8); border: 1px solid #FFF; border-radius: 5px 5px 0 0; border-bottom: none; color: #fff; padding: 0 3px; font-size: 0.9em; box-shadow: 0 0 5px black; margin: 0 5px; user-select: none; } .skill-levels-infobox .level-infobox .next-level { float: right; } .skill-levels-infobox .level-infobox .prev-level { float: left; }