replaced old skool highlight class with :target, removed amazon block from css

This commit is contained in:
Richard Rutter
2014-02-28 09:43:53 +00:00
parent 80f34a3b0c
commit 695f4b98ab

View File

@@ -377,7 +377,7 @@ ol#toc ol ol {
list-style:none; list-style:none;
} }
.highlight { #toc *:target {
background: #f2ecda; background: #f2ecda;
} }
@@ -580,49 +580,6 @@ div.ex2-1-9 {
/* @end */ /* @end */
/* @group amazon box */
.amzbox {
position:absolute;
width:380px;
}
.amzbox p, .amzbox ul {
margin: 0;
}
.amzbox p {
padding: 1.5em 38px 38px 51px;
font-style: italic;
font-family: premiera, 'premiera italic', georgia, serif;
background: url(/i/amz-drop.png) bottom no-repeat;
}
.amzbox p.first {
padding: 36px 38px 1.5em 38px;
background:url(/i/amz-drop.png) top no-repeat;
font-style: normal;
}
.amzbox img {
float:left;
width: 57px;
height: 24px;
margin: 3px 1em 1em 0;
}
.amzbox ul {
padding: 0 38px 0 51px;
list-style-type: square;
background: url(/i/amz-drop.png) center no-repeat;
}
#amazonswitcher label {
white-space:nowrap;
}
/* @end */
/* @group deck ad */ /* @group deck ad */
#deck { #deck {