Wiki source code of CSS-Only Properties
Last modified by Lucas Charpentier on 2026/02/05 17:22
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Those are only available as CSS properties and do not have an equivalent in LESS variables. | ||
| 2 | |||
| 3 | |=Name|=Type (from CSS)|=Default value|=Meaning | ||
| 4 | |100vw|Size (vw)|100vw|{{version since="17.3.0"}} Part of a workaround to get a unitless screen width.{{warning}}Avoid using it in customizations, CSS will likely improve and this workaround might get removed from XWiki at some point.{{/warning}}{{/version}} | ||
| 5 | |int-viewport-width|Size (unitless)|N.A.|{{version since="17.3.0"}}Unitless screen width, useful for ratio calculations. {{warning}}Avoid using it in customizations, CSS will likely improve and this workaround might get removed from XWiki at some point.{{/warning}}{{/version}} | ||
| 6 | |font-weight-regular|Number|400|{{version since="17.3.0"}}Font weight used for regular text in the interface.{{/version}} | ||
| 7 | |font-weight-semibold|Number|700|{{version since="17.3.0"}}Font weight used for semibold text in the interface.{{/version}} | ||
| 8 | |font-weight-bold|Number|900|{{version since="17.3.0"}}Font weight used for bold text in the interface.{{/version}} | ||
| 9 | |login-form-max-width|Size (px)|450px|{{version since="17.9.0RC1"}}Replacement for the LESS equivalent without proper casing.{{/version}} |