Opened 15 years ago

Closed 13 years ago

#5768 closed bug (invalid)

Add ability to create underlined sub-titles within articles.

Reported by: kallisti5 Owned by: haiku-web
Priority: normal Milestone:
Component: Website/CMS Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

At the moment, there is no way to underline a subtitle in the haiku-os.org content... this comes in handy to better define main sections within articles.

File: http://www.haiku-os.org/sites/haiku-os.org/themes/shijin/local.css

Add:

#content h1.title, #content h2.title, #content h3.title, #content h4.title {
	border-bottom: 1px solid #EAEAEA;
}

This bar is lighter then the title bar and allows articles to be broken up visually.

Attachments (1)

title-css.png (85.8 KB ) - added by kallisti5 15 years ago.

Download all attachments as: .zip

Change History (4)

by kallisti5, 15 years ago

Attachment: title-css.png added

comment:1 by kallisti5, 15 years ago

example usage attached.

HTML to produce underlined title in content page after css changes noted was:

<h4 class='title'>Blah</h4>

comment:2 by koki, 15 years ago

This is how the existing headline styles look like:

http://haikuzone.net/files/temp/2010-04-21_website-headlines.png

Since most website articles don't drill down into multiple levels of sections and subsections, this is more than adequate.

In the rare occasion that someone writes a very long article with many sections and subsections, it is better to use hierarchical numbering instead. Overusing bottom borders would look awkward.

comment:3 by kallisti5, 13 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.