Change font-size unit from px to em
The convention to avoid px in font-size and use em instead was added to Wikimedia coding conventions was added in December 2020: https://www.mediawiki.org/wiki/Manual:Coding_conventions/CSS#Don't_rely_on_px_unit_based_values Now it's also enforced using stylelint. This commit changes all CSS font-size values that were still in px to em units.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
.uls-lcd-region-title {
|
||||
color: #555;
|
||||
font-size: 14px;
|
||||
font-size: 1em;
|
||||
padding-left: 28px;
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
color: #36c;
|
||||
font-size: 14px;
|
||||
font-size: 1em;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
overflow-x: hidden;
|
||||
@@ -119,7 +119,7 @@
|
||||
}
|
||||
|
||||
.uls-no-results-found-title {
|
||||
font-size: 16px;
|
||||
font-size: 1.2em;
|
||||
padding: 0 16px 0 28px;
|
||||
margin: 20px 0;
|
||||
border-bottom: 0;
|
||||
|
||||
Reference in New Issue
Block a user