MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
no edit summary
imported>Hb1290 No edit summary |
imported>Hb1290 No edit summary |
||
| Line 591: | Line 591: | ||
#wikiPreview > div.mw-content-ltr > div > ul > li.gallerycarousel > div > div:nth-child(2) > div > a > img { | #wikiPreview > div.mw-content-ltr > div > ul > li.gallerycarousel > div > div:nth-child(2) > div > a > img { | ||
width: 400px; | width: 400px; | ||
} | |||
#mw-content-text > ul > li.gallerycarousel > div > div:nth-child(2) > div > a > img { | |||
width:400px | |||
} | |||
/* Initializing the flex continer */ | |||
#mw-content-text > div > ul > li.gallerycarousel > div, | |||
#wikiPreview > div.mw-content-ltr > div > ul > li.gallerycarousel > div { | |||
display: flex; | |||
flex-direction: column | |||
} | |||
/* Position of image */ | |||
#mw-content-text > div > ul > li.gallerycarousel > div > div:nth-child(2), | |||
#wikiPreview > div.mw-content-ltr > div > ul > li.gallerycarousel > div > div:nth-child(2) { | |||
order: 1; | |||
} | |||
/* Position of image caption */ | |||
#mw-content-text > div > ul > li.gallerycarousel > div > div:nth-child(3), | |||
#wikiPreview > div.mw-content-ltr > div > ul > li.gallerycarousel > div > div:nth-child(3) { | |||
order: 2; | |||
} | |||
/* Position of arrows and thumbnail icon */ | |||
#mw-content-text > div > ul > li.gallerycarousel > div > div.mw-gallery-slideshow-buttons.oo-ui-layout.oo-ui-panelLayout, | |||
#wikiPreview > div.mw-content-ltr > div > ul > li.gallerycarousel > div > div.mw-gallery-slideshow-buttons.oo-ui-layout.oo-ui-panelLayout { | |||
order: 3; | |||
} | } | ||
/* CSS Sliding Image Gallery for Mediawiki | /* CSS Sliding Image Gallery for Mediawiki | ||