Use full opacity for dropdown text.
[enc-static.git] / css / main.css
index 829694d9412054d67eaaae5b7c8a6f77e6d9c346..8d2cfd8d11aadd72eaf6a2e2f5e7d652c3439eae 100644 (file)
@@ -282,7 +282,7 @@ a:focus > img + strong {
                padding: .25em;
 }
 
-#header ul.os .share {
+#header ul.os .spacer {
                padding: .25em 0 .25em 4em;
 }
 
@@ -367,78 +367,107 @@ a:focus > img + strong {
                margin: .5em 0;
 }
 
-/* Images inside .main
+/* Images
 */
 
-.main ul.images:before, .main ul.images:after  {
+ul.images:before, ul.images:after  {
     content: " ";
     display: table;
 }
 
-.main ul.images:after {
+ul.images:after {
     clear: both;
 }
 
-.main ul.images {
+ul.images {
                padding: 0.5em 0;
 }
 
+ul.images li {
+               margin-bottom: 1em;
+}
 
-/* Troubleshooting panel
-*/
+ul.images li > img {
+               width: 100%;
+               max-width: 600px;
+               height: auto;
+}
+
+.sidebar > p > img {
+               width: 100%;
+               max-width: 600px;
+               height: auto;
+}
+
+/* Troubleshooting panel and dropdown */
 
 .troubleshooting {
-               margin-top: .8em;
+    margin-top: .8em;
+}
+
+.dropdown > h4 {
+    font-size: .85em;
+    width: 140px;
+    text-align: center;
+    display: inline-block;
+    cursor: pointer;
+    letter-spacing: 2px;
+    padding: .25em .5em;
+    color: #2f5faa;
+    border: 1px solid #5f8dd3;
+    border-radius: 3px;
 }
 
 .troubleshooting > h4 {
-               display: inline-block;
-               cursor: pointer;
-               letter-spacing: 2px;
-               padding: .25em .5em;
-               color: #2f5faa;
-               opacity: .5;
-               border: 1px solid #5f8dd3;
-               border-radius: 3px;
+    display: inline-block;
+    cursor: pointer;
+    letter-spacing: 2px;
+    padding: .25em .5em;
+    color: #2f5faa;
+    opacity: .5;
+    border: 1px solid #5f8dd3;
+    border-radius: 3px;
 }
 
 .troubleshooting > h4:hover,
 .troubleshooting > h4.expanded {
-               opacity: 1;
+    opacity: 1;
 }
 
-.troubleshooting > h4.expanded {
-               border-bottom: 0;
-               border-radius: 3px 3px 0 0;
+.troubleshooting > h4.expanded,
+.dropdown > h4.expanded {
+    border-bottom: 0;
+    border-radius: 3px 3px 0 0;
 }
 
-
-.troubleshooting > h4:after {
-               content:' ▾';
-               display: inline-block;
+.troubleshooting > h4:after,
+.dropdown > h4:after {
+    content:' ▾';
+    display: inline-block;
     line-height: 1;
-               padding: 0 0.2em;
+    padding: 0 0.2em;
     vertical-align: top;
 }
 
-.troubleshooting > h4.expanded:after {
-               content:' ▴';
-               display: inline-block;
+.troubleshooting > h4.expanded:after,
+.dropdown > h4.expanded:after {
+    content:' ▴';
+    display: inline-block;
     line-height: 1;
-               padding: 0 0.2em;
+    padding: 0 0.2em;
     vertical-align: top;
 }
 
-.troubleshooting dl {
-               display: none;
-               padding: .5em;
-               border: 1px solid #5f8dd3;
-               border-radius: 0 3px 3px;
+.troubleshooting dl,
+.dropdown ul {
+    padding: .5em;
+    border: 1px solid #5f8dd3;
+    border-radius: 0 3px 3px;
 }
 
 .main dt,
 .troubleshooting dt {
-               margin-top: 1em;
+    margin-top: 1em;
 }
 
 .main dt:first-child,
@@ -451,6 +480,13 @@ a:focus > img + strong {
                display: inline-block;
 }
 
+.dropdown ul {
+    position: absolute;
+    width: 140px;
+    text-align: center;
+    background: #f4eed7;
+}
+
 /* Form elements: newsletter + pgp pathfinder
 */
 
@@ -637,16 +673,17 @@ input[type='reset']:hover {
                                margin: 0 auto;
                }
 
+               #header ul.os .share {
+                               display: block;
+                               padding: .25em 0;
+               }
+
                #header #fsf-intro {
                                margin-bottom: 1em;
                                padding-bottom: 1em;
                                border-bottom: 1px solid #ff9b12;
                }
 
-               #header .intro {
-                               font-size: 1em;
-               }
-
                .section-intro p {
                                margin: 0.5em 0;
                }
@@ -668,7 +705,9 @@ input[type='reset']:hover {
                                width: 100%;
                                padding-left: 0;
                                border-left: 0;
-                               margin-bottom: 0;
+                               margin-bottom: 1em;
+                               padding-bottom: 1em;
+                               border-bottom: 1px solid #ff9b12;
                }
 
 }
@@ -758,9 +797,7 @@ input[type='reset']:hover {
                                width: 80%;
                                height: auto;
                }
-               
-               
 
-}
 
 
+}