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;
font: inherit;
font-size: 100%;
vertical-align: baseline;
font-family: "PT Serif",Georgia,Times,"Times New Roman",serif;
}
html {
line-height: 1
}
ol,
ul {
list-style: none
}
table {
border-collapse: collapse;
border-spacing: 0;
}
caption,
th,
td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
q,
blockquote {
quotes: none
}
q:before,
q:after,
blockquote:before,
blockquote:after {
content: "";
content: none
}
a img {
border: none
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary {
display: block
}
a {
color: #1863a1
}
a:visited {
color: #751590
}
a:focus {
color: #0181eb
}
a:hover {
color: #0181eb
}
a:active {
color: #01579f
}
aside.sidebar a {
color: #222
}
aside.sidebar a:focus {
color: #0181eb
}
aside.sidebar a:hover {
color: #0181eb
}
aside.sidebar a:active {
color: #01579f
}
a {
-webkit-transition: color 0.3s;
-moz-transition: color 0.3s;
-o-transition: color 0.3s;
transition: color 0.3s
}
html {
background: #252525 top left
}
body>div {
background: #f2f2f2 top left;
border-bottom: 1px solid #bfbfbf
}
body>div>div {
background: #f8f8f8 top left;
border-right: 1px solid #e0e0e0
}
/*.heading,
body>header h1,
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "PT Serif", "Georgia", "Helvetica Neue", Arial, sans-serif
}*/
.sans,
body>header h2,
article header p.meta,
article>footer,
#content .blog-index footer,
/*html .gist .gist-file .gist-meta,*/
#blog-archives a.category,
#blog-archives time,
aside.sidebar section,
body>footer {
font-family: "PT Sans", "Helvetica Neue", Arial, sans-serif
}
.serif,
body,
#content .blog-index a[rel=full-article] {
/* font-family: "PT Serif", Georgia, Times, "Times New Roman", serif */
}
.mono,
pre,
code,
tt,
p code,
li code {
font-family: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace;
}
body>header h1 {
font-size: 2.2em;
font-family: "PT Serif", "Georgia", "Helvetica Neue", Arial, sans-serif;
font-weight: normal;
line-height: 1.2em;
margin-bottom: 0.6667em
}
body>header h2 {
font-family: "PT Serif", "Georgia", "Helvetica Neue", Arial, sans-serif
}
body {
line-height: 1.5em;
color: #222
}
h1 {
font-size: 2.2em;
line-height: 1.2em
}
/* @media only screen and (min-width: 992px) {
body {
font-size: 1.15em
}
h1 {
font-size: 2.6em;
line-height: 1.2em
}
} */
h1,
h2,
h3,
h4,
h5,
h6 {
text-rendering: optimizelegibility;
margin-bottom: 1em;
font-weight: bold;
margin-top: 1em;
}
h2,
section h1 {
font-size: 1.5em
}
h3,
section h2,
section section h1 {
font-size: 1.3em
}
h4,
section h3,
section section h2,
section section section h1 {
font-size: 1em
}
h5,
section h4,
section section h3 {
font-size: .9em
}
h6,
section h5,
section section h4,
section section section h3 {
font-size: .8em
}
p,
article blockquote,
ul,
ol {
margin-bottom: 0.8em; /* changed this from 1.5em to 0.8 */
}
ul {
list-style-type: disc
}
ul ul {
list-style-type: circle;
margin-bottom: 0px
}
ul ul ul {
list-style-type: square;
margin-bottom: 0px
}
ol {
list-style-type: decimal
}
ol ol {
list-style-type: lower-alpha;
margin-bottom: 0px
}
ol ol ol {
list-style-type: lower-roman;
margin-bottom: 0px
}
ul,
ul ul,
ul ol,
ol,
ol ul,
ol ol {
margin-left: 1.3em
}
ul ul,
ul ol,
ol ul,
ol ol {
margin-bottom: 0em
}
strong {
font-weight: bold
}
em {
font-style: italic
}
sup,
sub {
font-size: 0.75em;
position: relative;
display: inline-block;
padding: 0 .2em;
line-height: .8em
}
sup {
top: -.5em
}
sub {
bottom: -.5em
}
a[rev='footnote'] {
font-size: .75em;
padding: 0 .3em;
line-height: 1
}
q {
font-style: italic
}
q:before {
content: "\201C"
}
q:after {
content: "\201D"
}
em,
dfn {
font-style: italic
}
strong,
dfn {
font-weight: bold
}
del,
s {
text-decoration: line-through
}
abbr,
acronym {
border-bottom: 1px dotted;
cursor: help
}
hr {
margin-bottom: 0.2em
}
small {
font-size: .8em
}
big {
font-size: 1.2em
}
article blockquote {
font-style: italic;
position: relative;
font-size: 1.0em;
line-height: 1.5em;
padding-left: 1em;
border-left: 4px solid rgba(170, 170, 170, 0.5)
}
article blockquote cite {
font-style: italic
}
article blockquote cite a {
color: #aaa !important;
word-wrap: break-word
}
article blockquote cite:before {
content: '\2014';
padding-right: .3em;
padding-left: .3em;
color: #aaa
}
@media only screen and (min-width: 992px) {
article blockquote {
padding-left: 1.5em;
border-left-width: 4px
}
}
.pullquote-right:before,
.pullquote-left:before {
padding: 0;
border: none;
content: attr(data-pullquote);
float: right;
width: 45%;
margin: .5em 0 1em 1.5em;
position: relative;
top: 7px;
font-size: 1.4em;
line-height: 1.45em
}
.pullquote-left:before {
float: left;
margin: .5em 1.5em 1em 0
}
.force-wrap,
article a,
aside.sidebar a {
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
white-space: pre-wrap;
word-wrap: break-word
}
.group,
body>header,
body>nav,
body>footer,
body #content>article,
body #content>div>article,
body #content>div>section,
body div.pagination,
aside.sidebar,
#main,
#content,
.sidebar {
*zoom: 1
}
.group:after,
body>header:after,
body>nav:after,
body>footer:after,
body #content>article:after,
body #content>div>section:after,
body div.pagination:after,
#main:after,
#content:after,
.sidebar:after {
content: "";
display: table;
clear: both
}
body {
-webkit-text-size-adjust: none;
max-width: 1200px; /* original is 1200px but for some reason it is smaller in my screen */
position: relative;
margin: 0 auto;
font-size: 110%;
}
body>header,
body>nav,
body>footer,
body #content>article,
body #content>div>article,
body #content>div>section {
padding-left: 18px;
padding-right: 18px
}
@media only screen and (min-width: 480px) {
body>header,
body>nav,
body>footer,
body #content>article,
body #content>div>article,
body #content>div>section {
padding-left: 25px;
padding-right: 25px
}
}
@media only screen and (min-width: 768px) {
body>header,
body>nav,
body>footer,
body #content>article,
body #content>div>article,
body #content>div>section {
padding-left: 35px;
padding-right: 35px
}
}
@media only screen and (min-width: 992px) {
body>header,
body>nav,
body>footer,
body #content>article,
body #content>div>article,
body #content>div>section { /* changed padding for the main article from 55px to 40px*/
padding-left: 40px;
padding-right: 40px;
}
}
body div.pagination {
margin-left: 18px;
margin-right: 18px
}
@media only screen and (min-width: 480px) {
body div.pagination {
margin-left: 25px;
margin-right: 25px
}
}
@media only screen and (min-width: 768px) {
body div.pagination {
margin-left: 35px;
margin-right: 35px
}
}
@media only screen and (min-width: 992px) {
body div.pagination {
margin-left: 55px;
margin-right: 55px
}
}
body>header {
font-size: 1em;
padding-top: 1.5em;
padding-bottom: 1.5em
}
#content {
overflow: hidden
}
#content>div,
#content>article {
width: 100%
}
aside.sidebar {
float: none;
padding: 0 18px 1px;
background-color: #f7f7f7;
border-top: 1px solid #e0e0e0
}
.flex-content,
article img,
article video,
article .flash-video,
article .caption-wrapper,
aside.sidebar img {
max-width: 100%;
height: auto
}
.basic-alignment.left,
article img.left,
article video.left,
article .left.flash-video,
article .left.caption-wrapper,
aside.sidebar img.left {
float: left;
margin-right: 1.5em
}
.basic-alignment.right,
article img.right,
article video.right,
article .right.flash-video,
article .right.caption-wrapper,
aside.sidebar img.right {
float: right;
margin-left: 1.5em
}
.basic-alignment.center,
article img.center,
article video.center,
article .center.flash-video,
article .center.caption-wrapper,
aside.sidebar img.center {
display: block;
margin: 0 auto 1.5em
}
.basic-alignment.left,
article img.left,
article video.left,
article .left.flash-video,
article .left.caption-wrapper,
aside.sidebar img.left,
.basic-alignment.right,
article img.right,
article video.right,
article .right.flash-video,
article .right.caption-wrapper,
aside.sidebar img.right {
margin-bottom: .8em
}
.toggle-sidebar,
.no-sidebar .toggle-sidebar {
display: none
}
@media only screen and (min-width: 750px) {
body.sidebar-footer aside.sidebar {
float: none;
width: auto;
clear: left;
margin: 0;
padding: 0 35px 1px;
background-color: #f7f7f7;
border-top: 1px solid #eaeaea
}
body.sidebar-footer aside.sidebar section.odd,
body.sidebar-footer aside.sidebar section.even {
float: left;
width: 48%
}
body.sidebar-footer aside.sidebar section.odd {
margin-left: 0
}
body.sidebar-footer aside.sidebar section.even {
margin-left: 4%
}
body.sidebar-footer aside.sidebar.thirds section {
width: 30%;
margin-left: 5%
}
body.sidebar-footer aside.sidebar.thirds section.first {
margin-left: 0;
clear: both
}
}
body.sidebar-footer #content {
margin-right: 0px
}
body.sidebar-footer .toggle-sidebar {
display: none
}
@media only screen and (min-width: 550px) {
body>header {
font-size: 1em
}
}
@media only screen and (min-width: 750px) {
aside.sidebar {
float: none;
width: auto;
clear: left;
margin: 0;
padding: 0 35px 1px;
background-color: #f7f7f7;
border-top: 1px solid #eaeaea
}
aside.sidebar section.odd,
aside.sidebar section.even {
float: left;
width: 48%
}
aside.sidebar section.odd {
margin-left: 0
}
aside.sidebar section.even {
margin-left: 4%
}
aside.sidebar.thirds section {
width: 30%;
margin-left: 5%
}
aside.sidebar.thirds section.first {
margin-left: 0;
clear: both
}
}
@media only screen and (min-width: 768px) {
body {
-webkit-text-size-adjust: auto
}
body>header {
font-size: 1.2em
}
#main {
padding: 0;
margin: 0 auto
}
#content {
overflow: visible;
margin-right: 240px;
position: relative
}
.no-sidebar #content {
margin-right: 0;
border-right: 0
}
.collapse-sidebar #content {
margin-right: 20px
}
#content>div,
#content>article {
padding-top: 17.5px;
padding-bottom: 17.5px;
float: left
}
aside.sidebar {
width: 210px;
padding: 0 15px 15px;
background: none;
clear: none;
float: left;
margin: 0 -100% 0 0;
}
aside.sidebar section {
width: auto;
margin-left: 0
}
aside.sidebar section.odd,
aside.sidebar section.even {
float: none;
width: auto;
margin-left: 0
}
.collapse-sidebar aside.sidebar {
float: none;
width: auto;
clear: left;
margin: 0;
padding: 0 35px 1px;
background-color: #f7f7f7;
border-top: 1px solid #eaeaea
}
.collapse-sidebar aside.sidebar section.odd,
.collapse-sidebar aside.sidebar section.even {
float: left;
width: 48%
}
.collapse-sidebar aside.sidebar section.odd {
margin-left: 0
}
.collapse-sidebar aside.sidebar section.even {
margin-left: 4%
}
.collapse-sidebar aside.sidebar.thirds section {
width: 30%;
margin-left: 5%
}
.collapse-sidebar aside.sidebar.thirds section.first {
margin-left: 0;
clear: both
}
}
@media only screen and (min-width: 992px) {
body>header {
font-size: 1.3em
}
#content {
margin-right: 320px; /* increase this by X where X is the increase in width of aside.sidebar a few line down */
}
#content>div,
#content>article {
padding-top: 0.5em;
padding-bottom: 0.5em;
}
aside.sidebar {
width: 280px; /* increase sidebad, remember to increase the margin-right of #content a few lines up by the same amount */
padding: 0em 20px 20px
}
.collapse-sidebar aside.sidebar {
padding-left: 55px;
padding-right: 55px
}
}
body>header {
background: #333
}
body>header h1 {
display: inline-block;
margin: 0
}
body>header h1 a,
body>header h1 a:visited,
body>header h1 a:hover {
color: #f2f2f2;
text-decoration: none
}
body>header h2 {
margin: .2em 0 0;
font-size: 1em;
color: #aaa;
font-weight: normal
}
body>nav {
position: relative;
background-color: #ccc;
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e0e0e0), color-stop(50%, #cccccc), color-stop(100%, #b0b0b0));
background: -webkit-linear-gradient(#e0e0e0, #cccccc, #b0b0b0);
background: -moz-linear-gradient(#e0e0e0, #cccccc, #b0b0b0);
background: -o-linear-gradient(#e0e0e0, #cccccc, #b0b0b0);
background: linear-gradient(#e0e0e0, #cccccc, #b0b0b0);
border-top: 1px solid #f2f2f2;
border-bottom: 1px solid #8c8c8c;
padding-top: .35em;
padding-bottom: .35em
}
body>nav form {
-webkit-background-clip: padding;
-moz-background-clip: padding;
background-clip: padding-box;
margin: 0;
padding: 0
}
body>nav form .search {
padding: .3em .5em 0;
font-size: .85em;
font-family: "PT Sans", "Helvetica Neue", Arial, sans-serif;
line-height: 1.1em;
width: 95%;
-webkit-border-radius: 0.5em;
-moz-border-radius: 0.5em;
-ms-border-radius: 0.5em;
-o-border-radius: 0.5em;
border-radius: 0.5em;
-webkit-background-clip: padding;
-moz-background-clip: padding;
background-clip: padding-box;
-webkit-box-shadow: #d1d1d1 0 1px;
-moz-box-shadow: #d1d1d1 0 1px;
box-shadow: #d1d1d1 0 1px;
background-color: #f2f2f2;
border: 1px solid #b3b3b3;
color: #888
}
body>nav form .search:focus {
color: #444;
border-color: #80b1df;
-webkit-box-shadow: #80b1df 0 0 4px, #80b1df 0 0 3px inset;
-moz-box-shadow: #80b1df 0 0 4px, #80b1df 0 0 3px inset;
box-shadow: #80b1df 0 0 4px, #80b1df 0 0 3px inset;
background-color: #fff;
outline: none
}
body>nav fieldset[role=search] {
float: right;
width: 48%
}
body>nav fieldset.mobile-nav {
float: left;
width: 48%
}
body>nav fieldset.mobile-nav select {
width: 100%;
font-size: .8em;
border: 1px solid #888
}
body>nav ul {
display: none
}
@media only screen and (min-width: 550px) {
body>nav {
font-size: .9em
}
body>nav ul {
margin: 0;
padding: 0;
border: 0;
overflow: hidden;
*zoom: 1;
float: left;
display: block;
padding-top: .15em
}
body>nav ul li {
list-style-image: none;
list-style-type: none;
margin-left: 0;
white-space: nowrap;
display: inline;
float: left;
padding-left: 0;
padding-right: 0
}
body>nav ul li:first-child,
body>nav ul li.first {
padding-left: 0
}
body>nav ul li:last-child {
padding-right: 0
}
body>nav ul li.last {
padding-right: 0
}
body>nav ul.subscription {
margin-left: .8em;
float: right
}
body>nav ul.subscription li:last-child a {
padding-right: 0
}
body>nav ul li {
margin: 0
}
body>nav a {
color: #6b6b6b;
font-family: "PT Sans", "Helvetica Neue", Arial, sans-serif;
text-shadow: #ebebeb 0 1px;
float: left;
text-decoration: none;
font-size: 1.1em;
padding: .1em 0;
line-height: 1.5em
}
body>nav a:visited {
color: #6b6b6b
}
body>nav a:hover {
color: #2b2b2b
}
body>nav li+li {
border-left: 1px solid #b0b0b0;
margin-left: .8em
}
body>nav li+li a {
padding-left: .8em;
border-left: 1px solid #dedede
}
body>nav form {
float: right;
text-align: left;
padding-left: .8em;
width: 175px
}
body>nav form .search {
width: 93%;
font-size: .95em;
line-height: 1.2em
}
body>nav ul[data-subscription$=email]+form {
width: 97px
}
body>nav ul[data-subscription$=email]+form .search {
width: 91%
}
body>nav fieldset.mobile-nav {
display: none
}
body>nav fieldset[role=search] {
width: 99%
}
}
@media only screen and (min-width: 992px) {
body>nav form {
width: 215px
}
body>nav ul[data-subscription$=email]+form {
width: 147px
}
}
.no-placeholder body>nav .search {
background: #f2f2f2 0.3em 0.25em no-repeat;
text-indent: 1.3em
}
@media only screen and (min-width: 550px) {
.maskImage body>nav ul[data-subscription$=email]+form {
width: 123px
}
}
@media only screen and (min-width: 992px) {
.maskImage body>nav ul[data-subscription$=email]+form {
width: 173px
}
}
.maskImage ul.subscription {
position: relative;
top: .2em
}
.maskImage ul.subscription li,
.maskImage ul.subscription a {
border: 0;
padding: 0
}
.maskImage a[rel=subscribe-rss] {
position: relative;
top: 0px;
text-indent: -999999em;
background-color: #dedede;
border: 0;
padding: 0
}
.maskImage a[rel=subscribe-rss],
.maskImage a[rel=subscribe-rss]:after {
-webkit-mask-repeat: no-repeat;
-moz-mask-repeat: no-repeat;
-ms-mask-repeat: no-repeat;
-o-mask-repeat: no-repeat;
mask-repeat: no-repeat;
width: 22px;
height: 22px
}
.maskImage a[rel=subscribe-rss]:after {
content: "";
position: absolute;
top: -1px;
left: 0;
background-color: #ababab
}
.maskImage a[rel=subscribe-rss]:hover:after {
background-color: #9e9e9e
}
.maskImage a[rel=subscribe-email] {
position: relative;
top: 0px;
text-indent: -999999em;
background-color: #dedede;
border: 0;
padding: 0
}
.maskImage a[rel=subscribe-email],
.maskImage a[rel=subscribe-email]:after {
-webkit-mask-repeat: no-repeat;
-moz-mask-repeat: no-repeat;
-ms-mask-repeat: no-repeat;
-o-mask-repeat: no-repeat;
mask-repeat: no-repeat;
width: 28px;
height: 22px
}
.maskImage a[rel=subscribe-email]:after {
content: "";
position: absolute;
top: -1px;
left: 0;
background-color: #ababab
}
.maskImage a[rel=subscribe-email]:hover:after {
background-color: #9e9e9e
}
article {
padding-top: 1em
}
article header {
position: relative;
/*padding-top: 2em;*/
padding-bottom: 1em;
margin-bottom: 1em;
}
article header h1 {
margin: 0;
margin-top: 0.15em;
}
article header h1 a {
text-decoration: none
}
article header h1 a:hover {
text-decoration: underline
}
article header p {
font-size: .9em;
color: #aaa;
margin: 0
}
article header p.meta {
text-transform: uppercase;
/*position: absolute;*/
top: 0;
}
@media only screen and (min-width: 768px) {
article header {
margin-bottom: 1.5em;
padding-bottom: 1em;
}
}
.entry-content article h2:first-child,
article header+h2 {
padding-top: 0
}
article h2:first-child,
article header+h2 {
background: none
}
article .feature {
padding-top: .5em;
margin-bottom: 1em;
padding-bottom: 1em;
font-size: 2.0em;
font-style: italic;
line-height: 1.3em
}
article img,
article video,
article .flash-video,
article .caption-wrapper {
-webkit-border-radius: 0.3em;
-moz-border-radius: 0.3em;
-ms-border-radius: 0.3em;
-o-border-radius: 0.3em;
border-radius: 0.3em;
-webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 1px 4px;
-moz-box-shadow: rgba(0, 0, 0, 0.15) 0 1px 4px;
box-shadow: rgba(0, 0, 0, 0.15) 0 1px 4px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border: #fff 0.5em solid
}
article img.caption,
article video.caption,
article .flash-video.caption,
article .caption-wrapper.caption {
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
-ms-border-radius: 0px;
-o-border-radius: 0px;
border-radius: 0px;
-webkit-box-shadow: 0px;
-moz-box-shadow: 0px;
box-shadow: 0px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border: 0px
}
article .caption-wrapper {
display: inline-block;
margin-bottom: 1em;
}
article .caption-wrapper .caption-text {
background: #fff;
text-align: center;
font-size: .8em;
color: #666;
display: block
}
article video,
article .flash-video {
margin: 0 auto 1.5em
}
article video {
display: block;
width: 100%
}
article .flash-video>div {
position: relative;
display: block;
padding-bottom: 56.25%;
padding-top: 1px;
height: 0;
overflow: hidden
}
article .flash-video>div iframe,
article .flash-video>div object,
article .flash-video>div embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%
}
article>footer {
padding-bottom: 0.3em; /* decrease footer padding */
margin-top: 0.3em;
}
article>footer p.meta {
margin-bottom: .8em;
font-size: .85em;
clear: both;
overflow: hidden
}
#content .blog-index {
padding-top: 0;
padding-bottom: 0
}
#content .blog-index article {
padding-top: 2em;
font-family: "PT Serif",Georgia,Times,"Times New Roman",serif;
}
#content .blog-index article header {
background: none;
padding-bottom: 0
}
#content .blog-index article h1 {
font-size: 2.2em
}
#content .blog-index article h1 a {
color: inherit
}
#content .blog-index article h1 a:hover {
color: #0181eb
}
#content .blog-index a[rel=full-article] {
background: #ebebeb;
display: inline-block;
padding: .4em .8em;
margin-right: .5em;
text-decoration: none;
color: #666;
-webkit-transition: background-color 0.5s;
-moz-transition: background-color 0.5s;
-o-transition: background-color 0.5s;
transition: background-color 0.5s
}
#content .blog-index a[rel=full-article]:hover {
background: #0181eb;
text-shadow: none;
color: #f8f8f8
}
#content .blog-index footer {
margin-top: 1em
}
.separator,
article>footer .byline+time:before,
article>footer time+time:before,
article>footer .comments:before,
article>footer .byline ~ .categories:before {
content: "\2022 ";
padding: 0 .4em 0 .2em;
display: inline-block
}
/* pagination stuff */
#content div.pagination {
text-align: center;
font-size: .95em;
position: relative;
padding-top: 1.5em;
padding-bottom: 1.5em
}
#content div.pagination a {
text-decoration: none;
color: #000;
padding-left: 0.4em; /* horizontal space between pagination links */
}
#content div.pagination a:hover { /* hover color for pagination links/icons */
color: #0181eb
}
/* if you want to send pagination icons/links to left or right, you can use these labels
#content div.pagination a.prev {
position: absolute;
left: 0
}
#content div.pagination a.next {
position: absolute;
right: 0
}
#content div.pagination a[href*=archive]:before,
#content div.pagination a[href*=archive]:after {
content: '\2014';
padding: 0 .3em
}
*/
p.meta+.sharing {
padding-top: 1em;
padding-left: 0;
}
#fb-root {
display: none
}
pre {
background: #002b36 top left;
-webkit-border-radius: 0.0em;
-moz-border-radius: 0.0em;
-ms-border-radius: 0.0em;
-o-border-radius: 0.0em;
border-radius: 0.0em;
line-height: 1.45em;
margin-bottom: 0.8em;
padding: 0em 0em;
color: #93a1a1;
font-size: 80%; /* change the code font size */
}
h3.filename+pre {
-moz-border-radius-topleft: 0px;
-webkit-border-top-left-radius: 0px;
border-top-left-radius: 0px;
-moz-border-radius-topright: 0px;
-webkit-border-top-right-radius: 0px;
border-top-right-radius: 0px
}
p code,
li code {
display: inline-block;
white-space: no-wrap;
background: #fff;
font-size: .8em;
line-height: 1.5em;
color: #555;
border: 1px solid #ddd;
-webkit-border-radius: 0.4em;
-moz-border-radius: 0.4em;
-ms-border-radius: 0.4em;
-o-border-radius: 0.4em;
border-radius: 0.4em;
padding: 0 .3em;
margin: -1px 0
}
p pre code,
li pre code {
font-size: 1em !important;
background: none;
border: none;
color: #93a1a1;
}
/* Fix codecaption and the new Chroma highlighter */
div.highlight > pre > code,
pre > code
{
overflow-y: hidden;
display: block;
}
td > div.highlight > pre > code,
div.linenodiv > pre > code
{
overflow: scroll;
overflow-y: hidden;
display: inline;
}
/* End fix codecaption and the new Chroma highlighter */
pre::-webkit-scrollbar,
.highlighttable::-webkit-scrollbar,
.gist-highlighttable::-webkit-scrollbar {
height: .5em;
background: rgba(255, 255, 255, 0.15)
}
pre::-webkit-scrollbar-thumb:horizontal,
.highlighttable::-webkit-scrollbar-thumb:horizontal,
.gist-highlighttable::-webkit-scrollbar-thumb:horizontal {
background: rgba(255, 255, 255, 0.2);
-webkit-border-radius: 4px;
border-radius: 4px
}
figure.code {
background: none;
padding: 0;
border: 0;
margin-bottom: 0.8em
}
figure.code pre {
margin-bottom: 0
}
figure.code figcaption {
position: relative
}
figure.code .highlighttable {
margin-bottom: 0;
table-layout: fixed;
width: 100%;
}
.code-title,
h3.filename,
figure.code figcaption { /* figcaption changes */
text-align: center;
line-height: 2em;
text-shadow: #cbcccc 0 1px 0;
color: #474747;
font-weight: normal;
margin-bottom: 0;
-moz-border-radius-topleft: 5px;
-webkit-border-top-left-radius: 5px;
border-top-left-radius: 5px;
-moz-border-radius-topright: 5px;
-webkit-border-top-right-radius: 5px;
border-top-right-radius: 5px;
background: #aaa top repeat-x;
border: 1px solid #565656;
border-top-color: #cbcbcb;
border-left-color: #a5a5a5;
border-right-color: #a5a5a5;
border-bottom: 0;
font-size: 90%; /* change size of font in figcaption */
}
.download-source,
figure.code figcaption a {
position: absolute;
right: .8em;
text-decoration: none;
color: #666 !important;
z-index: 1;
font-size: 13px;
text-shadow: #cbcccc 0 1px 0;
padding-left: 3em
}
.download-source:hover,
figure.code figcaption a:hover {
text-decoration: underline
}
#archive #content>div,
#archive #content>div>article {
padding-top: 0
}
#blog-archives {
color: #aaa
}
#blog-archives article {
padding: 1em 0 1em;
position: relative;
}
#blog-archives article:last-child {
background: none
}
#blog-archives article footer {
padding: 0;
margin: 0
}
#blog-archives h1 {
color: #222;
margin-bottom: .3em
}
#blog-archives h2 {
display: none
}
#blog-archives h1 {
font-size: 1.5em
}
#blog-archives h1 a {
text-decoration: none;
color: inherit;
font-weight: normal;
display: inline-block
}
#blog-archives h1 a:hover {
text-decoration: underline
}
#blog-archives h1 a:hover {
color: #0181eb
}
#blog-archives a.category,
#blog-archives time {
color: #aaa;
}
#blog-archives .entry-content {
display: none
}
#blog-archives time {
font-size: .9em;
line-height: 1.2em
}
#blog-archives time .month,
#blog-archives time .day {
display: inline-block;
}
#blog-archives time .month {
text-transform: uppercase
}
#blog-archives p {
margin-bottom: 1em
}
#blog-archives a,
#blog-archives .entry-content a {
color: inherit
}
#blog-archives a:hover,
#blog-archives .entry-content a:hover {
color: #0181eb
}
#blog-archives a:hover {
color: #0181eb
}
@media only screen and (min-width: 550px) {
#blog-archives article {
margin-left: 5em
}
#blog-archives h2 {
margin-bottom: 0.3em;
font-weight: normal;
display: inline-block;
position: relative;
top: -1px;
float: left;
margin-top: 1.7em; /* align year with the rest */
}
#blog-archives time {
position: absolute;
text-align: right;
left: 0em;
top: 3em; /* may need to change this to align the month/date on the tag/category (archive) pages with post name */
font-family: "PT Sans","Helvetica Neue",Arial,sans-serif;
}
/* #blog-archives .year {
display: none;
}*/
#blog-archives article {
padding-left: 4.5em;
padding-bottom: .7em;
}
#blog-archives a.category {
line-height: 1.1em;
}
}
#content>.category article {
margin-left: 0;
padding-left: 6.8em
}
#content>.category .year {
display: inline;
}
.side-shadow-border,
aside.sidebar section h1,
aside.sidebar li {
-webkit-box-shadow: #fff 0 1px;
-moz-box-shadow: #fff 0 1px;
box-shadow: #fff 0 1px
}
aside.sidebar {
overflow: hidden;
color: #4b4b4b;
text-shadow: #fff 0 1px;
}
aside.sidebar section {
font-size: 0.9em;
line-height: 1.4em;
margin-bottom: 0.5em
}
aside.sidebar section h1 {
margin: 0.5em 0 0;
padding-bottom: .2em;
border-bottom: 1px solid #e0e0e0
}
aside.sidebar section h1+p {
padding-top: .4em
}
aside.sidebar img {
-webkit-border-radius: 0.3em;
-moz-border-radius: 0.3em;
-ms-border-radius: 0.3em;
-o-border-radius: 0.3em;
border-radius: 0.3em;
-webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 1px 4px;
-moz-box-shadow: rgba(0, 0, 0, 0.15) 0 1px 4px;
box-shadow: rgba(0, 0, 0, 0.15) 0 1px 4px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border: #fff 0.3em solid
}
aside.sidebar ul {
margin-bottom: 0.5em;
margin-left: 0
}
aside.sidebar li {
list-style: none;
padding: .5em 0;
margin: 0;
border-bottom: 1px solid #e0e0e0
}
aside.sidebar li p:last-child {
margin-bottom: 0
}
aside.sidebar a {
color: inherit;
-webkit-transition: color 0.5s;
-moz-transition: color 0.5s;
-o-transition: color 0.5s;
transition: color 0.5s
}
aside.sidebar:hover a {
color: #222
}
aside.sidebar:hover a:hover {
color: #0181eb
}
@media only screen and (min-width: 768px) {
.toggle-sidebar {
outline: none;
position: absolute;
right: -10px;
top: 0;
bottom: 0;
display: inline-block;
text-decoration: none;
color: #cecece;
width: 9px;
cursor: pointer
}
.toggle-sidebar:hover {
background: #e9e9e9;
background: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, rgba(224, 224, 224, 0.5)), color-stop(100%, rgba(224, 224, 224, 0)));
background: -webkit-linear-gradient(left, rgba(224, 224, 224, 0.5), rgba(224, 224, 224, 0));
background: -moz-linear-gradient(left, rgba(224, 224, 224, 0.5), rgba(224, 224, 224, 0));
background: -o-linear-gradient(left, rgba(224, 224, 224, 0.5), rgba(224, 224, 224, 0));
background: linear-gradient(left, rgba(224, 224, 224, 0.5), rgba(224, 224, 224, 0))
}
.toggle-sidebar:after {
position: absolute;
right: -11px;
top: 0;
width: 20px;
font-size: 1.2em;
line-height: 1.1em;
padding-bottom: .15em;
-moz-border-radius-bottomright: 0.3em;
-webkit-border-bottom-right-radius: 0.3em;
border-bottom-right-radius: 0.3em;
text-align: center;
border-bottom: 1px solid #e0e0e0;
border-right: 1px solid #e0e0e0;
content: "\00BB";
text-indent: -1px
}
.collapse-sidebar .toggle-sidebar {
text-indent: 0px;
right: -20px;
width: 19px
}
.collapse-sidebar .toggle-sidebar:hover {
background: #e9e9e9
}
.collapse-sidebar .toggle-sidebar:after {
border-left: 1px solid #e0e0e0;
text-shadow: #fff 0 1px;
content: "\00AB";
left: 0px;
right: 0;
text-align: center;
text-indent: 0;
border: 0;
border-right-width: 0;
background: none
}
}
body>footer {
font-size: 1em; /* increase font size for footer */
color: #888;
text-shadow: #d9d9d9 0 1px;
background-color: #ccc;
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e0e0e0), color-stop(50%, #cccccc), color-stop(100%, #b0b0b0));
background: -webkit-linear-gradient(#e0e0e0, #cccccc, #b0b0b0);
background: -moz-linear-gradient(#e0e0e0, #cccccc, #b0b0b0);
background: -o-linear-gradient(#e0e0e0, #cccccc, #b0b0b0);
background: linear-gradient(#e0e0e0, #cccccc, #b0b0b0);
border-top: 1px solid #f2f2f2;
position: relative;
padding-top: 1em;
padding-bottom: 1em;
margin-bottom: 3em;
-moz-border-radius-bottomleft: 0.4em;
-webkit-border-bottom-left-radius: 0.4em;
border-bottom-left-radius: 0.4em;
-moz-border-radius-bottomright: 0.4em;
-webkit-border-bottom-right-radius: 0.4em;
border-bottom-right-radius: 0.4em;
z-index: 1
}
body>footer a {
color: #6b6b6b
}
body>footer a:visited {
color: #6b6b6b
}
body>footer a:hover {
color: #484848
}
body>footer p:last-child {
margin-bottom: 0
}
table,
th,
td
{
border: 1px solid black;
padding: 3px;
}
th {
font-weight: bold;
text-align: center;
}
/* Taken from hyde-x.css to format labels (categories) as Octopress doesn't have */
.label {
display: inline;
padding: .2em .6em .3em;
font-size: 80%;
font-weight: bold;
line-height: 1;
color: #fff;
text-align: center;
vertical-align: baseline;
border-radius: .25em;
}
a.label:hover,
a.label:focus {
color: #fff;
text-decoration: none;
cursor: pointer;
}
.label:empty {
display: none;
}
/* keep the color of visited categories- visited color makes them unreadable */
a.label:visited {
color: #fff;
}
.label {
margin: 0 .25em;
background-color: #313131;
}
.posts a.label,
.post-date a.label {
color: #fff;
text-decoration: none;
cursor: pointer;
}
/* this part makes the mycode shortcode work */
.linenodiv {
background-color: #002B36!important;
}
/* because we have changed the font-family of everything, we need to change it for the code inside pre to fit with line numbers */
pre span {
font-family: Menlo,Monaco,"Andale Mono","lucida console","Courier New",monospace;
}
td.code {
width:95%;
}
/* end of making mycode shortcode work */
/* wrapped the whole output from the highlight function (which is a table) in a div to get a horizontal scrollbar for the whole row and not just the "pre" in the cell
having a scrollbar for the cell will break alignment with line numbers
*/
div.codewrapper {
overflow-x: auto;
overflow-y: hidden;
background-color: #002B36;
}
/* overflow for backtick code block
by just modifying div.highlight I will screw the codecaption overflow as they have div.highlight too.
This ">" syntax is something new that I learned.
basically it will select only div.highlights that are direct childs of entry-content */
div.entry-content > div.highlight {
border-color: #002B36;
overflow-x: auto;
overflow-y: hidden;
margin-bottom: 0.4em;
}
/* decrease h1 size in article body so we can use it in the article as heading */
div.entry-content > h1 {
font-size:1.7em;
}
div.entry-content > h2 {
font-size:1.5em;
}
/* decrease margin for article headings */
div.entry-content >
h1,
h2,
h3,
h4,
h5,
h6 {
margin-bottom: 0.5em;
margin-top: 0.8em;
}
/* side bar code from hyde-x - start */
/*
* Sidebar
*
* Flexible banner for housing site name, intro, and "footer" content. Starts
* out above content in mobile and later moves to the side with wider viewports.
*/
.sidebar {
/* text-align: center; */
padding: 2rem 1rem;
color: rgba(255,255,255,.5);
background-color: #202020;
}
/* aligns the side bar to the left, we want it to be on the right
@media (min-width: 48em) {
.sidebar {
position: fixed;
top: 0;
left: 0;
bottom: 0;
width: 18rem;
text-align: left;
}
} */
/* Sidebar links */
/* Sticky sidebar
*
* Add the `sidebar-sticky` class to the sidebar's container to affix it the
* contents to the bottom of the sidebar in tablets and up.
*/
@media (min-width: 48em) {
.sidebar-sticky {
position: absolute;
right: 1rem;
bottom: 1rem;
left: 1rem;
}
}
/* side bar code from hyde-x - end */
/* making the gist work - start */
.gist .gist-meta {
font-size: 90% !important;
color: #586069 !important;
background-color: #f7f7f7;
border-radius: 0 0 2px 2px;
border: 1px solid #a5a5a5 !important;
background: #aaa top repeat-x !important;
-moz-border-radius-bottomleft: 5px !important;
-webkit-border-bottom-left-radius: 5px !important;
border-bottom-left-radius: 5px !important;
-moz-border-radius-bottomright: 5px !important;
-webkit-border-bottom-right-radius: 5px !important;
border-bottom-right-radius: 5px !important;
}
/* Force gist linenos to be the same size as code linenos */
.gist .blob-num {
font-size: 0.938em !important;
}
.gist .highlight, .gist .blob-code-inner {
font-size: 0.938em !important; /* oh lol what have I done? */
font-family: Menlo,Monaco,"Andale Mono","lucida console","Courier New",monospace !important;
line-height: 1.25em !important;
}
/* credit: https://gist.github.com/RomkeVdMeulen/889d44d3d4c5a11002c57ca068d295ec */
.gist .pl-c1, .gist .pl-s .pl-v {
color: #719e07 !important;
}
.gist .gist-meta {
background-color: #073642 !important;
color: #93a1a1 !important;
}
.gist .gist-meta a {
color: #268bd2 !important;
}
.gist .gist-data, .gist .highlight {
background-color: #002b36 !important;
color: #93a1a1 !important;
}
.gist .pl-smi, .gist .pl-s .pl-s1, .gist .blob-code-inner, .gist .blob-num {
color: #93a1a1 !important;
}
.gist .pl-k {
color: #719e07 !important;
}
.gist .pl-e, .gist .pl-en {
color: #cb4b16 !important;
}
.gist .pl-s, .gist .pl-pds, .gist .pl-s .pl-pse .pl-s1, .gist .pl-sr,
.gist .pl-sr .pl-cce, .gist .pl-sr .pl-sre, .gist .pl-sr .pl-sra {
color: #2aa198 !important;
}
.gist .pl-s, .gist .pl-pds, .gist .pl-s .pl-pse .pl-s1, .gist .pl-sr,
.gist .pl-sr .pl-cce, .gist .pl-sr .pl-sre, .gist .pl-sr .pl-sra,
.gist .pl-e, .gist .pl-en,
.gist .pl-k,
.gist .pl-smi, .gist .pl-s .pl-s1, .gist .blob-code-inner, .gist .blob-num,
.gist .gist-data, .gist .highlight,
.gist .pl-c1, .gist .pl-s .pl-v,
.gist .pl-c /* comments */ {
font-family: Menlo,Monaco,"Andale Mono","lucida console","Courier New",monospace !important;
}
/* credit gist - end*/
/* making the gist work - end */
/* Hugo Figure shortcode - start */
figure figcaption {
background: #fff;
text-align: center;
font-size: 1em;
color: #666;
display: block;
}
figure {
color: #666;
}
figure a {
color: #666;
text-align: center;
text-decoration: none;
display: inline-block;
white-space: nowrap;
}
/* Hugo Figure shortcode - end */
/* Chroma - start */
/* Background */ .chroma { color: #93a1a1; background-color: #002b36; tab-size: 4; }
/* Other */ .chroma .x { color: #cb4b16 }
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; display: block; }
/* LineHighlight */ .chroma .hl { display: block; width: 100%; }
/* LineNumbersTable */ .chroma .lnt { margin-right: 0.3em; padding: 0 0.3em 0 0.3em; }
/* LineNumbers */ .chroma .ln { margin-right: 0.3em; padding: 0 0.3em 0 0.3em; }
/* Keyword */ .chroma .k { color: #719e07 }
/* KeywordConstant */ .chroma .kc { color: #cb4b16 }
/* KeywordDeclaration */ .chroma .kd { color: #268bd2 }
/* KeywordNamespace */ .chroma .kn { color: #719e07 }
/* KeywordPseudo */ .chroma .kp { color: #719e07 }
/* KeywordReserved */ .chroma .kr { color: #268bd2 }
/* KeywordType */ .chroma .kt { color: #dc322f }
/* NameBuiltin */ .chroma .nb { color: #b58900 }
/* NameBuiltinPseudo */ .chroma .bp { color: #268bd2 }
/* NameClass */ .chroma .nc { color: #268bd2 }
/* NameConstant */ .chroma .no { color: #cb4b16 }
/* NameDecorator */ .chroma .nd { color: #268bd2 }
/* NameEntity */ .chroma .ni { color: #cb4b16 }
/* NameException */ .chroma .ne { color: #cb4b16 }
/* NameFunction */ .chroma .nf { color: #268bd2 }
/* NameTag */ .chroma .nt { color: #268bd2 }
/* NameVariable */ .chroma .nv { color: #268bd2 }
/* LiteralString */ .chroma .s { color: #2aa198 }
/* LiteralStringAffix */ .chroma .sa { color: #2aa198 }
/* LiteralStringBacktick */ .chroma .sb { color: #586e75 }
/* LiteralStringChar */ .chroma .sc { color: #2aa198 }
/* LiteralStringDelimiter */ .chroma .dl { color: #2aa198 }
/* LiteralStringDouble */ .chroma .s2 { color: #2aa198 }
/* LiteralStringEscape */ .chroma .se { color: #cb4b16 }
/* LiteralStringInterpol */ .chroma .si { color: #2aa198 }
/* LiteralStringOther */ .chroma .sx { color: #2aa198 }
/* LiteralStringRegex */ .chroma .sr { color: #dc322f }
/* LiteralStringSingle */ .chroma .s1 { color: #2aa198 }
/* LiteralStringSymbol */ .chroma .ss { color: #2aa198 }
/* LiteralNumber */ .chroma .m { color: #2aa198 }
/* LiteralNumberBin */ .chroma .mb { color: #2aa198 }
/* LiteralNumberFloat */ .chroma .mf { color: #2aa198 }
/* LiteralNumberHex */ .chroma .mh { color: #2aa198 }
/* LiteralNumberInteger */ .chroma .mi { color: #2aa198 }
/* LiteralNumberIntegerLong */ .chroma .il { color: #2aa198 }
/* LiteralNumberOct */ .chroma .mo { color: #2aa198 }
/* Operator */ .chroma .o { color: #719e07 }
/* OperatorWord */ .chroma .ow { color: #719e07 }
/* Comment */ .chroma .c { color: #586e75 }
/* CommentHashbang */ .chroma .ch { color: #586e75 }
/* CommentMultiline */ .chroma .cm { color: #586e75 }
/* CommentSingle */ .chroma .c1 { color: #586e75 }
/* CommentSpecial */ .chroma .cs { color: #719e07 }
/* CommentPreproc */ .chroma .cp { color: #719e07 }
/* CommentPreprocFile */ .chroma .cpf { color: #719e07 }
/* GenericDeleted */ .chroma .gd { color: #dc322f }
/* GenericEmph */ .chroma .ge { font-style: italic }
/* GenericError */ .chroma .gr { color: #dc322f; font-weight: bold }
/* GenericHeading */ .chroma .gh { color: #cb4b16 }
/* GenericInserted */ .chroma .gi { color: #719e07 }
/* GenericStrong */ .chroma .gs { font-weight: bold }
/* GenericSubheading */ .chroma .gu { color: #268bd2 }
/* Chroma - end */