PageRenderTime 130ms CodeModel.GetById 69ms app.highlight 5ms RepoModel.GetById 55ms app.codeStats 0ms

/kai/public/css/base.css

https://bitbucket.org/bbangert/kai/
CSS | 83 lines | 56 code | 1 blank | 26 comment | 0 complexity | bfae86d4d62589472c0d536623162830 MD5 | raw file
 1/*
 2Copyright (c) 2008, Yahoo! Inc. All rights reserved.
 3Code licensed under the BSD License:
 4http://developer.yahoo.net/yui/license.txt
 5version: 2.5.2
 6*/
 7/* base.css, part of YUI's CSS Foundation */
 8h1 {
 9	/*18px via YUI Fonts CSS foundation*/
10	font-size:138.5%;  
11}
12h2 {
13	/*16px via YUI Fonts CSS foundation*/
14	font-size:123.1%; 
15}
16h3 {
17	/*14px via YUI Fonts CSS foundation*/
18	font-size:108%;  
19}
20h1,h2,h3 {
21	/* top & bottom margin based on font size */
22	margin:1em 0;
23}
24h1,h2,h3,h4,h5,h6,strong {
25	/*bringing boldness back to headers and the strong element*/
26	font-weight:bold; 
27}
28abbr,acronym {
29	/*indicating to users that more info is available */
30	border-bottom:1px dotted #000;
31	cursor:help;
32} 
33em {
34	/*bringing italics back to the em element*/
35	font-style:italic;
36}
37blockquote,ul,ol,dl {
38	/*giving blockquotes and lists room to breath*/
39	margin:1em;
40}
41ol,ul,dl {
42	/*bringing lists on to the page with breathing room */
43	margin-left:2em;
44}
45ol li {
46	/*giving OL's LIs generated numbers*/
47	list-style: decimal outside;	
48}
49ul li {
50	/*giving UL's LIs generated disc markers*/
51	list-style: disc outside;
52}
53dl dd {
54	/*giving UL's LIs generated numbers*/
55	margin-left:1em;
56}
57th,td {
58	/*borders and padding to make the table readable*/
59	border:1px solid #000;
60	padding:.5em;
61}
62th {
63	/*distinguishing table headers from data cells*/
64	font-weight:bold;
65	text-align:center;
66}
67caption {
68	/*coordinated margin to match cell's padding*/
69	margin-bottom:.5em;
70	/*centered so it doesn't blend in to other content*/
71	text-align:center;
72}
73p,fieldset,table,pre {
74	/*so things don't run into each other*/
75	margin-bottom:1em;
76}
77/* setting a consistent width, 160px; 
78   control of type=file still not possible */
79input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em;}
80
81.error-message {
82    color: #f00;
83}