public/stylesheets/default.css in parlement-0.1 vs public/stylesheets/default.css in parlement-0.2

- old
+ new

@@ -20,35 +20,36 @@ max-width:100%; } blockquote { font-style:italic; } h1, h2 { - text-align:left; margin:0px; - padding-top:1.1em; padding-left:1%; - padding-bottom:2%; } + padding-bottom:1%; } +h1 { padding-top:0.7em; } h2 { background:#ddd; - margin-top:1em; + /* Trouble for ie: */ + /*margin-top:1em;*/ + padding-top:1.2em; font-size:larger; font-weight:normal; } +a:link, a:visited { color:#369; } +a:hover, a:active { + color:#060; + background:#ff8; } + .notice, .warning, .error { font-size:larger; font-weight:bold; text-align:center; } .notice { color:#080; } .warning { color:#f84; } .error { color:#f00; } -.version { - color:#888; - font-size:smaller; - float:right; } - .login { margin-top:1em; margin-left:2em; } .logout { float:left; @@ -58,10 +59,11 @@ text-decoration:none; font-size:medium; font-style:italic; padding-left:1%; padding-right:1%; } +.helpLink { cursor:help; } .helpLinkClose { text-decoration:line-through; } .help { padding-top:1em; font-size:medium; @@ -72,25 +74,13 @@ display:block; font-size:larger; font-weight:bolder; } -.parent { - text-align:center; - font-size:smaller; - font-weight:normal; - font-style:italic; - margin:0px; - padding-right:2em; } - -a:link, a:visited { color:#369; } -a:hover, a:active { - color:#060; - background:#ff8; } - .sidebar { float:right; + clear:right; font-size:smaller; padding-left:1em; width:30%; text-align:center; background:white; } @@ -99,11 +89,14 @@ font-size:larger; font-weight:bolder; letter-spacing:0.3em; } .box { - border:outset 2px #889; + /* Due to IE, I recode the outset effet */ + border:solid 2px #668; + border-top-color:#ccd; + border-left-color:#ccd; background:#ccc; margin-top:1em; padding-bottom:1em; } .boxTitle { @@ -129,32 +122,62 @@ .boxMore { font-weight:bold; text-align:right; } + +.parent { + text-align:center; + font-size:smaller; + font-style:italic; + padding-bottom:1.4em; /* To make sure no following author gest garbled */ } + .author { - margin-right:0.5em; font-style:italic; float:left; } +/* Because of a discrepancy with ie: */ +.author:after { + content:" "; + white-space:pre; } .eltInfo { float:right; - margin-left:1em; } + margin-left:0.5em; } +.created_on { + margin-right:0.5em; + font-size:smaller; + font-weight:normal; + float:right; } + .eltBody { padding-left:1%; } .eltSub, .help { + border-bottom:solid 1px white; /* Or IE would add strange vertical lines in + the close part */ margin-left:2%; - border-left:solid 2px #ddd; - padding-left:1%; } + border-left:solid 2px #bbb; + padding-left:2%; } .pageCount { margin-left:2em; margin-right:2em; font-size:smaller; letter-spacing:0.3em; } -.eltSubsClose { margin-left:1%; font-size:smaller; } +.eltSubsClose { + margin-left:1%; + font-size:smaller; } + +.version, .version:link, .version:visited, .version:hover, .version:active { + display:block; + text-align:right; + clear:right; /* To make sure the sidebar is not element at the bottom */ + font-size:smaller; + color:#aaa; + background:transparent; + cursor:default; + text-decoration:none; /* .link { padding-left:1em; font-weight:bold;