MediaWiki:Common.less/interface.less: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 49: | Line 49: | ||
li { |
li { |
||
border-color: var(--body-mid); |
border-color: var(--body-mid); |
||
} |
|||
} |
|||
// checkered background in file pages |
|||
.filehistory a img, |
|||
#file img { |
|||
background: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M0 0h8v16h8V8H0z' opacity='.13'/%3E%3C/svg%3E") repeat; |
|||
} |
|||
#file img:hover { |
|||
background: none; |
|||
} |
|||
//img thumbnails on pages |
|||
figure[typeof~='mw:File/Thumb'] { |
|||
&> :not(figcaption) .mw-file-element, figure[typeof~='mw:File/Frame'] > :not(figcaption) .mw-file-element { |
|||
margin: 0; |
|||
} |
|||
/* hide magnifying icon */ |
|||
&> .mw-file-description::after, |
|||
&> .mw-file-magnify::after { |
|||
background: none !important; |
|||
} |
|||
} |
|||
figure[typeof~='mw:File/Thumb'], |
|||
figure[typeof~='mw:File/Frame'], |
|||
figure[typeof~='mw:Image/Thumb'], |
|||
figure[typeof~='mw:Video/Thumb'], |
|||
figure[typeof~='mw:Image/Frame'], |
|||
figure[typeof~='mw:Video/Frame'] { |
|||
> figcaption { |
|||
background-color: var(--thumb-caption-bg); |
|||
color: @white; |
|||
} |
} |
||
} |
} |