# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1277596666 18000 # Node ID cb9a7c6c3800d8c29ecd9188d41211b534ca5f2f # Parent c2043cd474cd939fa1952a2f90fdb9569a9733f4 Implement rounded boxes and titles for holding content diff -r c2043cd474cd -r cb9a7c6c3800 static/djangodocs.css --- a/static/djangodocs.css Sat Jun 26 17:37:27 2010 -0500 +++ b/static/djangodocs.css Sat Jun 26 18:57:46 2010 -0500 @@ -2,31 +2,64 @@ html { background:#DEDFDB; color: #575955;} body { font:16px/1.5 Verdana,sans-serif; color: white;} #header { - background: #4877B1; color: white; - padding: 4px 0 12px 0; text-align: left; + background: #4877B1; color: white; + padding: 4px 0 12px 0; text-align: left; /* for IE */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=' #6F9DCD', endColorstr='#4877B1'); /* for webkit browsers */ background: -webkit-gradient(linear, left top, left bottom, from( #6F9DCD), to(#4877B1)); /* for firefox 3.6+ */ - background: -moz-linear-gradient(top, #6F9DCD, #4877B1); + background: -moz-linear-gradient(top, #6F9DCD, #4877B1); } #header h1 a { color: white; margin-left: 1em} -#columnwrap { - background: #DFE0DC; color: black; +#columnwrap { + background: #DFE0DC; color: black; background-image: url("agora-grey-large.png"); background-position: bottom right; background-repeat: no-repeat; + overflow: hidden; + width: 85%; + margin: 0 auto; } -#footer { - background-color:#8F918C; font-size:80%; +#footer { + background-color:#8F918C; font-size:80%; padding-top: 0.75em; text-align:center; padding-bottom: 0.75em; } + +.info{ + overflow: hidden; +} + +.whitebox{ + background-color: white; + color: black; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + border: 1px solid #000; + float: left; + padding: 10px; + margin-top: 1em; + margin-bottom: 1em; +} + #copyright {margin-left: 1em;} #agora-logo{float: right;} + +#content-main{ + float: left; + overflow: hidden; + width: 60%; +} + +#content-related{ + float: right; + overflow: hidden; + width: 30%; +} + /*** links ***/ a {text-decoration: none;} a img {border: none;} @@ -38,7 +71,7 @@ #nav-top {height: 0.85em; background:#F8BF69; width: 100%; position: absolute;} #nav-bot {height: 0.85em; background:#FCAF3E; width: 100%; position: absolute;} #nav-main{position: relative; z-index: 1; height: 0.85em;} -#nav{ +#nav{ margin: 0; font-size: 12px; text-align: right; font-weight: bold; width: 100%; font-family: "Lucida Sans Unicode", "Bitstream Vera Sans", "Trebuchet Unicode MS", "Lucida Grande", Verdana, Helvetica, sans-serif; @@ -76,10 +109,15 @@ /*** basic styles ***/ dd { margin-left:15px; } -h1,h2,h3,h4 { margin-top:1em; font-family:"Lucida Sans Unicode", "Bitstream Vera Sans", "Trebuchet Unicode MS", "Lucida Grande", Verdana, Helvetica, sans-serif; font-weight:normal; } +h1,h2,h3,h4 { + margin-top:1em; + font-family:"Lucida Sans Unicode", "Bitstream Vera Sans", "Trebuchet Unicode MS", "Lucida Grande", Verdana, Helvetica, sans-serif; + font-weight:normal; +} + h1 { font-size:218%; margin-bottom:.4em; line-height:1.1em; } -h2 { font-size:175%; margin-bottom:.6em; line-height:1.2em;} -h3 { font-size:150%; font-weight:bold; margin-bottom:.2em;} +h2 { font-size:175%; margin-bottom:.6em; line-height:1.2em; font-weight:bold;} +h3 { font-size:150%; font-weight:normal; margin-bottom:.2em; text-align:left;} h4 { font-size:125%; font-weight:bold; margin-top:1.5em; margin-bottom:3px; } div.figure { text-align: center; } div.figure p.caption { font-size:1em; margin-top:0; margin-bottom:1.5em; color: #555;} diff -r c2043cd474cd -r cb9a7c6c3800 templates/base.djhtml --- a/templates/base.djhtml Sat Jun 26 17:37:27 2010 -0500 +++ b/templates/base.djhtml Sat Jun 26 18:57:46 2010 -0500 @@ -29,7 +29,7 @@