Diff for "UI/CSS"

Not logged in - Log In / Register

Differences between revisions 2 and 3
Revision 2 as of 2011-02-28 22:31:40
Size: 1011
Editor: huwshimi
Comment:
Revision 3 as of 2011-02-28 22:51:24
Size: 1156
Editor: huwshimi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;"><<TableOfContents>>||

CSS

Files

The main file you will care about is:

lib/canonical/launchpad/icing/style-3-0.css.in

This is where Launchpad's styles live, with exception of third-party or external elements.

There is also a secondary stylesheet with some legacy styles in it. At any point you can remove styles from this stylesheet you should. Often styles are in this stylesheet because they are too specific and need to be made more generic. This style sheet lives here:

lib/canonical/launchpad/icing/style.css

Building

To build the css files run:

make css_combine

If you are dealing with sprites you may also have to run:

make sprite_image

More info on sprites

Fonts

The current font sizes are:

10px

smallest text

12px

body

14px

navigation

16px

h3

22px

h2

30px

h1

Colours

Default text

#333

Links

#03a

Links that only act on current page

#093

UI/CSS (last edited 2021-11-18 13:20:32 by cjwatson)