]> git.deb.at Git - deb/packages.git/blobdiff - static/debian.css
fix lang-selector width
[deb/packages.git] / static / debian.css
index fcef8bedbe14e01465eb6b4835d549735a2dc03f..9bf6a638065a9837ff601b2e31c074d27585f2fc 100644 (file)
@@ -830,3 +830,36 @@ div.tabular table > td:fist-child, table.tabular  > td:fist-child, table.vendors
        float: left;
        margin-right: 1em;
 }
+
+#langSelector {
+        color: #0035c7;
+        text-decoration: underline;
+}
+#langSelector:hover {
+        cursor: pointer;
+        text-decoration: none;
+}
+#langContainer {
+        #background-color: #f5f6f7;
+        background-color: white;
+        background-image:url('Pics/gradient-flipped.png');
+        background-position: bottom;
+        background-repeat: repeat-x;
+        display: none;
+        position: absolute;
+        left: -1em;
+        border-bottom: 1px solid #dfdfe0;
+        margin-right: -1em;
+        min-width: 100%;        /* make it reach the right edge if only a few
+                                   languages are available */
+        padding: 0.5em 1em 1em 1em;
+}
+#langContainer a {
+        margin-right: 1em;
+}
+#pageLang {
+    position: relative;
+}
+#pageLang:hover #langContainer {
+    display: block;
+}