]> git.plutz.net Git - serve0/blobdiff - style.css
integrated bookmark manager
[serve0] / style.css
index 0eba5175dcef460eee0efd58c479ec92f2c04e02..c19ee480200b79a12ad803f67262b7f3a38c7d65 100644 (file)
--- a/style.css
+++ b/style.css
@@ -1,6 +1,7 @@
 * {
   box-sizing: border-box;
   margin: 0; padding: 0;
+  text-align: left;
 }
 button { padding: .125em .5em; }
 a { color: inherit; text-decoration: none;}
@@ -26,23 +27,6 @@ body {
   min-height: 100%;
 }
 
-#prefs, #bookmarks,
-#multitag, #advsearch {
-  display: block;
-  position: relative;
-  overflow: hidden;
-  height: 0;
-  text-align: left;
-  background-color: #333;
-}
-#prefs:target,
-#advsearch:target,
-#multitag:target,
-#bookmarks:target {
-  height: auto;
-  overflow: visible;
-}
-
 #navigation{
   text-align: center;
   background-color: #333;
@@ -72,29 +56,56 @@ a[href="#advsearch"]:before {
   margin: 0 .5em;
 }
 
-#prefs {
-  position: absolute;
-  right: 0; width: 13em;
-  margin-left: auto;
+#prefs, #bookmarks, #multitag, #advsearch {
+  display: block; position: absolute;
+  height: 0; width: 100%; max-width: 100%;
   margin-top: -1px;
-  border: 1px solid;
-  border-top: none;
-  border-right: none;
   padding: 0 1em;
+  border: 1px none;
+  overflow: hidden;
+  background-color: #333;
   z-index: 1;
 }
+#bookmarks {
+  left: 0; width: 30%;
+  min-width: 300px;
+  margin-right: auto;
+}
+#prefs {
+  right: 0; width: 20%;
+  min-width: 200px;
+  margin-left: auto;
+}
+#advsearch {
+  text-align: center;
+}
+
+#advsearch:target, #multitag:target,
+#prefs:target, #bookmarks:target {
+  height: auto; overflow: visible;
+}
+#advsearch:target { border-style: none none solid none; }
+#prefs:target { border-style: none none solid solid; }
+#bookmarks:target { border-style: none solid solid none; }
 
+#advsearch a[href="#"],
+#multitag a[href="#"],
+#bookmarks a[href="#"],
 #prefs a[href="#"] {
   display: block;
   position: relative;
-  top: -1.125em;
-  margin-right: -.5em;
-  margin-bottom: -1em;
-  text-align: right;
-  font-size: 1.5em;
-  padding-right: .25em;
+  top: -2em; line-height: 2em;
+  margin: 0 -1em -1.5em -1em;
+  padding: 0 .75em;
+  font-weight: bold;
   background-color: inherit;
 }
+#prefs a[href="#"] { text-align: right; }
+#advsearch a[href="#"] { border-bottom: 1px solid; }
+#multitag a[href="#"] { top: -1em; line-height: 1em; }
+
+
+/* ###  Preferences Drawer  ### */
 
 #prefs label[for=prefs_ps] {
   font-weight: bold;
@@ -114,29 +125,33 @@ a[href="#advsearch"]:before {
   max-width: 85%;
 }
 
-#advsearch:target {
-  display: block;
-  position: relative;
-  text-align: center;
-  border-bottom: 1px solid;
+
+/* ###  Bookmarks Drawer  ### */
+
+#bookmarks input,
+#bookmarks button {
+  margin-bottom: 1.25em;
 }
-#advsearch a[href="#"] {
+#bookmarks label {
   display: block;
-  line-height: 2em;
-  background-color: inherit;
-  border-bottom: 1px solid;
-  text-align: left;
-  padding-left: .5em;
-  position: relative;
-  top: -2em;
+  font-weight: bold;
 }
+#bookmarks a.link {
+  display: inline-block;
+  font-size: .75em;
+  text-decoration: underline;
+  margin: 0 1em 1.25em 0;
+}
+
+
+/* ###  Advance Search Drawer  ###*/
+
 #advsearch .help {
   display: block;
-  margin: -1em .625em 1em .625em;
+  margin: -1em .5em 1em .5em;
   padding: .5em 1em;
   background-color: #444;
   line-height: 1.5em;
-  text-align: left;
 }
 
 #advsearch input.and {display: none;}
@@ -169,7 +184,6 @@ a[href="#advsearch"]:before {
   min-width: 200px;
   min-height: 12em;
   overflow: hidden;
-  text-align: left;
   vertical-align: top;
 }
 
@@ -209,6 +223,9 @@ a[href="#advsearch"]:before {
   width: 50%;
 }
 
+
+/* ###  Item Listing  ### */
+
 .list {
   position: relative;
   display: inline-block;
@@ -278,6 +295,7 @@ a[href="#advsearch"]:before {
   background-color: #4F4;
 }
 
+.itemlist,
 .pagination {
   display: block;
   text-align: center;
@@ -293,22 +311,18 @@ a[href="#advsearch"]:before {
 }
 
 #editing {
-  text-align: left;
   width: 100%;
   background-color: #333;
   border-top: 1px solid;
-  padding: .25em;
+  padding: .25em 0;
 }
 
 #index label:first-of-type { font-weight: bold; }
 #index input, #index button { margin-left: 1em;}
 
-#multitag:target a[href="#"] {
-  position: relative;
-  top: -1em;
-  padding-right: 10em;
-  background-color: inherit;
-}
+
+/* ###  Multi Tagging Drawer  ### */
+
 #multitag fieldset{
   display: inline-block;
   width: 25%; min-width: 250px;