Folding of taq lists on main page.
[wolnelektury.git] / wolnelektury / media / css / master.css
index b86875a..041de4e 100644 (file)
@@ -89,7 +89,7 @@ em {
 /* ======================== */
 #footer {
     border-top: 0.1em solid #999;
-    color: #999;
+    color: #777;
     font-size: 0.8em;
     padding-top: 0.5em;
     margin: 2em 0 0 0;
@@ -157,24 +157,32 @@ em {
     color: #444;
 }
 
-/* TODO: Shouldn't be needed */
-#book-detail #search-form {
-    padding: 0.75em 0.5em;
+.ac_input {
+    width: 18em;
 }
 
-.ac_input {
-    width: 20em;
+.ac_input {
+    width: 28em;
 }
 
 
 /* ============= */
 /* = Tags list = */
 /* ============= */
+#intro {
+    margin: 0 0 2.5em 0;
+}
+
+#tags-description {
+    color: #777;
+    margin: 0 0.5em -0.75em 0.5em;
+}
+
 #main-page #tags-list {
-    margin-right: 29em;
+    margin-right: 33%;
 }
 
-#main-page #themes-list ul, #main-page #categories-list ul {
+#categories-list ul, #themes-list ul {
     -moz-column-width: 12em;
     -webkit-column-width: 12em;
     column-width: 12em;
@@ -191,10 +199,27 @@ em {
     border-right: 0.15em solid #E3D888;
 }
 
-#books #tags-list, #book-detail #tags-list {
+#tagged-object-list #tags-list, #book-detail #tags-list {
     margin-left: 39em;
 }
 
+#book-info, #categories-list {
+    float: left;
+    width: 47.5%;
+}
+
+#themes-list {
+    margin-left: 52.5%;
+}
+
+#tagged-object-list #categories-list, #book-detail #book-info {
+    width: 12em;
+}
+
+#tagged-object-list #themes-list, #book-detail #themes-list {
+    margin-left: 14em;
+}
+
 #tags-list ol, #tags-list ul {
     padding: 0;
     margin: 0.3em 0 1.2em 0;
@@ -206,35 +231,59 @@ em {
     margin: 0;
 }
 
-#main-page #categories-list {
+#books-list {
+    width: 38em;
     float: left;
-    width: 47.5%;
 }
 
-#main-page #themes-list {
-    margin-left: 52.5%;
+ul.all-tags {
+    display: none;
 }
 
-#books-list {
-    width: 38em;
-    float: left;
+div.shown-tags p {
+    margin: -0.5em 0 0 0;
+    text-align: right;
 }
 
+/* ============== */
+/* = Propaganda = */
+/* ============== */
+#propaganda {
+    float: right;
+    width: 30%;
+    margin: 0;
+    padding: 2em 1em 1em;
+}
+
+
 /* ===================== */
-/* = Latest blog posts = */
+/* = Other info        = */
 /* ===================== */
 #latest-blog-posts {
     padding: 0.5em;
-    margin-top: 0.5em;
+    float: left;
+    width: 30%;
 }
 
 #latest-blog-posts ol {
     padding: 0 0 0 1.5em;
-    margin: 0.3em 0 0 0;
+    margin: 1em 0 0 0;
     list-style-type: square;
     color: #D13628;
 }
 
+#you-can-help {
+    float: right;
+    padding: 0.5em;
+    width: 30%;
+}
+
+#about-us {
+    padding: 0.5em;
+    margin-left: 35%;
+    margin-right: 35%;
+}
+
 /* =============== */
 /* = Description = */
 /* =============== */
@@ -243,7 +292,7 @@ em {
     text-align: justify;
 }
 
-#toggle-description, #books .pagination {
+#toggle-description, #tagged-object-list .pagination {
     width: 100%;
     height: 1.5em;
     background-color: #EEE;
@@ -425,14 +474,27 @@ em {
     padding: 1em;
 }
 
-#user-shelves-window ul {
+.shelf-list {
     list-style: none;
     padding: 0;
 }
 
-#user-shelves-window a.delete-shelf {
+.shelf-list li {
+    padding: 0.25em;
+    margin: 0 -0.25em;
+}
+
+.shelf-list a.delete-shelf {
     color: #900;
     float: right;
+    padding: 0.25em 0.25em 0.25em 1em;
+    margin: -0.25em;
+}
+
+.shelf-list a.delete-shelf:active, .shelf-list a.delete-shelf:hover {
+    color: #FFF;
+    background-color: #900;
+    text-decoration: none;
 }
 
 /* ======================== */