2024-10-23 20:43:28 +00:00
|
|
|
/**
|
|
|
|
* Miscellaneous styles that apply to body content
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Add affordance to thumbnails to replace magnify icon
|
|
|
|
* On hover, enlarge the image to inform the user that a full-size image will be shown (to MMV or file page)
|
|
|
|
*/
|
2022-04-27 18:43:02 +00:00
|
|
|
.citizen-body {
|
2020-06-12 18:16:45 +00:00
|
|
|
a.image {
|
2022-10-31 01:25:21 +00:00
|
|
|
display: inline-block;
|
2020-06-12 18:16:45 +00:00
|
|
|
overflow: hidden;
|
2022-10-31 01:25:21 +00:00
|
|
|
vertical-align: top; // get rid of that weird bottom gap from inline block
|
2021-03-06 14:39:59 +00:00
|
|
|
|
|
|
|
> img {
|
2023-07-07 21:02:27 +00:00
|
|
|
transition: var( --transition-hover );
|
|
|
|
transition-property: transform;
|
2021-03-06 14:39:59 +00:00
|
|
|
}
|
2022-10-31 01:25:21 +00:00
|
|
|
|
2022-11-18 21:22:27 +00:00
|
|
|
// Add affordance to replace magnify icon
|
2022-10-31 01:25:21 +00:00
|
|
|
&:hover:not( .lazy ):not( .new ) {
|
|
|
|
> img {
|
|
|
|
transform: scale( 1.1 );
|
|
|
|
}
|
|
|
|
}
|
2020-06-12 18:16:45 +00:00
|
|
|
}
|
2020-06-11 02:35:54 +00:00
|
|
|
}
|
2024-10-16 20:17:32 +00:00
|
|
|
|
2024-10-23 21:11:02 +00:00
|
|
|
/**
|
|
|
|
* Main page-specific styles
|
|
|
|
*/
|
|
|
|
.page-Main_Page {
|
|
|
|
// Disable sticky header
|
|
|
|
#citizen-page-header-sticky-sentinel {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Move header to the bottom of the page
|
|
|
|
#content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.citizen-page-header {
|
|
|
|
order: 9999;
|
|
|
|
|
|
|
|
&-inner {
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
@media ( min-width: @min-width-breakpoint-desktop ) {
|
|
|
|
border-top: var( --border-width-base ) solid var( --border-color-base );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.citizen-page-heading {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.citizen-body-container {
|
|
|
|
margin-top: var( --space-xl );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-23 20:43:28 +00:00
|
|
|
/**
|
|
|
|
* Heading HTML changes
|
|
|
|
* @see https://phabricator.wikimedia.org/T13555
|
|
|
|
* TODO: Clean up heading spacing someday
|
|
|
|
* TODO: This should go into one of the skinning files, revisit when we move to 1.43
|
|
|
|
*/
|
2024-10-16 20:17:32 +00:00
|
|
|
.mw-heading {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-top: var( --space-md );
|
|
|
|
|
|
|
|
&1,
|
|
|
|
&2 {
|
|
|
|
margin-top: 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&3,
|
|
|
|
&4 {
|
|
|
|
margin-top: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|