Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Gadget-Item.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* For [[Template:Item]] */
.item {
.item {
display: inline;
    display: inline;
}
}


Line 11: Line 10:


.item .item-image .hidden {
.item .item-image .hidden {
display: inline-block;
    display: inline-block;
position: relative;
    position: relative;
text-align: center;
    text-align: center;
vertical-align: middle;
    vertical-align: middle;
top: -2px;
    top: -2px;
}
}


.item .item-image .hidden a:not(.new) {
.item .item-image .hidden a:not(.new) {
display: inline-flex;
    display: inline-flex;
}
}


.item .item-icon {
.item .item-icon {
position: absolute;
    position: absolute;
display: flex;
    display: flex;
align-items: center;
    align-items: center;
top: -5px;
    top: -5px;
left: -5px;
    left: -5px;
width: 14px;
    width: 14px;
height: 14px;
    height: 14px;
}
}


.item.newline {
.item.newline {
display: inline-block;
    display: inline-block;
text-align: center;
    text-align: center;
}
}


 
/* Add unknown icon to missing image */
/* Add Unknown icon to missing img */
.item-image > a.new,
.item-image > a.new, .item-image > span > span > a.new {
.item-image > span > span > a.new {
     position: absolute;
     position: absolute;
     display: block;
     display: block;