/* * Citizen - File Page Styles * https://starcitizen.tools */ @import '../../../resources/variables.less'; @import '../../../resources/mixins.less'; #filetoc { display: flex; overflow: auto; padding: 0; border-color: @base-80; margin: 0; transition: @transition-margin, @transition-padding; white-space: nowrap; li { display: block; padding: 0; a { display: block; padding: @margin-side / 2 @margin-side; transition: @transition-background-quick; &:hover { background-color: @base-80; } } } } .fullImageLink { max-width: @footer-width - 10px; // 1280px - image size 4 margin: 0 @negative-margin; background-color: @base-90; > a { display: block; pointer-events: none; > img { display: block; max-width: 100%; height: auto; margin: 0 auto; .boxshadow(1); } } .mw-filepage-resolutioninfo { padding: @margin-side / 2 @margin-side; border: 1px solid @base-80; text-align: center; transition: @transition-margin, @transition-padding; } } .fullMedia { padding: @margin-side / 2 @margin-side; border: 1px solid @base-80; border-top: 0; background-color: @base-90; font-size: smaller; text-align: center; transition: @transition-margin; .mw-mmv-filepage-buttons { display: flex; justify-content: center; margin-top: @margin-side / 2; } } .multipageimage { display: flex; overflow: visible; justify-content: center; .fullImageLink { margin: 0 !important; } > a > img { margin: 0; } tr { display: flex; flex-direction: column; } .multipageimagenavbox { display: flex; align-items: center; justify-content: space-between; margin-top: 0.8rem; .thumb { margin: 0 !important; &:first-of-type { order: -1; } .lazy { filter: none !important; } } hr, br { display: none; } } } @media only screen and ( max-width: @screen2 ) { .fullImageLink { /* stylelint-disable unit-no-unknown */ margin: 0~'calc((100vw - @{page-width}) / -2)'; /* stylelint-enable */ .mw-filepage-resolutioninfo, .fullMedia { margin: 0; } } } @media only screen and ( max-width: @screen1 ) { #filetoc, .fullImageLink, .fullMedia { margin: 0 -@margin-side; } #filetoc { padding: 0 @margin-side; } } .skin-citizen-dark { #filetoc, .fullMedia { border-color: @dark-bg-20; background-color: @dark-bg-10; } .fullImageLink { background-color: @dark-bg-10; .mw-filepage-resolutioninfo { border-color: @dark-bg-20; } } #filetoc li a:hover { background-color: @dark-bg-40; } .mw_metadata td, .mw_metadata th { border: 1px solid @dark-bg-50; } .mw_metadata th { background-color: @dark-bg-10; } .mw_metadata td { background-color: @dark-bg-20; } }