mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-11 16:38:20 +00:00
Merge "Blank parsoid styles, update thumbnail selectors for Parsoid content"
This commit is contained in:
commit
8803101c52
|
@ -13,6 +13,7 @@
|
|||
//
|
||||
// Styleguide 1.2.
|
||||
.content {
|
||||
figure,
|
||||
.thumb {
|
||||
margin: 0.6em 0;
|
||||
|
||||
|
@ -24,12 +25,16 @@
|
|||
}
|
||||
}
|
||||
|
||||
figcaption,
|
||||
.thumbcaption {
|
||||
margin: 0.5em 0 0;
|
||||
font-size: 0.8em;
|
||||
line-height: 1.5;
|
||||
padding: 0 !important;
|
||||
color: @grayMediumDark;
|
||||
}
|
||||
|
||||
.thumbcaption {
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
|
|
|
@ -90,7 +90,11 @@ A file for css that optimises the Minerva skin on larger devices.
|
|||
// e.g. [[File:Scholars mate animation.gif|frame|left|"[[Scholar's mate]]"]]
|
||||
// We use @noflip because we still want .tleft to be on the left and
|
||||
// .tright to be on the right in RTL languages.
|
||||
figure,
|
||||
.thumb {
|
||||
width: 320px;
|
||||
|
||||
&.mw-halign-left,
|
||||
&.tleft {
|
||||
/* @noflip */
|
||||
float: left;
|
||||
|
@ -100,6 +104,8 @@ A file for css that optimises the Minerva skin on larger devices.
|
|||
margin-right: 1.4em;
|
||||
}
|
||||
|
||||
&.mw-default-size,
|
||||
&.mw-halign-right,
|
||||
&.tright {
|
||||
/* @noflip */
|
||||
float: right;
|
||||
|
|
Loading…
Reference in a new issue