wiki:StyleSheets

Version 3 (modified by jbk, 17 years ago) (diff)

--

Style Sheets

The overall look of a project web site can be controlled by Cascading Style Sheets (CSS). The project administrator can select the CSS file which is used to format each web page by a setting like

define("STYLESHEET", "white.inc");

in the file html/project/project.inc.

Three style themes are currently available: white.css, black.css, and style2.css. It is easy to create your own by copying one of these three and editing.

You may also find it useful to use the CSS @import command, though this is not supported correctly by all browsers (elaborate?) [jbk: Don't use it, it's better to override the page_head function and add it there or even better to wait for #672 to be done]

Style Classes

The list below will describe classes used in BOINC Project pages, to make it easier for a project to make custom adjustments.

Forums

authorcol

The column showing information about the originator of forum posts. This column typically has an avatar and the alias of the person who made a post.

postheader

The header of a forum post - typically a table cell with info about when the post was made and links providing moderators with actions

postbody

The body of a forum post - contains the actual post text

postfooter

The footer field of a post - has links to reply etc.

postseperator

The space between two posts in the thread display

helpdeskseperator

The space between the first post and followups in the helpdesk display mode

Front Page

Top Scores