Merge "Align "What's this" vertically"
[lhc/web/wiklou.git] / resources / src / mediawiki.action / mediawiki.action.edit.styles.less
1 /*!
2 * Styles for elements of the editing form.
3 */
4
5 /*
6 * Add a bit of margin space between the preview and the toolbar.
7 * This replaces the ugly <p><br /></p> we used to insert into the page source
8 */
9 #wikiPreview.ontop {
10 margin-bottom: 1em;
11 }
12
13 .mw-editform {
14 /* General layout */
15 #wpTextbox1 {
16 margin: 0;
17 display: block;
18 /* Ensure the textarea is not higher than browser's viewport on small screens */
19 max-height: 100vh;
20 /* But don't let it collapse into nothingness on really tiny screens */
21 min-height: 5em;
22 }
23
24 /* Adjustments to edit form elements */
25 #editpage-copywarn {
26 font-size: 0.9em;
27 line-height: 1.26;
28 }
29
30 #wpSummaryWidget {
31 display: block;
32 margin-bottom: 1em;
33 max-width: none;
34 }
35
36 #wpSummaryLabel {
37 margin: 0;
38 }
39
40 .editCheckboxes .oo-ui-fieldLayout {
41 margin-right: 1em;
42 }
43
44 .editHelp {
45 margin-left: 0.5em;
46 vertical-align: middle;
47
48 a {
49 font-weight: bold;
50 }
51 }
52
53 .editOptions {
54 border-radius: 0 0 2px 2px;
55 }
56 }