Skip to content

Commit

Permalink
Merge branch 'gh-pages' of git://github.com/oreilly/couchdb-guide int…
Browse files Browse the repository at this point in the history
…o gh-pages
  • Loading branch information
magiconair committed Sep 3, 2010
2 parents 555497b + 226aeff commit 8ae3ff3
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 2 deletions.
2 changes: 1 addition & 1 deletion draft/security.html
Expand Up @@ -134,7 +134,7 @@ <h4 id="validation">Update Validations Again</h4>
function(newDoc, oldDoc, userCtx) {
if (newDoc.author) {
if(newDoc.author != userCtx.name) {
throw("forbidden": "You may only update documents with author " +
throw({"forbidden": "You may only update documents with author " +
userCtx.name});
}
}
Expand Down
65 changes: 64 additions & 1 deletion style/all/base.css
Expand Up @@ -490,6 +490,44 @@ container: 12*60px (unit) + 13*16px (gutter) = 928px = 58em = 100%


/* buying options */

#buy {
position: relative;
}

#offers {
position: absolute;
bottom: 0;
font-size: .625em;
margin: 0;
padding: 0;
list-style: none;
display: none;
}

.save_a_tree h3 {
display: none;
}

.save_a_tree h3 {
line-height: 1.5;
border-bottom: none;
}

#offers li {
display: inline;
margin-right: 1em;
padding-right: 1em;
border-right: 1px solid #F6f6F6;
}

#offers li:last-child {
margin-right: 0;
padding-right: 0;
border-right: none;
}

.shopping_cart_button_line_bottom,
.shopping_cart_button_line {
border-top: 1px solid #CCC;
margin-top: .5em;
Expand All @@ -498,6 +536,11 @@ container: 12*60px (unit) + 13*16px (gutter) = 928px = 58em = 100%
clear: both;
}

.shopping_cart_button_line_bottom {
margin-bottom: 7em;
}


.shopping_cart_button_line:first-child {
border-top: none;
}
Expand Down Expand Up @@ -531,10 +574,18 @@ div.header {
line-height: 1;
}

.safari_read_now,
.ebook_formats,
.whatisthis {
font-size: .75em;
}

.safari_read_now {
float: right;
line-height: 2;
}



/* search form */
/* custom search form styles */
Expand Down Expand Up @@ -689,10 +740,16 @@ a.anchor:hover {

iframe {
width: 100%;
height: 360px;
min-height: 430px;
height:auto !important;
height: 430px;
overflow: hidden;
}

iframe body {
background: #FFF;
}

/* fix up iframe document styles */

.buybuttonswidget {
Expand Down Expand Up @@ -791,4 +848,10 @@ code {
input[type="text"] {
width: 100px;
}

iframe {
min-height: 400px;
height:auto !important;
height: 400px;
}

0 comments on commit 8ae3ff3

Please sign in to comment.