Added a full-blown login page with a description of OpenID.
[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 /* General form layout */
33 dl.form { margin: 1em 0; padding-left: 1em; border-left: 0.5em solid gray; }
34 dl.form dt { padding-bottom: 0.25em; font-style: italic; }
35 dl.form dd { margin-bottom: 0.5em; }
36
37 /* Comments */
38 .comment {}
39 .comment .header { background: #d8d8d8; }
40
41
42
43 /*** Individual page layout ***/
44 .selected {color:red;}
45
46 /* Login */
47 form#big-login { text-align: center; }
48 form#big-login input { font-size: 2em; margin: 0 auto; }
49 form#big-login input#identity-url { width: 20em; padding-left: 16px; }
50
51 dl#openid_examples { overflow: hidden /* new float context */; }
52 dl#openid_examples > dt { float: left; clear: left; width: 15.5em; margin-right: 0.5em; text-align: right; color: #2457a0; }
53 dl#openid_examples > dt:after { content: ':'; }
54 dl#openid_examples > dd { width: 32em; padding-left: 16em /* float width */; }
55 dl#openid_examples > dd:after { content: 'float clear'; display: block; clear: both; height: 0; visibility: hidden; }
56 dl#openid_examples > dt,
57 dl#openid_examples > dd { line-height: 1.5; }