MediaWiki:Gadget-SkillForm.css: Difference between revisions
Jump to navigation
Jump to search
Moved skill-value colouring here and set skilllevel width to a fixed width |
No edit summary |
||
Line 29: | Line 29: | ||
.skillcontent { | .skillcontent { | ||
position: absolute; | /*position: absolute;*/ | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
top: 10px; | /*top: 10px; | ||
bottom: 0px; | bottom: 0px;*/ | ||
} | } | ||
Revision as of 16:19, 20 April 2023
/* For skills on T-Doll pages */
.skillform {
display:flex;
background-color: rgba(0,0,0,0.5);
margin: 2px;
flex-grow: 1;
flex-direction: column;
min-height: 225px;
}
.skilltabarea {
display: flex;
background-color: rgba(100,100,100,0.7);
margin: 5px;
flex-basis: 100%;
flex-grow: 1;
margin: 0;
padding: 5px;
}
.skillcontainer {
background: rgba(0, 0, 0, 0.5);
margin-left: auto;
margin-right: auto;
width: 100%;
padding: 10px;
position: relative;
}
.skillcontent {
/*position: absolute;*/
display: flex;
flex-direction: column;
/*top: 10px;
bottom: 0px;*/
}
.skillicon {
background: rgba(128, 128, 128, 0);
width: 52px;
height: 52px;
}
.skilllevel{
width: 70px;
}
.skillform .skill-value {
color: greenyellow;
}
.skilllevel select {
background-color: #f0b000;
width:60px;
height:21px;
text-align:center;
border:none;
color:#3f3f3f;
}
.strategy-fairy select {
background-color:#739ee7;
}
.battle-fairy select {
background-color:#f76529;
}
.skillname {
background-color:rgba(255, 255, 255, 0.25);
padding-left: 5px;
min-width:300px;
}
.skillconditions {
color: #f0b000;
}
.skillform p.skilldesc {
overflow-y:auto;
margin:0;
}
.skillform.loading .skillcontainer{
background-image: url('/images/8/88/gfloading.gif');
background-repeat: no-repeat;
background-attachment: local;
background-position: bottom right;
background-size: 30px;
}
@-moz-document url-prefix() {
.skill{
-moz-appearance: none;
text-indent: -5px;
text-overflow: "";
background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%);
background-position: calc(100% - 10px) calc(0.5em + 2px), calc(100% - 5px) calc(0.5em + 2px), calc(100% - 2.5em) 0.5em;
background-size: 5px 5px, 5px 5px, 1px 1.5em;
background-repeat: no-repeat;
}
}