WordPress.org

Making WordPress.org

Opened 6 weeks ago

Last modified 4 weeks ago

#4269 new defect

Coding standards: Need to use numeric values instead of keywords in CSS.

Reported by: jankimoradiya Owned by:
Milestone: Priority: normal
Component: General Keywords: has-patch
Cc:

Description

I have noticed that, there are lots of occurrences of font-weight: bold; or font-weight: normal; in meta trac.

As per the CSS Coding Standards:

Font weights should be defined using numeric values (e.g. 400 instead of normal, 700 instead of bold).

Attachments (2)

#4269.diff (4.2 KB) - added by jankimoradiya 6 weeks ago.
#4269(2).diff (3.0 KB) - added by jankimoradiya 6 weeks ago.

Download all attachments as: .zip

Change History (6)

@jankimoradiya
6 weeks ago

#1 @man4toman
6 weeks ago

Hi @jankimoradiya
The RTL CSS files are automatically generated by the build tools then they don't need any patch.

#2 @jankimoradiya
6 weeks ago

Thank you @man4toman.

I have also updated those changes in style.css of WordPress.TV in my above patch. Is it correct?

This ticket was mentioned in Slack in #meta by jankimoradiya. View the logs.


6 weeks ago

This ticket was mentioned in Slack in #meta by jankimoradiya. View the logs.


4 weeks ago

Note: See TracTickets for help on using tickets.