Please change inline CSS to CSS classes #2736
Labels
No Label
bug
build
cgi Scripting
design
disruptive
documentation
duplicate
easy
feature-request
help wanted
javascript
priority/low
question
system-hackers
tagging
text
translations
wait/bugfix
wait/inprogress
wait/misc
wait/proofread
wontfix
xsl
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: FSFE/fsfe-website#2736
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pages including [1] include inline CSS. Please do not use style attributes to design an element. So instead of:
use CSS classes instead, or create them if necessary.
More information why this is bad style, and what to do instead:
https://wiki.fsfe.org/TechDocs/Mainpage/Editing/BestPractices#No_in-line_CSS
[1] activities/android/android.en.xhtml
Thanks. I am not sure how we should track this in a ticket. It's a herculean task to replace all custom styles by CSS classes as most of them would not exist yet.
Please note that the pre-commit hooks check for such custom styles already and throw a warning, so this could be a motivation to look for replacements one by one. Especially graphics should be relatively easy to replace by the figures and their classes.