Merge branch 'master' of git@veekun.com:floof
[zzz-floof.git] / floof / public / layout.css
1 /*** Main layout ***/
2 body { font-family: sans-serif; font-size: 12px; }
3
4 #header { overflow: hidden /* float context */; padding: 1em; background: #c0c0c0; }
5 #header #user { float: right; }
6 #header #user form p { margin: 0; }
7
8 #body { padding: 1em; }
9
10 #footer { padding: 1em; background: #c0c0c0; }
11
12 .full {display:block;}
13
14
15 .artwork-grid li {display:inline;}
16
17 /*** Common bits and pieces ***/
18 h1 { margin: 0.5em 0 0.25em; font-size: 2em; border-bottom: 1px solid #404040; text-shadow: #a0a0a0 1px 1px 1px; }
19
20 a { color: #647cc4; font-weight: bold; text-decoration: none; pointer: cursor; }
21 a:visited { color: #48598e; }
22 a:hover { color: #8e4848; }
23
24 p { margin: 0.75em 0; line-height: 1.33; }
25 p img { vertical-align: middle; }
26
27 code { font-family: monospace; }
28 var { font-style: italic; background: #e8e8e8; }
29
30 input[type='button'], input[type='submit'], input[type='reset'] { cursor: pointer; }
31
32 /* Misc. classes */
33 .error { color: #c00000; font-weight: bold; }
34
35 /* General form layout */
36 dl.form { margin: 1em 0; padding-left: 1em; border-left: 0.5em solid gray; }
37 dl.form dt { padding-bottom: 0.25em; font-style: italic; }
38 dl.form dd { margin-bottom: 0.5em; }
39
40 .errors {color:red;}
41
42
43 /* Comments */
44 .comment {}
45 .comment .header { background: #d8d8d8; }
46
47
48
49 /*** Individual page layout ***/
50 .selected {color:red;}
51
52 /* Login */
53 form#big-login { text-align: center; }
54 form#big-login input { font-size: 2em; margin: 0 auto; }
55 form#big-login input#identity-url { width: 20em; }
56
57 dl#openid_examples { overflow: hidden /* new float context */; }
58 dl#openid_examples > dt { float: left; clear: left; width: 15.5em; margin-right: 0.5em; text-align: right; color: #2457a0; }
59 dl#openid_examples > dt:after { content: ':'; }
60 dl#openid_examples > dd { width: 32em; padding-left: 16em /* float width */; }
61 dl#openid_examples > dd:after { content: 'float clear'; display: block; clear: both; height: 0; visibility: hidden; }
62 dl#openid_examples > dt,
63 dl#openid_examples > dd { line-height: 1.5; }