jsbin/public/css/help.css
Remy Sharp 72653332f5 Simplify the new upgrade page
This way we're able to put the features and the upgrade process together, but benefit from all the error handling that's already in the login & reg pages without a complete rewrite.

This is not proposed as the final solution, but a mid-way point to allow us to test.
2014-08-13 17:41:44 +01:00

841 lines
12 KiB
CSS

*, *::after, *::before {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html, body {
height: 100%;
margin: 0;
}
html {
color: #3C4342;
font-family: sans-serif;
font-family: 'open sans', sans-serif;
line-height: 1em;
}
label, input, select, .label {
font-family: 'helvetica neue', sans-serif;
}
header, footer {
background: #f2f2f2;
}
.category h3 {
margin-bottom: 0;
}
.category h4 {
/* display: none; */
margin: 0;
color: #999;
font-size: 14px;
font-weight: normal;
}
code {
/* overflow: auto; */
background: #EAEEEF;
padding: 2px;
/*solid #eaeeef;*/
}
ul, ol {
margin-left: 0px;
}
pre {
background: #EAEEEF;
padding: .576em 1.2em .864em .972em;
margin: 0 0 1.667em;
line-height: 1.475;
font-size: 1.05;
color: #555;
border: 1px solid #e9e9e9;
border-radius: 2px;
direction: ltr;
text-align: left;
-moz-tab-size: 2;
tab-size: 2;
word-wrap: break-word;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
-o-hyphens: none;
hyphens: none;
overflow-x: scroll;
display: block;
width: 100%;
overflow: auto;
max-width: 100%
}
.hljs {
background: #EAEEEF;
color: #555;
}
pre code {
word-wrap: -moz-break-word;
word-wrap: break-word;
white-space: pre;
word-wrap: normal;
margin: -0.125em 0;
padding: 25px !important;
display: table-cell !important;
}
#body {
font-size: 16px;
line-height: 1.65;
position: relative;
background: white;
/* pushes any margins down */
border-top: 1px solid #fff;
padding-bottom: 50px;
position: relative;
padding-top: 20px;
padding-top: 20px;
max-width: 1024px;
}
#body img {
max-width: 100%;
border: 1px solid #eee;
display: block;
margin: 0 auto;
}
div > img {
/* border: 1px solid #ddd; */
border-radius: 3px;
box-shadow: 0 0 40px rgba(0,0,0,.2);
}
.inner, #body {
max-width: 1024px;
margin: 0 auto;
padding: 0 20px; /* ensures the shadow is still visible */
}
#body > article p,
#body > article li,
#body > article h1,
#body > article h2,
#body > article h3,
#body > article pre,
#disqus_thread {
max-width: 660px;
margin-left: auto;
margin-right: auto;
}
h1 {
letter-spacing: -1px;
}
h1,
h2,
h3 {
margin-top: 0.8em;
margin-bottom: 0.2em;
}
#body > article p {
margin-top: 1.65em;
margin-bottom: 1.65em;
}
#body > article h2 + p,
#body > article h3 + p,
#body > article h4 + p {
margin-top: 0.8em;
}
#body > article h1 {
font-size: 32px;
}
#body > article li {
padding-left: 10px;
margin-top: 0;
margin-bottom: 0;
}
#body > article pre {
padding: 0;
max-width: 710px;
}
header {
margin: 0 auto;
font-size: 14px;
font-weight: bold;
overflow: hidden;
padding: 12px 0;
}
hr {
border: 0;
border-bottom: 1px solid #DDD;
/* border-bottom: 1px solid #A3D4FF; */
}
header nav {
display: inline;
padding: 10px 0;
/* height: 29px; */
}
header nav a {
position: relative;
padding: 10px;
margin-right: 10px;
/* padding-bottom: 0; */
line-height: 1.2em;
height: 29px;
}
header nav a.selected:before {
position: absolute;
top: 45px; /* 42px */
left: 35%;
/* border-left: solid 1px #ccc; */
/* border-top: solid 1px #ccc; */
width: 1.1em;
height: 1.1em;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
background: #fff;
content: '';
}
#back {
float: left;
padding: 8px 14px;
/* padding-left: 26px; */
box-shadow: 0px 1px 1px rgba(0,0,0,0.3);
background: #fff;
}
#back:before {
content: '← ';
background: url(/images/favicon.png) no-repeat 28px center;
padding-right: 30px;
}
#back img {
vertical-align: middle;
margin-right: 5px;
}
header, footer {
font-size: 14px;
}
header a {
margin-right: 30px;
}
header a, footer a {
color: #111111;
text-decoration: none;
}
#footer {
padding: 30px 0 10px 0;
}
article p {
/* text-align: justify; */
}
nav {
float: right;
width: 50%;
text-align: right;
}
.button.action {
margin-left: 30px;
margin-right: 0;
}
.button {
background: #aaa;
display: inline-block;
padding: 10px;
color: #fff;
/* border-radius: 5px; */
/* margin: 0; */
}
a {
color: blue;
}
a:hover,
footer .legal a:hover {
color: #0074D9;
/* text-shadow: 1px 1px 1px rgba(0,0,0,0.1); */
}
.button:hover {
background: #bbb;
color: #fff;
}
.button.action {
background: #FFDC00;
color: #111;
}
.button.action:hover {
background: #FFEB66;
}
/**
footer page content
*/
#container {
position: relative;
margin: 0 0 -150px;
min-height: 100%;
}
#footer {
height: 100px; /* .push must be the same height as .footer */
position: relative;
margin-top: 50px;
overflow: hidden;
}
#footer a {
color: #999;
font-weight: 600;
margin: 0 10px;
}
#footer .notable {
float: left;
}
#footer .legal {
float: right;
}
#footer .legal a {
font-weight: 200;
}
#footer .legal em {
color: #999;
}
#footer ul {
list-style: none;
padding: 0;
margin: 0;
}
#footer li {
display: block;
float: left;
}
#footer li:first-child {
margin-left: 0;
}
#footer li:last-child {
margin-right: 0;
}
#footer li a {
display: block;
}
.avatar {
font-weight: normal;
font-size: 90%;
color: #999;
position: relative;
line-height: 1.2;
margin-top: 20px;
}
#body .avatar img {
/* position: absolute; */
width: 32px;
height: 32px;
border-radius: 2px;
vertical-align: middle;
right: -42px;
margin-right: 10px;
box-shadow: none;
display: inline;
}
.avatar .date:before {
content: ' ● ';
}
.clear {
clear: both;
height: 150px;
}
.links {
padding-left: 20px;
}
.posts {
list-style: none;
padding-left: 0;
}
.links a {
font-size: 14px;
display: inline-block;
text-decoration: none;
}
/*
::-webkit-scrollbar {
width: 10px;
height: 10px
}
::-webkit-scrollbar-track {
border-radius: 0
}
::-webkit-scrollbar-thumb {
border-radius: 0;
background: #e5e5e5
}
*/
.embed-container {
padding-bottom: 56.25%;
position: relative;
width: 100%;
height: 0;
}
.embed-container iframe {
height: 100%;
width: 100%;
}
.edit {
position: absolute;
right: 40px;
margin-top: 5px;
text-decoration: none;
font-weight: 400;
font-size: 14px;
color: #aaa;
}
/* video icon */
.links a.play {
position:relative;
z-index:1;
/* overflow:hidden; */
/* list-style:none; */
/* padding:0; */
margin-left: 5px;
}
.play:before,
.play:after,
.play span:before,
.play span:after {
content:"";
position:absolute;
top:50%;
left:0;
}
.play:before,
.play:after,
.play span:before,
.play span:after {
content:"";
position:absolute;
top:50%;
left:0;
}
.play span:before,
.play span:after {
margin: -6px 0 0;
background:#ccc;
}
.play:link span,
.play:visited span {
display: inline-block;
border:0;
padding-left: 0px;
color:#fff;
overflow: hidden;
width: 20px;
/* padding-top: 15px; */
/* top: 2px; */
}
.play span:before {
width: 20px;
height: 12px;
/* css3 */
border-radius:3px;
}
.play span:after {
left:8px;
border:0.3rem solid transparent;
border-left-color:#fff;
margin-top: -4px;
background:transparent;
}
.play span {
text-indent: -99px;
padding-left: 0;
height: 14px;
}
.sample {
font-family: Georgia, Times;
font-size: 400%;
text-align: center;
line-height: 10px;
}
.sample small {
color: #ccc;
font-size: 80%;
}
h1, h2, h3, h4, h5, h6 {
position: relative;
}
.anchor,
.anchor,
.anchor,
.anchor,
.anchor,
.anchor
{
height: 20px;
width: 20px;
display: block;
padding-right: 6px;
padding-left: 30px;
margin-left: -30px;
cursor: pointer;
position: absolute;
top: 0;
left: 0;
bottom: 0;
background-size: contain;
text-decoration: none;
height: 100%;
color: #3C4342;
}
.anchor:hover {
color: #3C4342;
}
h1:hover .anchor span:before,
h2:hover .anchor span:before,
h3:hover .anchor span:before,
h4:hover .anchor span:before,
h5:hover .anchor span:before,
h6:hover .anchor span:before {
content: '¶';
position: absolute;
left: 0px;
top: 0;
}
.posts .date {
margin-right: 20px;
}
.posts li a {
font-size: 16px;
}
.subscribe {
position: absolute;
right: 20px;
top: 20px;
line-height: 52px;
vertical-align: middle;
display: block;
color: #111;
font-weight: bold;
text-decoration: none;
}
.subscribe:before {
content: '';
background: url(/images/rss_alt.svg) no-repeat;
background-size: cover;
display: inline-block;
height: 12px;
width: 12px;
margin-right: 4px;
}
/* wider than 640 */
@media only screen and (min-width: 640px) {
.links {
/* -webkit-column-count: 2; */
-moz-column-count: 2;
-ms-column-count: 2;
-webkit-column-count: 2;
column-count: 2;
padding-left: 0;
}
.help-index {
-webkit-column-count: 2;
-moz-column-count: 2;
-ms-column-count: 2;
column-count: 2;
padding-left: 0;
}
.category {
display: inline-block;
}
.links li {
padding-left: 0;
display: block;
margin-bottom: 10px;
list-style: none;
}
}
/* smaller than 480 */
@media only screen and (max-width: 480px) {
.sample {
font-size: 200%;
}
.edit {
position: relative;
margin-top: 0;
right: 0;
margin-top: 10px;
display: block;
}
#body > article h1 {
line-height: 32px;
margin-top: 10px;
}
#body, .inner {
padding: 0 10px;
}
.morewords {
display: none;
}
#back {
margin-right: 0;
}
#footer .legal {
display: block;
float: none;
margin-top: 10px;
overflow: hidden;
clear: left;
padding-top: 10px;
}
#footer .legal li {
display: block;
text-align: center;
}
#footer {
height: 100px;
}
div.clear {
height: 100px;
}
#container {
margin: 0 0 -100px;
}
ul, ol {
padding-left: 20px;
margin-left: 0px;
}
#body > h1 {
margin: 0px;
}
code {
word-wrap: break-word;
}
.status {
display: none;
}
}
#comments {
margin-top: 100px;
}
kbd {
}
kbd kbd {
padding: 5px;
border-radius: 3px;
background: #eee;
}
.extract {
opacity: 0.7;
}
li {
/* vertical-align: bottom; */
}
span.status {
font-weight: normal;
margin-right: 8px;
font-family: sans-serif;
background: rgb(255, 237, 121);
padding: 5px 10px;
border-radius: 4px;
opacity: 0;
-webkit-transition: opacity 100ms ease-out;
-ms-transition: opacity 100ms ease-out;
transition: opacity 100ms ease-out;
}
span.status.show {
opacity: 1;
}
/* Tip flash messages */
/* Slightly changed from the one in style.css */
#tip {
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: -moz-none; /* if this is "none" you can't copy text */
-ms-user-select: none;
user-select: none;
}
#tip {
color: #000;
z-index: 100;
display: none;
border-top: 1px solid #ccc;
position: absolute;
bottom: 0;
font-size: 14px;
line-height: 22px;
background: #fdfece;
left: 0;
right: 0;
padding: 2px 10px 2px 10px;
-webkit-animation: tip-flash 100ms linear 4 alternate;
-moz-animation: tip-flash 100ms linear 4 alternate;
-ms-animation: tip-flash 100ms linear 4 alternate;
-o-animation: tip-flash 100ms linear 4 alternate;
animation: tip-flash 100ms linear 4 alternate;
-webkit-transition: bottom 100ms linear;
transition: bottom 100ms linear;
}
@-webkit-keyframes tip-flash {
to {
background: white;
}
}
@-moz-keyframes tip-flash {
to {
background: white;
}
}
@-ms-keyframes tip-flash {
to {
background: white;
}
}
@-o-keyframes tip-flash {
to {
background: white;
}
}
@keyframes tip-flash {
to {
background: white;
}
}
#tip.error {
background: #FF4136;
color: #fff;
}
.error a {
color: #fff;
text-shadow: none;
}
#tip.notification,
#tip.error {
bottom: auto;
top: 60px;
line-height: 28px;
box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
#tip p {
margin: 5px 25px 5px 0;
padding: 0 65px 0 0;
line-height: 1.3;
}
#tip a.dismiss {
line-height: 28px;
position: absolute;
right: 20px;
top: 2px;
text-decoration: none;
text-shadow: none;
color: inherit;
}
.showtip #tip {
display: block;
}