mediawiki-skins-Citizen/skinStyles/mediawiki/action/mediawiki.action.view.filepage.less

125 lines
1.9 KiB
Plaintext
Raw Normal View History

2019-08-16 06:35:44 +00:00
/*
* Citizen - File Page Styles
* https://starcitizen.tools
*/
@import '../../../resources/variables.less';
2019-08-16 06:35:44 +00:00
#filetoc {
2020-01-07 17:49:15 +00:00
display: flex;
overflow: auto;
padding: 0;
2021-03-08 16:43:02 +00:00
border-color: var( --border-color-base );
margin: 0;
background-color: var( --background-color-framed );
white-space: nowrap;
2020-01-07 17:49:15 +00:00
li {
display: block;
padding: 0;
2020-01-07 17:49:15 +00:00
a {
display: block;
padding: @margin-side / 2 @margin-side;
transition: @transition-background;
2020-01-07 17:49:15 +00:00
&:hover {
2021-03-08 16:43:02 +00:00
background-color: var( --background-color-quiet--hover );
}
&:active {
background-color: var( --background-color-quiet--active );
2020-01-07 17:49:15 +00:00
}
}
}
2019-08-16 06:35:44 +00:00
}
.fullImageLink {
2021-03-08 16:43:02 +00:00
background-color: var( --background-color-framed );
2020-01-07 17:49:15 +00:00
> a {
display: block;
pointer-events: none;
> img {
display: block;
2020-01-07 17:49:15 +00:00
max-width: 100%;
height: auto;
margin: 0 auto;
box-shadow: var( --box-shadow-card );
2020-01-07 17:49:15 +00:00
}
}
.mw-filepage-resolutioninfo {
padding: @margin-side / 2 @margin-side;
2021-03-08 16:43:02 +00:00
border: 1px solid var( --border-color-base );
2020-01-07 17:49:15 +00:00
text-align: center;
}
2019-08-16 06:35:44 +00:00
}
.fullMedia {
2020-01-07 17:49:15 +00:00
padding: @margin-side / 2 @margin-side;
2021-03-08 16:43:02 +00:00
border: 1px solid var( --border-color-base );
2020-01-07 17:49:15 +00:00
border-top: 0;
2021-03-08 16:43:02 +00:00
background-color: var( --background-color-framed );
2020-01-07 17:49:15 +00:00
font-size: smaller;
text-align: center;
.mw-mmv-filepage-buttons {
display: flex;
justify-content: center;
margin-top: @margin-side / 2;
2020-01-07 17:49:15 +00:00
}
2019-08-16 06:35:44 +00:00
}
2020-01-06 19:17:23 +00:00
.multipageimage {
2020-01-07 17:49:15 +00:00
display: flex;
overflow: visible;
justify-content: center;
2020-01-07 17:49:15 +00:00
.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;
2020-01-07 17:49:15 +00:00
.thumb {
margin: 0 !important;
&:first-of-type {
order: -1;
}
.lazy {
filter: none !important;
}
}
hr,
br {
display: none;
}
}
2019-08-16 06:35:44 +00:00
}
2021-03-08 16:43:02 +00:00
.mw_metadata {
td,
th {
border: 1px solid var( --border-color-base );
background-color: var( --background-color-framed );
2020-01-07 17:49:15 +00:00
}
}