| 1 |
@import 'mediawiki.skin.variables.less'; |
| 2 |
|
| 3 |
/* Flexbox gap not supported by all browsers, and warns here for some reason */ |
| 4 |
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */ |
| 5 |
.mw-ui-container { |
| 6 |
/* Benefits column CSS to the right (if it fits) of the form, otherwise below. */ |
| 7 |
display: flex; |
| 8 |
flex-wrap: wrap; |
| 9 |
gap: @spacing-300; |
| 10 |
|
| 11 |
.mw-createacct-benefits-container { |
| 12 |
@size-1200: 12em; |
| 13 |
flex-basis: @size-1200; |
| 14 |
flex-grow: 1; |
| 15 |
max-width: max-content; |
| 16 |
} |
| 17 |
} |
| 18 |
|
| 19 |
.mw-createacct-benefits-heading { |
| 20 |
font-family: @font-family-serif; |
| 21 |
font-size: 1.5em; |
| 22 |
font-weight: bold; |
| 23 |
margin: 0.25em 0; |
| 24 |
padding-top: 0.5em; |
| 25 |
} |
| 26 |
|
| 27 |
/* stylelint-disable-next-line selector-class-pattern */ |
| 28 |
.mw-number-text.icon-edits { |
| 29 |
/* @embed */ |
| 30 |
background: url( images/icon-edits.png ) no-repeat left center; |
| 31 |
} |
| 32 |
|
| 33 |
/* stylelint-disable-next-line selector-class-pattern */ |
| 34 |
.mw-number-text.icon-pages { |
| 35 |
/* @embed */ |
| 36 |
background: url( images/icon-pages.png ) no-repeat left center; |
| 37 |
} |
| 38 |
|
| 39 |
/* stylelint-disable-next-line selector-class-pattern */ |
| 40 |
.mw-number-text.icon-contributors { |
| 41 |
/* @embed */ |
| 42 |
background: url( images/icon-contributors.png ) no-repeat left center; |
| 43 |
} |
| 44 |
|
| 45 |
/* |
| 46 |
* Special font for numbers in benefits, same as Vector's `@content-heading-font-family`. |
| 47 |
*/ |
| 48 |
.mw-body-content .mw-number-text span { |
| 49 |
color: @color-base; |
| 50 |
margin: 0; |
| 51 |
padding: 0; |
| 52 |
font-family: @font-family-serif; |
| 53 |
font-weight: normal; |
| 54 |
font-size: 2.2em; |
| 55 |
line-height: 1.2; |
| 56 |
text-align: center; |
| 57 |
display: block; |
| 58 |
} |
| 59 |
|
| 60 |
/* Contains a “headlined” number and explanatory text, with space for an icon */ |
| 61 |
.mw-number-text { |
| 62 |
display: block; |
| 63 |
font-size: 1.2em; |
| 64 |
color: @color-subtle; |
| 65 |
margin-top: 1em; |
| 66 |
/* 80px wide icon plus "margin" */ |
| 67 |
padding: 0 0 0 95px; |
| 68 |
/* Matches max icon height, ensures icon emblem is visible */ |
| 69 |
min-height: 75px; |
| 70 |
text-align: center; |
| 71 |
} |
| 72 |
|
| 73 |
.mw-heading-subheading-wrapper { |
| 74 |
max-width: 480px; |
| 75 |
text-align: center; |
| 76 |
|
| 77 |
h2 { |
| 78 |
text-align: center; |
| 79 |
} |
| 80 |
|
| 81 |
.mw-benefit-subheading { |
| 82 |
line-height: 1.4em; |
| 83 |
color: #000; |
| 84 |
} |
| 85 |
} |
| 86 |
|
| 87 |
/* Flexbox gap not supported by all browsers */ |
| 88 |
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */ |
| 89 |
.mw-benefit-list-wrapper { |
| 90 |
margin-top: 8px; |
| 91 |
display: flex; |
| 92 |
flex-direction: column; |
| 93 |
align-items: flex-start; |
| 94 |
gap: 16px; |
| 95 |
padding-left: 21px; |
| 96 |
|
| 97 |
/* Flexbox gap not supported by all browsers */ |
| 98 |
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */ |
| 99 |
.mw-benefit-item { |
| 100 |
display: flex; |
| 101 |
gap: 16px; |
| 102 |
|
| 103 |
span, |
| 104 |
p { |
| 105 |
margin: 0; |
| 106 |
} |
| 107 |
|
| 108 |
span { |
| 109 |
display: block; |
| 110 |
min-width: 20px; |
| 111 |
height: 20px; |
| 112 |
padding: 0.5px 0 0.5px 0; |
| 113 |
margin-top: 0.5px; |
| 114 |
} |
| 115 |
|
| 116 |
p { |
| 117 |
line-height: 1.25; |
| 118 |
letter-spacing: normal; |
| 119 |
color: #54595d; |
| 120 |
} |
| 121 |
} |
| 122 |
} |