MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* FORCE THE THUMBNAIL SIZE */ | ||
.mw-parser-output . | .mw-parser-output .coverSmall img { | ||
width: 60px !important; | width: 60px !important; | ||
height: 80px !important; | height: 80px !important; | ||
object-fit: contain !important; | object-fit: contain !important; | ||
display: block !important; | display: block !important; | ||
} | } | ||
/* | /* THE HOVER */ | ||
.mw-parser-output .coverThumb:hover | .mw-parser-output .coverThumb:hover .coverSmall img { | ||
. | |||
position: absolute !important; | position: absolute !important; | ||
width: 350px !important; | |||
width: 350px !important; | |||
height: auto !important; | height: auto !important; | ||
transform: translate(100px, -20px) !important; | |||
transform: translate( | |||
z-index: 10000 !important; | z-index: 10000 !important; | ||
pointer-events: none !important; | pointer-events: none !important; | ||
background: #fff | background: #fff; | ||
border: 1px solid #888 !important; | border: 1px solid #888; | ||
} | |||
/* THE PADDING (Ends of the world) */ | |||
.mw-parser-output .wikitable td { | |||
padding: 10px 15px !important; | |||
overflow: visible !important; | |||
} | } | ||
Revision as of 10:55, 29 January 2026
/* FORCE THE THUMBNAIL SIZE */
.mw-parser-output .coverSmall img {
width: 60px !important;
height: 80px !important;
object-fit: contain !important;
display: block !important;
}
/* THE HOVER */
.mw-parser-output .coverThumb:hover .coverSmall img {
position: absolute !important;
width: 350px !important;
height: auto !important;
transform: translate(100px, -20px) !important;
z-index: 10000 !important;
pointer-events: none !important;
background: #fff;
border: 1px solid #888;
}
/* THE PADDING (Ends of the world) */
.mw-parser-output .wikitable td {
padding: 10px 15px !important;
overflow: visible !important;
}