Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
735 lines (608 sloc) 13.7 KB
---
---
.highlight { background: #f8f8f8; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #008000 } /* Comment */
.highlight .err { border: 1px solid #FF0000 } /* Error */
.highlight .k { color: #0000ff } /* Keyword */
.highlight .ch { color: #008000 } /* Comment.Hashbang */
.highlight .cm { color: #008000 } /* Comment.Multiline */
.highlight .cp { color: #0000ff } /* Comment.Preproc */
.highlight .cpf { color: #008000 } /* Comment.PreprocFile */
.highlight .c1 { color: #008000 } /* Comment.Single */
.highlight .cs { color: #008000 } /* Comment.Special */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gh { font-weight: bold } /* Generic.Heading */
.highlight .gp { font-weight: bold } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { font-weight: bold } /* Generic.Subheading */
.highlight .kc { color: #0000ff } /* Keyword.Constant */
.highlight .kd { color: #0000ff } /* Keyword.Declaration */
.highlight .kn { color: #0000ff } /* Keyword.Namespace */
.highlight .kp { color: #0000ff } /* Keyword.Pseudo */
.highlight .kr { color: #0000ff } /* Keyword.Reserved */
.highlight .kt { color: #2b91af } /* Keyword.Type */
.highlight .s { color: #a31515 } /* Literal.String */
.highlight .nc { color: #2b91af } /* Name.Class */
.highlight .ow { color: #0000ff } /* Operator.Word */
.highlight .sa { color: #a31515 } /* Literal.String.Affix */
.highlight .sb { color: #a31515 } /* Literal.String.Backtick */
.highlight .sc { color: #a31515 } /* Literal.String.Char */
.highlight .dl { color: #a31515 } /* Literal.String.Delimiter */
.highlight .sd { color: #a31515 } /* Literal.String.Doc */
.highlight .s2 { color: #a31515 } /* Literal.String.Double */
.highlight .se { color: #a31515 } /* Literal.String.Escape */
.highlight .sh { color: #a31515 } /* Literal.String.Heredoc */
.highlight .si { color: #a31515 } /* Literal.String.Interpol */
.highlight .sx { color: #a31515 } /* Literal.String.Other */
.highlight .sr { color: #a31515 } /* Literal.String.Regex */
.highlight .s1 { color: #a31515 } /* Literal.String.Single */
.highlight .ss { color: #a31515 } /* Literal.String.Symbol */
@import url('https://fonts.googleapis.com/css?family=Arvo:400,700,400italic');
/* MeyerWeb Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
vertical-align: baseline;
}
/* Base text styles */
body {
padding:10px 50px 0 0;
font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
color: #232323;
background-color: #FBFAF7;
margin: 0;
line-height: 1.8em;
-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
color:#232323;
margin:36px 0 10px;
}
p, ul, ol, table, dl {
margin:0 0 22px;
}
h1, h2, h3 {
font-family: Arvo, Monaco, serif;
line-height:1.3;
font-weight: normal;
}
h1,h2, h3 {
display: block;
border-bottom: 1px solid #ccc;
padding-bottom: 5px;
}
h1 {
font-size: 30px;
}
h2 {
font-size: 24px;
}
h3 {
font-size: 18px;
}
h4, h5, h6 {
font-family: Arvo, Monaco, serif;
font-weight: 700;
}
a {
color:#C30000;
font-weight:200;
text-decoration:none;
border-bottom: .1em solid rgba(195,0,0,.1);
transition: all .1s linear;
}
a:hover {
border-bottom: .1em solid rgba(195,0,0,1);
}
a small {
font-size: 12px;
}
em {
font-style: italic;
}
strong {
font-weight:700;
}
ul {
list-style-position: inside;
list-style: disc;
padding-left: 25px;
}
ol {
list-style-position: inside;
list-style: decimal;
padding-left: 25px;
}
blockquote {
margin: 0;
padding: 0 0 0 20px;
font-style: italic;
}
dl, dt, dd, dl p {
color: #444;
}
dl dt {
font-weight: bold;
}
dl dd {
padding-left: 20px;
font-style: italic;
}
dl p {
padding-left: 20px;
font-style: italic;
}
hr {
border:0;
background:#ccc;
height:1px;
margin:0 0 24px;
}
/* Images */
img {
position: relative;
margin: 0 auto;
max-width: 650px;
padding: 5px;
margin: 10px 0 32px 0;
border: 1px solid #ccc;
}
p img, .emoji {
display: inline;
margin: 0;
padding: 0;
vertical-align: middle;
text-align: center;
border: none;
}
/* Code blocks */
code, pre {
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
color:#000;
font-size:0.9em;
line-height: 1.2em;
}
li code,p code {
background: #fff;
border: 1px solid #ddd;
border-radius: .2em;
color: #333;
display: inline-block;
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
line-height: 1.5em;
margin: -1px 0;
padding: 0 .3em;
white-space: nowrap
}
a code {
color: inherit;
}
pre {
padding: 4px 12px;
background: #FDFEFB;
border-radius:4px;
border:1px solid #D7D8C8;
overflow: auto;
overflow-y: hidden;
margin-bottom: 32px;
}
/* Tables */
table {
width:100%;
}
table {
border: 1px solid #ccc;
margin-bottom: 32px;
text-align: left;
}
th {
font-family: 'Arvo', Helvetica, Arial, sans-serif;
font-size: 18px;
font-weight: normal;
padding: 10px;
background: #232323;
color: #FDFEFB;
}
td {
padding: 10px;
background: #ccc;
}
/* Wrapper */
.wrapper {
width:960px;
}
/* Header */
header {
background-color: #171717;
color: #FDFDFB;
width:180px;
float:left;
position:fixed;
border: 1px solid #000;
-webkit-border-top-right-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomright: 4px;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
padding: 34px 25px 22px 25px;
margin: 30px 25px 0 0;
-webkit-font-smoothing: antialiased;
}
#stackoverflowflair {
position:absolute;
top:105%;
margin-left:-15px;
}
p.header {
font-size: 16px;
text-align: center;
}
h1.header {
font-family: Arvo, sans-serif;
font-size: 30px;
font-weight: 300;
line-height: 1.3em;
border-bottom: none;
margin: 0;
padding: 0;
}
h1.header, a.header, a.name, header a{
color: #fff;
}
a.header {
text-decoration: underline;
}
a.name {
white-space: nowrap;
}
header ul {
list-style:none;
padding:0;
}
header li {
list-style-type: none;
/*width:132px;
height:15px;*/
}
header li a {
display: block;
margin-bottom: 12px;
line-height: 1em;
padding: 6px 6px 6px 7px;
background: #AF0011;
background: -moz-linear-gradient(top, #AF0011 0%, #820011 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd));
background: -webkit-linear-gradient(top, #AF0011 0%,#820011 100%);
background: -o-linear-gradient(top, #AF0011 0%,#820011 100%);
background: -ms-linear-gradient(top, #AF0011 0%,#820011 100%);
background: linear-gradient(to top, #AF0011 0%,#820011 100%);
border-radius:4px;
border:1px solid #0D0D0D;
-webkit-box-shadow: inset 0px 1px 1px 0 rgba(233,2,38, 1);
box-shadow: inset 0px 1px 1px 0 rgba(233,2,38, 1);
}
header li a.current, header li a.current:hover {
background: inherit;
border: none;
box-shadow: none;
}
header li a:hover {
border: 1px solid #0D0D0D;;
background: #C3001D;
background: -moz-linear-gradient(top, #C3001D 0%, #950119 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd));
background: -webkit-linear-gradient(top, #C3001D 0%,#950119 100%);
background: -o-linear-gradient(top, #C3001D 0%,#950119 100%);
background: -ms-linear-gradient(top, #C3001D 0%,#950119 100%);
background: linear-gradient(to top, #C3001D 0%,#950119 100%);
}
a.buttons {
-webkit-font-smoothing: antialiased;
background: url(../images/arrow-down.png) no-repeat;
font-weight: normal;
text-shadow: rgba(0, 0, 0, 0.4) 0 -1px 0;
padding: 2px 2px 2px 22px;
height: 30px;
}
a.github {
background: url(../images/octocat-small.png) no-repeat 1px;
}
a.buttons:hover {
color: #fff;
text-decoration: none;
}
/* Section - for main page content */
section {
width:650px;
float:right;
padding-bottom:50px;
}
/* Footer */
footer {
width:170px;
float:left;
position:fixed;
bottom:10px;
padding-left: 50px;
}
/* Comments */
label {
margin-top: 0;
margin-bottom: .725rem;
}
input,label,textarea {
display: block;
width: 100%
}
input,textarea {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: .75em .5em;
vertical-align: top;
overflow: visible;
font-family: Helvetica,Arial,sans-serif;
background: #f2f2f2;
border: 1px solid #f2f2f2;
border-radius: .25em;
-webkit-appearance: none
}
.form__group {
display:-webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
margin: 0 -.5em 1em
}
.form__group > * {
padding-left: .5em;
padding-right: .5em
}
.form__group.g-recaptcha > * {
margin-left: .5em;
padding: 0
}
.btn,[type=submit] {
background: #AF0011;
background: -moz-linear-gradient(top, #AF0011 0%, #820011 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #dddddd));
background: -webkit-linear-gradient(top, #AF0011 0%, #820011 100%);
background: -o-linear-gradient(top, #AF0011 0%, #820011 100%);
background: -ms-linear-gradient(top, #AF0011 0%, #820011 100%);
background: linear-gradient(to top, #AF0011 0%, #820011 100%);
border-radius: 4px;
border: none;
-webkit-box-shadow: inset 0px 1px 1px 0 #e90226;
box-shadow: inset 0px 1px 1px 0 #e90226;
color: #fff;
cursor: pointer;
display: inline-block;
font-weight: 700;
line-height: 1.5;
padding: .5em 1em;
text-align: center;
text-decoration: none
}
.btn:hover,[type=submit]:hover {
background: #C3001D;
background: -moz-linear-gradient(top, #C3001D 0%, #950119 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #dddddd));
background: -webkit-linear-gradient(top, #C3001D 0%, #950119 100%);
background: -o-linear-gradient(top, #C3001D 0%, #950119 100%);
background: -ms-linear-gradient(top, #C3001D 0%, #950119 100%);
background: linear-gradient(to top, #C3001D 0%, #950119 100%);
color: #fff;
text-decoration: none
}
.btn:visited,[type=submit]:visited {
color: #fff
}
.btn:active,[type=submit]:active {
-webkit-transform: scale(.95);
transform: scale(.95)
}
.comment {
display: -webkit-box;
display: -ms-flexbox;
display: flex
}
.comment+.comment {
margin-top: 2em
}
.comment.child {
margin-left: 40px
}
@media (min-width: 48em) {
.comment.child {
margin-left:80px
}
}
.comment__avatar {
-ms-flex-negative: 0;
flex-shrink: 0;
margin-right: 10px;
width: 30px;
height: 30px;
padding: 5px;
border: 1px solid #ccc;
}
@media (min-width: 48em) {
.comment__avatar {
margin-right:20px;
width: 60px;
height: 60px
}
}
.comment__avatar img {
width: 30px;
height: 30px;
padding: 0;
margin: 0;
border: none;
}
@media (min-width: 48em) {
.comment__avatar img {
width:60px;
height: 60px
}
}
.no-js img.lazyload {
display: none
}
.lazyload,.lazyloading {
opacity: 0
}
.lazyloaded {
opacity: 1;
-webkit-transition: opacity .3s;
transition: opacity .3s
}
.comment__main {
min-width: calc(100% - 40px)
}
@media (min-width: 48em) {
.comment__main {
min-width:calc(100% - 80px)
}
}
.comment__meta {
margin-bottom: 1em;
padding-bottom: .25em;
border-bottom: 1px solid #ccc;
}
.comment__message {
font-size: .9em
}
.comment__message>:last-child {
margin-bottom: 0
}
.comment__message img {
max-width: 100%
}
.comment__reply {
margin-top: .5em;
}
.comment__form {
margin-bottom: 2.9rem
}
.comment__form .title {
margin-top: 2.9rem
}
#cancel-comment-reply-link {
margin-left: 1em;
color: #b11313
}
.notice {
padding: 4px 12px;
background: #FDFEFB;
border-radius: 4px;
border: 1px solid #D7D8C8;
margin-bottom: 32px;
-webkit-box-shadow: 0.25em 0.25em 0 #D7D8C8;
box-shadow: 0.25em 0.25em 0 #D7D8C8;
}
.notice.danger {
border-color: #b11313;
color: #b11313;
-webkit-box-shadow: 0.25em 0.25em 0 #b11313;
box-shadow: 0.25em 0.25em 0 #b11313;
}
.hidden {
display: none!important;
visibility: hidden!important;
opacity: 0;
}
@media print, screen and (max-width: 960px) {
div.wrapper {
width:auto;
margin:0;
}
header, section, footer {
float:none;
position:static;
width:auto;
}
#stackoverflowflair {
position: static;
margin: 0;
}
footer {
border-top: 1px solid #ccc;
margin:0 84px 0 50px;
padding:0;
}
header {
padding-right:320px;
}
section {
padding:20px 84px 20px 50px;
margin:0 0 20px;
}
header a small {
display:inline;
}
header ul {
position:absolute;
right:130px;
top:84px;
}
}
@media print, screen and (max-width: 720px) {
body {
word-wrap:break-word;
}
header {
padding:10px 20px;
margin-right: 0;
}
section {
padding:10px 0 10px 20px;
margin:0 0 30px;
}
footer {
margin: 0 0 0 30px;
}
header ul, header p.view {
position:static;
}
}
@media print, screen and (max-width: 480px) {
header ul li.download {
display:none;
}
footer {
margin: 0 0 0 20px;
}
footer a{
display:block;
}
}
@media print {
body {
padding:0.4in;
font-size:12pt;
color:#444;
}
}