X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/366dedf71b3cdd775251c7cea4b1519b44b37164..d2cfab09f98980d5c1d433a9e75eb65e0b13b0aa:/floof/public/layout.css?ds=sidebyside diff --git a/floof/public/layout.css b/floof/public/layout.css index a098b5e..6f289a4 100644 --- a/floof/public/layout.css +++ b/floof/public/layout.css @@ -1,8 +1,11 @@ /*** Main layout ***/ body { font-family: sans-serif; font-size: 12px; } -#header { padding: 1em; background: #c0c0c0; } -#header #user { text-align: right; } +#header { overflow: hidden /* float context */; padding: 1em; background: #c0c0c0; } +#header #user { float: right; } +#header #user form p { margin: 0; } + +#flash-messages { margin: 1em; padding: 1em; border: 3px double #c0c0c0; } #body { padding: 1em; } @@ -14,14 +17,50 @@ body { font-family: sans-serif; font-size: 12px; } .artwork-grid li {display:inline;} /*** Common bits and pieces ***/ -/* General form layout */ -a {color:blue; text-decoration:none; pointer:cursor;} /* Who needs visited links */ +h1 { margin: 0.5em 0 0.25em; font-size: 2em; border-bottom: 1px solid #404040; text-shadow: #a0a0a0 1px 1px 1px; } +h2 { margin: 0.5em 0 0.25em; font-size: 1.5em; border-bottom: 1px dotted #606060; text-shadow: #a0a0a0 1px 1px 1px; } + +a { color: #647cc4; font-weight: bold; text-decoration: none; pointer: cursor; } +a:visited { color: #48598e; } +a:hover { color: #8e4848; } + +p { margin: 0.75em 0; line-height: 1.33; } +p img { vertical-align: middle; } + +code { font-family: monospace; } +var { font-style: italic; background: #e8e8e8; } + +input[type='button'], input[type='submit'], input[type='reset'] { cursor: pointer; } + +/* Misc. classes */ +.error { color: #c00000; font-weight: bold; } +/* General form layout */ dl.form { margin: 1em 0; padding-left: 1em; border-left: 0.5em solid gray; } dl.form dt { padding-bottom: 0.25em; font-style: italic; } dl.form dd { margin-bottom: 0.5em; } +.errors {color:red;} + + +/* Comments */ +.comment {} +.comment .header { background: #d8d8d8; } + /*** Individual page layout ***/ .selected {color:red;} + +/* Login */ +form#big-login { text-align: center; } +form#big-login input { font-size: 2em; margin: 0 auto; } +form#big-login input#identity-url { width: 20em; } + +dl#openid_examples { overflow: hidden /* new float context */; } +dl#openid_examples > dt { float: left; clear: left; width: 15.5em; margin-right: 0.5em; text-align: right; color: #2457a0; } +dl#openid_examples > dt:after { content: ':'; } +dl#openid_examples > dd { width: 32em; padding-left: 16em /* float width */; } +dl#openid_examples > dd:after { content: 'float clear'; display: block; clear: both; height: 0; visibility: hidden; } +dl#openid_examples > dt, +dl#openid_examples > dd { line-height: 1.5; }