End chapter 10
[depot.git] / public / stylesheets / depot.css
index d3b1341d7468c7483c003daf64562ea9bdb31290..5579185ff85be1c6f7e795b8dc96d2e969cc374d 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;
@@ -72,6 +84,7 @@ h1 {
 
 #banner img {
   float: left;
+  padding: 2px 15px;
 }
 
 #columns {
@@ -112,18 +125,24 @@ h1 {
   font-family: sans-serif;
 }
 
-#store .entry img {
+#store .entry img, #store .entry form input[type="image"]  {
   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; 
@@ -148,6 +167,74 @@ h1 {
 }
 
 
+/* 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 */
+
+/* START:cartside */
+/* Styles for the cart in the sidebar */
+
+#cart, #cart table {
+  font-size: smaller;
+  color:     white;
+}
+
+#cart table {
+  border-top:    1px dotted #595;
+  border-bottom: 1px dotted #595;
+  margin-bottom: 10px;
+}
+/* END:cartside */
+
+/* START:form */
+/* Styles for order form */
+
+.depot-form fieldset {
+  background: #efe;
+}
+
+.depot-form legend {
+  color: #dfd;
+  background: #141;
+  font-family: sans-serif;
+  padding: 0.2em 1em;
+}
+
+.depot-form label {
+  width: 5em;
+  float: left;
+  text-align: right;
+  padding-top: 0.2em;
+  margin-right: 0.1em;
+  display: block;
+}
+
+.depot-form select, .depot-form textarea, .depot-form input {
+  margin-left: 0.5em;
+}
+
+.depot-form .submit {
+  margin-left: 4em;
+}
+
+.depot-form div {
+  margin: 0.5em 0;
+}
+/* END:form */
+
 /* The error box */
 
 .fieldWithErrors {