Closed Bug 604443 Opened 14 years ago Closed 14 years ago

Add CSS rules for KB Article wiki markup

Categories

(support.mozilla.org :: Knowledge Base Software, task, P1)

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rrosario, Assigned: rrosario)

References

()

Details

Attachments

(2 files)

We need to add CSS rules for all the possible wiki markup elements in an article (p, ul, ol, img, h1, h2, h3, video, etc).
I'll put together a list of all the elements then bounce to Chris for stylin'.
Assignee: nobody → james
I put together an example article with at least almost everything we will need styles for inside an article. Obviously there's a lot of stuff there. You can see the example on master.support[1] (for now).

(I've attached the source of the document in comment 2 in case the document gets wiped off stage.)

Chris: bouncing over to you for that voodoo that you do, so well. Note that there are things, especially the <dl>s toward the bottom, that don't have any distinguishing marks at all right now, but really are unique DOM nodes.

[1] https://master.support.mozilla.com/en-US/kb/markup-chart
Assignee: james → chowse
Attached file Article Content CSS
Here's my suggested CSS for article markup, based on what's in the mocks and what styles are currently used in the KB.

The wiki page provided was lacking images and videos, so I haven't provided any styling for them. There is also no special class for external links, so they are not styled different from internal links.
If I add a couple image and video examples, would you have time? If not we can make something up.

Do you think it's worth styling external links specially? Because we can. Any suggestions for it?
Assignee: chowse → rrosario
http://github.com/jsocol/kitsune/commit/1700d064f7597ca870a0d4f89edb193c29f75f0b
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Verified the above
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: