styletext.css and others

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
7/6/2007 6:13:09 AM
Gravatar
Total Posts 488

styletext.css and others

There are several similar css files in site skind now: styletext.css, styletextlarge.css, styletextmedium.css.

From the first look, editing styletext.css affects the site look, and the others don't.

How are these files used?

7/6/2007 8:24:14 AM
Gravatar
Total Posts 18439

Re: styletext.css and others

My plan is to make a control that allows the user to select the font size. It will be an accessibility feature.

Currently if you notice in Firefox, when viewing a page on this site, look at the View > Page Style menu and you will see you can select Normal Text, Medium Text, Large Text, which corresponds to these css files. (see the title attribute on the style link in source view)

Note that when viewing the source of the page, the link for styletext.css has rel='stylesheet' because it is the default one, while styletextmedium.css link has rel='alternate stylesheet'

Choosing the menu item only affects the current page, if you refresh or go to a different pages it goes back to using the default css. The planned control will likely use a cookie to preserve the user choice.

Joe

7/12/2007 7:49:04 AM
Gravatar
Total Posts 488

Re: styletext.css and others

Thanks, I understood.

1. As these files are very much in common, why not create styletext_all.css and include it to all of them? It would be much easier to edit them in this case.

2. In subblue skin crumb styles are added only to the first one. is that a bug?

7/17/2007 2:48:53 PM
Gravatar
Total Posts 18439

Re: styletext.css and others

1. no the idea is to separate them not combine them, when I build the stylesheet selctor control I will be making these more different. For now I just set the main font size different.

2. maybe but if it is, its a bug in an unused unfinished feature. You will see when I get to finish that work I will be re-visiting these css files.

7/17/2007 2:52:01 PM
Gravatar
Total Posts 488

Re: styletext.css and others

Thanks, I understood.

You must sign in to post in the forums. This thread is closed to new posts.