Use full opacity for dropdown text.
[enc-static.git] / css / main.css
index ff5cc0e0225cf73edc67064d57b093452b4e2934..8d2cfd8d11aadd72eaf6a2e2f5e7d652c3439eae 100644 (file)
@@ -126,7 +126,7 @@ body {
                line-height: 1.4;
 }
 
-h1 {  font-size: 2.75em;  font-family: 'Dosis'; margin-bottom: .5em;  }
+h1 {  font-size: 2.75em;  font-family: 'Dosis'; }
 h2 {  font-size: 2.75em;  font-family: 'Dosis';        }
 h3 {  font-size: 1.625em; font-family: 'Dosis';        }
 h4 {  font-size: 1.375em; font-family: 'Dosis EBold'; color: #4d4d4d;  }
@@ -139,8 +139,7 @@ h1, h2, h3, h4, h5, h6 {
                letter-spacing: 1px;
 }
 
-.nav .os a.current,
-.main p.highlight,
+ul.os a.current,
 .main dt,
 .troubleshooting dt,
 strong {
@@ -171,14 +170,6 @@ small {
                font-size: 0.85em;
 }
 
-#header .intro {
-       font-size: 1.1em;
-}
-
-#header .intro > #infographic {
-       font-size: .75em;
-}
-
 #header #fsf-intro {
        font-size: .7em;
 }
@@ -267,35 +258,48 @@ a:focus > img + strong {
                width: 96%;
                clear: both;
                margin: 0 auto;
-               padding: 1em 0;
+               padding: 0 0 1em;
 }
 
 #header h1 {
                line-height: 1;
 }
 
-#header #infographic {
-               background: #fff;
-               border-radius: 3px;
-               margin-bottom: 0;
+#header ul.os {
+               line-height: 1;
+               margin: .5em 0 2em;
+               padding: 0 0 .25em;
+               border-bottom: 1px solid #94b3e2;
+}
+
+#header ul.os li {
+               text-transform: uppercase;
+               display: inline-block;
 }
 
-#header #infographic a {
+#header ul.os li a {
                display: block;
-               margin: .5em;
+               padding: .25em;
 }
 
-#header #infographic a.img-link {
-               padding-top: .5em;
+#header ul.os .spacer {
+               padding: .25em 0 .25em 4em;
 }
 
-#header #infographic img {
+#header #infographic {
+               float: left;
                display: block;
-               width: 100%;
+               background: #fff;
+               border-radius: 3px;
+               margin: 0 1em .5em 0;
+               padding: .5em;
+               width: 250px;
 }
 
-#header #infographic a.text-link {
-               padding-bottom: .5em;
+
+#header #infographic img {
+               display: inline-block;
+               width: 100%;
 }
 
 #header > div > .intro p {
@@ -305,7 +309,7 @@ a:focus > img + strong {
 .section-intro {
                padding-bottom: 1.5em;
                border-bottom: 1px solid #5f8dd3;
-               margin-bottom: 2em:
+               margin-bottom: 2em;
 }
 
 .section-intro  p {
@@ -337,6 +341,10 @@ a:focus > img + strong {
 
        .main p:first-child {   margin: 0 0 0.5em ;     }
 
+.main p.notes {
+               color: #999;
+}
+
 .main h3 {
                margin: 1em 0 0.5em;
                padding-left:.5em;
@@ -359,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,
@@ -443,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
 */
 
@@ -504,6 +548,15 @@ input[type='reset']:hover {
                margin-bottom: 1em;
 }
 
+#fsf-intro h3 a {
+               display: block;
+               max-width: 283px;
+}
+
+#fsf-intro h3 img {
+               width: 100%;
+}
+
 .newsletter input[type='text'],
 .newsletter input[type='submit']  {
                font-size: .75em;
@@ -513,6 +566,7 @@ input[type='reset']:hover {
                height: 3em;
                width: 16em;
                padding: .2em .65em;
+               margin-bottom: .5em;
 }
 
 .newsletter input[type='submit'] {
@@ -520,11 +574,11 @@ input[type='reset']:hover {
                padding: .5em 1em;
                margin-left: 5px;
                background-color: #5f8dd3;
+               margin-bottom: .5em;
 }
 
 #fsf-intro .newsletter form + p {
                margin: .25em 0 0;
-               font-size: 
 }
 
 /* PGP pathfinder
@@ -579,6 +633,28 @@ input[type='reset']:hover {
                padding-top: .5em;
 }
 
+#footer #copyright p {
+       margin-bottom: .5em;
+}
+
+/* Infographics page
+*/
+
+.centered > * {
+               text-align: center;
+}
+
+.centered h3 {
+               border-bottom: 1px solid #94b3e2;
+               margin: .65em 0;
+               padding: 0 0 .65em;
+}
+
+.centered p {
+               margin: .65em 0;
+}
+
+
 
 /* ==========================================================================
    Media Queries
@@ -597,25 +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;
-               }
-
-               #header #infographic {
-                               margin-bottom: 1.5em;
-               }
-
-               #header #infographic a.img-link {
-                               height: 200px;
-                               overflow: hidden;
-               }
-
                .section-intro p {
                                margin: 0.5em 0;
                }
@@ -630,14 +698,16 @@ input[type='reset']:hover {
                #header .intro {
                                float: right;
                                width: 100%;
-                               margin-right: 02.22%;
                }
 
                #header #fsf-intro {
                                float: left;
                                width: 100%;
-                               padding-left: 02.22%;
-                               border-left: 8px solid #ff9b12;
+                               padding-left: 0;
+                               border-left: 0;
+                               margin-bottom: 1em;
+                               padding-bottom: 1em;
+                               border-bottom: 1px solid #ff9b12;
                }
 
 }
@@ -656,30 +726,22 @@ input[type='reset']:hover {
                        padding: 0.35em 0 0;
                }
 
-               .nav ul.os {
-                               display: inline-block;
-                               margin: 0 2em 0 0;
-               }
-
                .nav ul.lang {
-                               display: inline-block;
                                margin: 0 0 0 0.5em;
-                               float: right;
                }
 
                #header h1 {
                                font-size: 6em;
+                               text-align: center;
                }
 
-               #header .intro {
-                               float: left;
-                               width: 68.75%;
-                               margin-right: 1.72%;
+               #header ul.os {
+                               text-align: center;
                }
 
-               #header #infographic {
+               #header .intro {
                                float: left;
-                               width: 30.58%;
+                               width: 66%;
                                margin-right: 1.72%;
                }
 
@@ -714,17 +776,28 @@ input[type='reset']:hover {
                                display: inline-block;
                                float: left;
                                width: 47%;
-                               margin: 0 3% 0 0;
+                               margin: 0 3% 1em 0;
+               }
+
+               .sidebar ul.images li:nth-child(n) {
+                               margin: 0 0 0 3%;
+               }
+
+               .sidebar ul.images li:nth-child(2n+1) {
+                               clear: left;
+                               margin: 0 3% 1em 0;
                }
 
-               .sidebar ul.images li > img,
-               .row .sidebar > p img {
+               .sidebar ul.images li > img {
+                               width: 100%;
+                               height: auto;
+               }
+
+               .row .sidebar > p > img {
                                width: 80%;
                                height: auto;
                }
-               
-               
 
-}
 
 
+}