Use full opacity for dropdown text.
[enc-static.git] / css / main.css
index 77c24931f76394a69c3556ff5666b8114ea1bbce..8d2cfd8d11aadd72eaf6a2e2f5e7d652c3439eae 100644 (file)
@@ -63,11 +63,6 @@ html {
     text-shadow: none;
 }
 
-::selection {
-    background: #b3d4fc;
-    text-shadow: none;
-}
-
 hr {
     display: block;
     height: 1px;
@@ -120,34 +115,50 @@ textarea {
 }
 
 @font-face {
-         font-family: 'Signika Bold';
-         src: local('Signika Bold'), url('../fonts/Signika/Signika-Bold.ttf') format('truetype');
+         font-family: 'Signika Semmibold';
+         src: local('Signika Semmibold'), url('../fonts/Signika/Signika-Semibold.ttf') format('truetype');
 }
 
 
 body {
-               font-family: 'Signika Light', DejaVu Sans, Arial, sans-serif;
+               font-family: 'Signika Light', 'DejaVu Sans', Arial, sans-serif;
                font-size: 1.25em;
                line-height: 1.4;
 }
 
-h1 {  font-size: 2.75em;  line-height: 1.2; font-family: 'Dosis'; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .5em;  }
-h2 {  font-size: 2.75em;  line-height: 1.2; font-family: 'Dosis'; text-transform: uppercase; letter-spacing: 1px;      }
-h3 {  font-size: 1.625em; line-height: 1.2; font-family: 'Dosis'; text-transform: uppercase; letter-spacing: 1px;      }
-h4 {  font-size: 1.375em; line-height: 1.2; font-family: 'Dosis'; text-transform: uppercase; letter-spacing: 1px;      }
-h5 {  font-size: 1.25em;  line-height: 1.2; font-family: 'Dosis'; text-transform: uppercase; letter-spacing: 1px;      }
-h6 {  font-size: 1.125em; line-height: 1.2; font-family: 'Dosis'; text-transform: uppercase; letter-spacing: 1px;      }
+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;  }
+h5 {  font-size: 1.25em;  font-family: 'Dosis EBold'; color: #4d4d4d; }
+h6 {  font-size: 1.125em; font-family: 'Dosis EBold'; color: #4d4d4d; }
 
+h1, h2, h3, h4, h5, h6 {
+               line-height: 1.2;
+               text-transform: uppercase;
+               letter-spacing: 1px;
+}
+
+ul.os a.current,
+.main dt,
 .troubleshooting dt,
 strong {
-               font-family: 'Signika Bold';
+               font-family: 'Signika Semmibold';
+               color: #4d4d4d;
 }
 
+.main > h3 em,
 .troubleshooting h4,
-.newsletter input[type='submit'] {
+input[type='submit'],
+input[type='reset'] {
                font-family: 'Dosis EBold';
 }
 
+.step .main p,
+.step .main ul {
+               font-size: .85em;
+}
+
 .nav,
 #footer,
 .troubleshooting h4,
@@ -159,10 +170,6 @@ small {
                font-size: 0.85em;
 }
 
-#header .intro {
-       font-size: 1.1em;
-}
-
 #header #fsf-intro {
        font-size: .7em;
 }
@@ -176,20 +183,30 @@ body {
                background: #f4eed7;
 }
 
-a {
+a,
+a > img + strong {
                color: #2f5faa;
                text-decoration: none;
 }
 
+a:hover, a:focus,
+a:hover > img + strong,
+a:focus > img + strong {
+               color: #0e3878;
+}
+
+/* Guide Sections Background */
+/* Blue*/
 #section1,
 #section3,
 #section5,
-#faq { background: #dcdfe5;    }
+#footer {      background: #dcdfe5;    }
 
+
+/* Yellow */
 #section2,
 #section4,
-#section6,
-#footer {      background: #f4eed7; }
+#section6 {    background: #f4eed7; }
 
 
 /* Layout
@@ -234,25 +251,89 @@ a {
                padding: .5em;
 }
 
+/* Header
+*/
+
 #header > div {
                width: 96%;
                clear: both;
                margin: 0 auto;
-               padding: 1em 0;
+               padding: 0 0 1em;
 }
 
 #header h1 {
                line-height: 1;
 }
 
