5 * Ok, I admit it. I fooled you. This isn't a "reset" stylesheet. Instead this
6 * is the place where you should set (not reset) the default styling for all
9 * @see http://meiert.com/en/blog/20080419/reset-style-sheets-are-bad/
10 * @see http://snook.ca/archives/html_and_css/no_css_reset/
17 * Our font size and line height declarations are based on the following
19 * - http://www.alistapart.com/articles/howtosizetextincss
20 * - http://24ways.org/2006/compose-to-a-vertical-rhythm
22 * All modern browsers use a 16px default font size. Specifying the font-size
23 * and line-height in ems (relative to the 16px default font) allows the user
24 * to resize the font in the browser and produces the most consistent results
25 * across different browsers.
28 font-size: 100%; /* Fixes exaggerated text resizing in IE6 and IE7 */
34 * To use a 12px font size on the page, delete the 14px declarations.
35 * to use a 14px font size on the page, delete the 12px declarations.
38 /* Use a 12px base font size with a 18px line height */
39 font-size: 0.75em; /* 16px x .75 = 12px */
40 line-height: 1.5em; /* 12px x 1.5 = 18px */
42 /* Use a 14px base font size with a 21px line height */
43 font-size: 0.875em; /* 16px x .875 = 14px */
44 line-height: 1.5em; /* 14px x 1.5 = 21px */
48 * Instead of relying on the fonts that are available on a user's computer, you
49 * can use web fonts which, like images, are resources downloaded to the user's
50 * browser. Because of the bandwidth and rendering resources required, web fonts
51 * should be used with care.
53 * Numerous resources for web fonts can be found on Google. Here are a few
54 * websites where you can find Open Source fonts to download:
55 * - http://www.fontsquirrel.com/fontface
56 * - http://www.theleagueofmoveabletype.com
58 * In order to use these fonts, you will need to convert them into formats
59 * suitable for web fonts. We recommend the free-to-use Font Squirrel's
60 * Font-Face Generator:
61 * http://www.fontsquirrel.com/fontface/generator
63 * The following is an example @font-face declaration. This font can then be
64 * used in any ruleset using a property like this: font-family: Example, serif;
67 font-family: 'Example';
68 src: url('../fonts/example.eot');
69 src: url('../fonts/example.eot?iefix') format('eot'),
70 url('../fonts/example.woff') format('woff'),
71 url('../fonts/example.ttf') format('truetype'),
72 url('../fonts/example.svg#webfontOkOndcij') format('svg');
89 /* The following font family declarations are based on the Microsoft core web
90 * fonts which are common fonts available on most computer systems. The DejaVu
91 * and Nimbus Sans fonts are commonly available on Linux systems where the MS
92 * fonts are less common. Tahoma and Helvetica are also widely available.
94 * A user's web browser will look at the comma-separated list and will
95 * attempt to use each font in turn until it finds one that is available
96 * on the user's computer. The final "generic" font (sans-serif, serif or
97 * monospace) hints at what type of font to use if the web browser doesn't
98 * find any of the fonts in the list.
100 font-family: "Times New Roman", Times, Georgia, "DejaVu Serif", serif;
101 font-family: Times, "Times New Roman", Georgia, "DejaVu Serif", serif;
102 font-family: Georgia, "Times New Roman", "DejaVu Serif", serif;
104 font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif;
105 font-family: Tahoma, Verdana, "DejaVu Sans", sans-serif;
106 font-family: Helvetica, Arial, "Nimbus Sans L", sans-serif;
107 font-family: Arial, Helvetica, "Nimbus Sans L", sans-serif;
109 font-family: "Courier New", "DejaVu Sans Mono", monospace;
113 font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif;
118 font-family: "Courier New", "DejaVu Sans Mono", monospace;
122 * Block-level elements
124 * To achieve a pleasant vertical rhythm, we use the 1.5em line height of our
125 * base font as the top and bottom margins for our block level elements and make
126 * the line heights of any larger fonts be a multiple of 1.5 ems. For more
127 * information, see http://24ways.org/2006/compose-to-a-vertical-rhythm
129 h1, h2, h3, h4, h5, h6
132 hr, table, fieldset {
141 /* 0.75em is equivalent to 1.5em in the page's base font. font. Remember, a
142 margin specified in ems is relative to the element's font-size, not to the
143 pages' base font size. So, for example, if we want a 1.5em margin (relative
144 to the base font), we have to divide that length by the element's
145 font-size: 1.5em / 2em = 0.5em */
150 margin: 1em 0; /* Equivalent to 1.5em in the page's base font: 1.5 / 1.5 = 1em */
155 margin: 1.154em 0; /* Equivalent to 1.5em in the page's base font: 1.5 / 1.3 = 1.154 */
162 margin: 1.364em 0; /* Equivalent to 1.5em in the page's base font: 1.5 / 1.1 = 1.364 */
165 /* Other block-level elements */
175 font-size: 1.1em; /* Monospace fonts can be hard to read */
176 margin: 1.364em 0; /* Equivalent to 1.5em in the page's base font: 1.5 / 1.1 = 1.364 */
181 border: 1px solid #666;
190 * We need to standardize the list item indentation.
194 margin-left: 0; /* LTR */
195 padding-left: 2em; /* LTR */
198 .item-list ul /* Drupal overrides */ {
200 padding: 0 0 0 2em; /* LTR */
205 .item-list ul ul, .item-list ul ol,
206 .item-list ol ol, .item-list ol ul {
219 li.leaf /* Drupal override */ {
224 ul { list-style-type: disc; }
225 ul ul { list-style-type: circle; }
226 ul ul ul { list-style-type: square; }
227 ul ul ul ul { list-style-type: circle; }
228 ol { list-style-type: decimal; }
229 ol ol { list-style-type: lower-alpha; }
230 ol ol ol { list-style-type: decimal; }
241 margin: 0 0 0 2em; /* LTR */
248 * Drupal provides table styling which is only useful for its admin section
249 * forms, so we override this default CSS. (We set it back in forms.css.)
252 border-collapse: collapse;
253 /* width: 100%; */ /* Prevent cramped-looking tables */
257 text-align: left; /* LTR */
270 border-bottom: 1px dotted #666;
275 abbr.created /* Date-based "abbreviations" show computer-friendly timestamps which are not human-friendly. */ {
303 * The order of link states are based on Eric Meyer's article:
304 * http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states