End chapter 8
[depot.git] / public / stylesheets / depot.css
index bb9c8b5e6c89ba60dfaabefde5f4e109df3fc5d9..bf77b4bd521c747695f222b5aea7359032a8684d 100644 (file)
@@ -1,5 +1,17 @@
 /* Global styles */
 
+/* Global styles */
+
+/* START:notice */
+#notice {
+  border: 2px solid red;
+  padding: 1em;
+  margin-bottom: 2em;
+  background-color: #f0f0f0;
+  font: bold smaller sans-serif;
+}
+/* END:notice */
+
 h1 {
         font:  150% sans-serif;
         color: #226;
@@ -40,6 +52,10 @@ h1 {
         margin: 0;
 }
 
+#product-list .list-description .unavailable {
+        color: #f00;
+}
+
 #product-list .list-actions {
   font-size:    x-small;
   text-align:   right;
@@ -54,6 +70,48 @@ h1 {
   background:   #f8b0f8;
 }
 
+
+/* Styles for main page */
+#banner {
+  background: #9c9 ;
+  padding-top: 10px;
+  padding-bottom: 10px;
+  border-bottom: 2px solid;
+  font: small-caps 40px/40px "Times New Roman", serif;
+  color: #282 ;
+  text-align: center;
+}
+
+#banner img {
+  float: left;
+  padding: 2px 15px;
+}
+
+#columns {
+  background: #141 ;
+}
+
+#main {
+  margin-left: 13em;
+  padding-top: 4ex;
+  padding-left: 2em;
+  background: white;
+}
+
+#side {
+  float: left;
+  padding-top: 1em;
+  padding-left: 1em;
+  padding-bottom: 1em;
+  width: 12em;
+  background: #141 ;
+}
+
+#side a {
+  color: #bfb ;
+  font-size: small;
+}
+
 /* An entry in the store catalog */
 
 #store  .entry {
@@ -70,15 +128,21 @@ h1 {
 #store .entry img {
   width: 75px;
   float: left;
+  border: 0;
 }
 
-
 #store .entry h3 {
  margin-top: 0;
  margin-bottom: 2px;
  color: #227;
 }
 
+#store .entry h3 a:link, #store .entry h3 a:visited, #store .entry h3 a:active {
+ color: #227;
+ text-decoration: none;
+}
+
 #store .entry p {
  margin-top: 0.5em; 
  margin-bottom: 0.8em; 
@@ -98,6 +162,29 @@ h1 {
   margin-right: 2em;
 }
 
+#store .entry form, #store .entry form div {
+  display: inline;
+}
+
+
+/* START:cartmain */
+/* Styles for the cart in the main page */
+
+.cart-title {
+  font: 120% bold;
+}
+
+.item-price, .total-line {
+  text-align: right;
+}
+
+.total-line .total-cell {
+  font-weight: bold;
+  border-top: 1px solid #595;
+}
+/* END:cartmain */
+
+
 /* The error box */
 
 .fieldWithErrors {