-#header h1 a {
+#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 ul.os li a {
                display: block;
+               padding: .25em;
+}
+
+#header ul.os .spacer {
+               padding: .25em 0 .25em 4em;
+}
+
+#header #infographic {
+               float: left;
+               display: block;
+               background: #fff;
+               border-radius: 3px;
+               margin: 0 1em .5em 0;
+               padding: .5em;
+               width: 250px;
+}
+
+
+#header #infographic img {
+               display: inline-block;
+               width: 100%;
 }
 
 #header > div > .intro p {
                margin: 0 0 0.75em;
 }
 
+.section-intro {
+               padding-bottom: 1.5em;
+               border-bottom: 1px solid #5f8dd3;
+               margin-bottom: 2em;
+}
+
+.section-intro  p {
+               margin: 0.5em 3.5em;
+}
+
+.section-intro h2,
+.sidebar h2 {
+               margin: 0 0 .5em;
+}
+
+.section-intro h2 {
+               text-align: center;
+}
+
+.section-intro h2 em,
+.sidebar h2 em {
+               color: #94b3e2;
+}
+
+.step {
+               padding: .5em 0;
+}
+
 .intro p,
 .main p {
                margin: 0.5em 0;
@@ -260,14 +341,21 @@ a {
 
        .main p:first-child {   margin: 0 0 0.5em ;     }
 
+.main p.notes {
+               color: #999;
+}
+
 .main h3 {
                margin: 1em 0 0.5em;
+               padding-left:.5em;
+               border-left: 8px solid #ff9b12;
 }
 
 .main h3:first-child { margin: 0 0 0.5em; }
 
 .main > h3 em {
                color: #94b3e2;
+               display: block;
 }
 
 .main,
@@ -275,100 +363,298 @@ a {
                margin: 1em 0 0.5em;
 }
 
-.sidebar h2 {
-               margin: 0 0 1em;
+.main ul li {
+               margin: .5em 0;
 }
 
-.sidebar h2 em {
-               color: #94b3e2;
+/* Images
+*/
+
+ul.images:before, ul.images:after  {
+    content: " ";
+    display: table;
 }
 
+ul.images:after {
+    clear: both;
+}
+
+ul.images {
+               padding: 0.5em 0;
+}
+
+ul.images li {
+               margin-bottom: 1em;
+}
+
+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 {
-/*             border-left: 8px solid #ff9b12; */
-               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 {
-               letter-spacing: 2px;
-               padding: .25em 0;
-               color: #2f5faa;
-               cursor: pointer;
-               opacity: .5;
+    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 {
-               opacity: .8;
+.troubleshooting > h4:hover,
+.troubleshooting > h4.expanded {
+    opacity: 1;
 }
 
-.main dt, 
-.main dd,
-.troubleshooting dt, 
-.troubleshooting dd {
+.troubleshooting > h4.expanded,
+.dropdown > h4.expanded {
+    border-bottom: 0;
+    border-radius: 3px 3px 0 0;
 }
 
-#footer h4 {
-               margin-bottom: 1em;
+.troubleshooting > h4:after,
+.dropdown > h4:after {
+    content:' ▾';
+    display: inline-block;
+    line-height: 1;
+    padding: 0 0.2em;
+    vertical-align: top;
 }
 
-/* FSF Introduction, before the header +  Newsletter form
-*/
+.troubleshooting > h4.expanded:after,
+.dropdown > h4.expanded:after {
+    content:' ▴';
+    display: inline-block;
+    line-height: 1;
+    padding: 0 0.2em;
+    vertical-align: top;
+}
 
-#fsf-intro h3,
-#fsf-intro p {
-               margin-bottom: 1em;
+.troubleshooting dl,
+.dropdown ul {
+    padding: .5em;
+    border: 1px solid #5f8dd3;
+    border-radius: 0 3px 3px;
 }
 
-.newsletter input {
+.main dt,
+.troubleshooting dt {
+    margin-top: 1em;
+}
+
+.main dt:first-child,
+.troubleshooting dt:first-child {
+               margin-top: 0;
+}
+
+.troubleshooting dt.feedback,
+.troubleshooting dd.feedback {
+               display: inline-block;
+}
+
+.dropdown ul {
+    position: absolute;
+    width: 140px;
+    text-align: center;
+    background: #f4eed7;
+}
+
+/* Form elements: newsletter + pgp pathfinder
+*/
+
+input {
   -webkit-transition: all 0.1s linear;
   -moz-transition: all 0.1s linear;
   -o-transition: all 0.1s linear;
   transition: all 0.1s linear;
 }
 
-.newsletter input[type='text'],
-.newsletter input[type='submit'] {
-               font-size: .75em;
+input[type='text'],
+input[type='submit'],
+input[type='reset'] {
          line-height: 1;
                vertical-align: bottom;
 }
 
-.newsletter input[type='text'] {
+input[type='text'] {
                border: none;
-               height: 3em;
                border-radius: 3px;
                border: .1em solid #5f8dd3;
-               width: 16em;
                padding: .2em .65em;
                background: #fff;
                color: #666;
 }
 
-.newsletter input[type='text']:focus,
-.newsletter input[type='text']:hover {
+input[type='text']:focus,
+input[type='text']:hover {
                border-color: #2f5faa;
                outline: none;
                color: #333333;
 }
 
-.newsletter input[type='submit'] {
+input[type='submit'],
+input[type='reset'] {
                border: none;
                cursor: pointer;
                text-transform: uppercase;
                letter-spacing: 2px;
                color: #fff;
-               height: 3.1em;
                padding: .5em 1em;
-               margin-left: 5px;
                border-radius: 3px;
                background-color: #5f8dd3;
 }
 
-.newsletter input[type='submit']:focus,
-.newsletter input[type='submit']:hover {
+input[type='submit']:focus,
+input[type='submit']:hover,
+input[type='reset']:focus,
+input[type='reset']:hover {
                background-color: #2f5faa;
                outline: none;
 }
 
+/* FSF Introduction, before the header +  Newsletter form
+*/
+
+#fsf-intro h3,
+#fsf-intro p {
+               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;
+}
+
+.newsletter input[type='text'] {
+               height: 3em;
+               width: 16em;
+               padding: .2em .65em;
+               margin-bottom: .5em;
+}
+
+.newsletter input[type='submit'] {
+               height: 3.1em;
+               padding: .5em 1em;
+               margin-left: 5px;
+               background-color: #5f8dd3;
+               margin-bottom: .5em;
+}
+
+#fsf-intro .newsletter form + p {
+               margin: .25em 0 0;
+}
+
+/* PGP pathfinder
+*/
+
+#pgp-pathfinder {
+               background: #fff;
+               border: 1px solid #94b3e2;
+               border-radius: 3px;
+}
+
+#pgp-pathfinder form {
+               margin: 1em;
+}
+
+#pgp-pathfinder strong {
+               display: inline-block;
+               width: 4em;
+}
+
+#pgp-pathfinder input {
+               font-size: .75em;
+}
+
+#pgp-pathfinder input[type='text'] {
+               height: 3em;
+               width: 22em;
+               padding: .2em .65em;
+}
+
+#pgp-pathfinder input[type='submit'],
+#pgp-pathfinder input[type='reset'] {
+               padding: .5em 1em;
+               margin-left: 5px;
+               background-color: #5f8dd3;
+}
+
+#pgp-pathfinder .buttons {
+               margin-left: 4em;
+}
+
+/* Footer
+*/
+
+#footer h4 {
+               margin-bottom: .75em;
+}
+
+#footer .credits {
+               border-top: 1px solid #94b3e2;
+               margin-top: 1em;
+               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
@@ -380,11 +666,6 @@ a {
 
 @media only screen and (min-width: 400px) and (max-width: 599px) {
 
-}
-
-
-@media only screen and (min-width: 600px) {
-
                .row > div,
                .nav > div,
                #header > div {
@@ -392,10 +673,43 @@ a {
                                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;
+               }
+
+               .section-intro p {
+                               margin: 0.5em 0;
+               }
+
 }
 
+
+@media only screen and (min-width: 600px) {}
+
 @media only screen and (min-width: 600px) and (max-width: 899px) {
 
+               #header .intro {
+                               float: right;
+                               width: 100%;
+               }
+
+               #header #fsf-intro {
+                               float: left;
+                               width: 100%;
+                               padding-left: 0;
+                               border-left: 0;
+                               margin-bottom: 1em;
+                               padding-bottom: 1em;
+                               border-bottom: 1px solid #ff9b12;
+               }
+
 }
 
 @media only screen and (min-width: 900px) {
@@ -407,45 +721,42 @@ a {
                }
 
                .nav > div {
-                       overflow: auto;
+                       overflow: hidden;
                        position: relative;
                        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 ul.os {
+                               text-align: center;
                }
 
                #header .intro {
                                float: left;
-                               width: 62.5%;
+                               width: 66%;
+                               margin-right: 1.72%;
                }
 
                #header #fsf-intro {
                                float: right;
-                               width: 34.05%;
+                               width: 29.52%;
                                padding-left: 1.72%;
                                border-left: 8px solid #ff9b12;
                }
 
-               #fsf-intro .newsletter {
-               }
-
                .row > div,
                #header > div,
                .row > div .section-intro,
-               .row > div .step {
+               .row > div .step,
+               #footer > div {
                                overflow: hidden;
                }
 
@@ -461,72 +772,32 @@ a {
                                margin-left: 1.72%;
                }
 
-               .row .sidebar img {
-                               width: 100%;
+               .sidebar ul.images li {
+                               display: inline-block;
+                               float: left;
+                               width: 47%;
+                               margin: 0 3% 1em 0;
                }
 
-}
-
-
-/* ==========================================================================
-   Helper classes
-   ========================================================================== */
-
-.ir {
-    background-color: transparent;
-    border: 0;
-    overflow: hidden;
-    *text-indent: -9999px;
-}
-
-.ir:before {
-    content: "";
-    display: block;
-    width: 0;
-    height: 150%;
-}
-
-.hidden {
-    display: none !important;
-    visibility: hidden;
-}
+               .sidebar ul.images li:nth-child(n) {
+                               margin: 0 0 0 3%;
+               }
 
-.visuallyhidden {
-    border: 0;
-    clip: rect(0 0 0 0);
-    height: 1px;
-    margin: -1px;
-    overflow: hidden;
-    padding: 0;
-    position: absolute;
-    width: 1px;
-}
+               .sidebar ul.images li:nth-child(2n+1) {
+                               clear: left;
+                               margin: 0 3% 1em 0;
+               }
 
-.visuallyhidden.focusable:active,
-.visuallyhidden.focusable:focus {
-    clip: auto;
-    height: auto;
-    margin: 0;
-    overflow: visible;
-    position: static;
-    width: auto;
-}
+               .sidebar ul.images li > img {
+                               width: 100%;
+                               height: auto;
+               }
 
-.invisible {
-    visibility: hidden;
-}
+               .row .sidebar > p > img {
+                               width: 80%;
+                               height: auto;
+               }
 
-.clearfix:before,
-.clearfix:after {
-    content: " ";
-    display: table;
-}
 
-.clearfix:after {
-    clear: both;
-}
 
-.clearfix {
-    *zoom: 1;
 }
-