MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
(Item groups styling) |
||
Line 1,501: | Line 1,501: | ||
.hidden { |
.hidden { |
||
display: none; |
display: none; |
||
} |
|||
/* Item group */ |
|||
div.itemgroup { |
|||
display: inline-block; |
|||
position: relative; |
|||
border: 1px solid #0785FC; |
|||
border-width: 0 3px 0 3px; |
|||
border-radius: 8px; |
|||
background-color: #ecf5f9; |
|||
} |
|||
div.itemgroup.ltag { |
|||
border-width: 0 3px 0 24px; |
|||
} |
|||
div.itemgroup.rtag { |
|||
border-width: 0 24px 0 3px; |
|||
} |
|||
div.itemgroup > .tag { |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
position: absolute; |
|||
top: 0; |
|||
left: -24px; |
|||
bottom: 0; |
|||
width: 24px; |
|||
text-align: center; |
|||
color: #ecf5f9; |
|||
} |
|||
div.itemgroup.rtag > .tag { |
|||
left: auto; |
|||
right: -24px; |
|||
width: 24px; |
|||
} |
} |