Rearranged user/art relations.
[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 h2 { margin: 0.5em 0 0.25em; font-size: 1.5em; border-bottom: 1px dotted #606060; text-shadow: #a0a0a0 1px 1px 1px; }
20
21 a { color: #647cc4; font-weight: bold; text-decoration: none; pointer: cursor; }
22 a:visited { color: #48598e; }
23 a:hover { color: #8e4848; }
24
25 p { margin: 0.75em 0; line-height: 1.33; }
26 p img { vertical-align: middle; }
27
28 code { font-family: monospace; }
29 var { font-style: italic; background: #e8e8e8; }
30
31 input[type='button'], input[type='submit'], input[type='reset'] { cursor: pointer; }
32
33 /* Misc. classes */
34 .error { color: #c00000; font-weight: bold; }
35
36 /* General form layout */
37 dl.form { margin: 1em 0; padding-left: 1em; border-left: 0.5em solid gray; }
38 dl.form dt { padding-bottom: 0.25em; font-style: italic; }
39 dl.form dd { margin-bottom: 0.5em; }
40
41 .errors {color:red;}
42
43
44 /* Comments */
45 .comment {}
46 .comment .header { background: #d8d8d8; }
47
48
49
50 /*** Individual page layout ***/
51 .selected {color:red;}
52
53 /* Login */
54 form#big-login { text-align: center; }
55 form#big-login input { font-size: 2em; margin: 0 auto; }
56 form#big-login input#identity-url { width: 20em; }
57
58 dl#openid_examples { overflow: hidden /* new float context */; }
59 dl#openid_examples > dt { float: left; clear: left; width: 15.5em; margin-right: 0.5em; text-align: right; color: #2457a0; }
60 dl#openid_examples > dt:after { content: ':'; }
61 dl#openid_examples > dd { width: 32em; padding-left: 16em /* float width */; }
62 dl#openid_examples > dd:after { content: 'float clear'; display: block; clear: both; height: 0; visibility: hidden; }
63 dl#openid_examples > dt,
64 dl#openid_examples > dd { line-height: 1.5; }