2014-06-29 19:51:58 +00:00
|
|
|
/*****************************************************************************/
|
|
|
|
/*
|
|
|
|
/* Common
|
|
|
|
/*
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
/* Box sizing. Courtesy of Paul Irish
|
|
|
|
* (http://www.paulirish.com/2012/box-sizing-border-box-ftw/) */
|
|
|
|
*, *:before, *:after {
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2014-07-13 23:18:26 +00:00
|
|
|
html {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2014-09-16 21:32:48 +00:00
|
|
|
background: whitesmoke;
|
2014-07-13 23:18:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: 'Open Sans', Arial, sans-serif;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
|
|
|
color: #444;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
width: 75%;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color:FireBrick;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2014-06-29 19:51:58 +00:00
|
|
|
|
2014-07-24 03:19:54 +00:00
|
|
|
p {
|
|
|
|
margin: 0 0 10px;
|
|
|
|
}
|
|
|
|
|
2017-07-11 04:46:03 +00:00
|
|
|
table {
|
2017-07-11 05:51:09 +00:00
|
|
|
min-width: 85%;
|
|
|
|
margin: 1em auto 1em;
|
2017-07-11 04:46:03 +00:00
|
|
|
border: 1px solid #cbcbcb;
|
|
|
|
}
|
|
|
|
|
|
|
|
td, th {
|
|
|
|
padding: 0.5em 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
border: 1px solid #cbcbcb;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr:nth-child(2n-1) td {
|
|
|
|
background-color: #f2f2f2;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-07-13 23:18:26 +00:00
|
|
|
a:visited {
|
|
|
|
color:#855C85;
|
|
|
|
}
|
2014-06-29 19:51:58 +00:00
|
|
|
|
2014-07-13 23:18:26 +00:00
|
|
|
a:hover {
|
|
|
|
color:FireBrick;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2014-06-29 19:51:58 +00:00
|
|
|
|
2014-07-13 23:18:26 +00:00
|
|
|
canvas {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
2014-06-29 19:51:58 +00:00
|
|
|
|
2014-07-13 23:18:26 +00:00
|
|
|
blockquote {
|
|
|
|
margin-left: 20px;
|
|
|
|
margin-right: 20px;
|
|
|
|
padding-left: 1rem;
|
|
|
|
border-left: solid 3px #aaa;
|
|
|
|
}
|
2014-06-29 19:51:58 +00:00
|
|
|
|
2014-07-13 23:18:26 +00:00
|
|
|
blockquote p {
|
|
|
|
margin-bottom: 6px;
|
|
|
|
}
|
2014-06-29 19:51:58 +00:00
|
|
|
|
2014-07-24 17:26:12 +00:00
|
|
|
@font-face {
|
|
|
|
font-family: 'dejavu_sans_monobook';
|
|
|
|
src: url('DejaVuSansMono-webfont.eot');
|
|
|
|
src: url('DejaVuSansMono-webfont.eot?#iefix') format('embedded-opentype'),
|
|
|
|
url('DejaVuSansMono-webfont.woff') format('woff'),
|
|
|
|
url('DejaVuSansMono-webfont.ttf') format('truetype'),
|
|
|
|
url('DejaVuSansMono-webfont.svg#dejavu_sans_monobook') format('svg');
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
2014-06-29 19:51:58 +00:00
|
|
|
/*****************************************************************************/
|
|
|
|
/*
|
|
|
|
/* Grid
|
|
|
|
/*
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
/* Grid. Courtesy of Adam Kaplan (http://www.adamkaplan.me/grid/) */
|
|
|
|
.container {
|
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 48rem;
|
2017-06-21 04:50:12 +00:00
|
|
|
width: 100%;
|
2014-06-29 19:51:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 40rem) {
|
2017-06-21 04:50:12 +00:00
|
|
|
.container {
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
|
2014-06-29 19:51:58 +00:00
|
|
|
.column {
|
|
|
|
float: left;
|
|
|
|
padding-left: 1rem;
|
|
|
|
padding-right: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.column.full { width: 100%; }
|
|
|
|
.column.two-thirds { width: 66.7%; }
|
|
|
|
.column.half { width: 50%; }
|
|
|
|
.column.third { width: 33.3%; }
|
|
|
|
.column.fourth { width: 25%; }
|
|
|
|
.column.three-fourths { width: 75%; }
|
|
|
|
.column.flow-opposite { float: right; }
|
|
|
|
}
|
|
|
|
|
|
|
|
.clearfix:before,
|
|
|
|
.clearfix:after {
|
|
|
|
content: " ";
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
|
|
|
|
.clearfix:after {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
.clearfix {
|
|
|
|
*zoom: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 40rem) {
|
|
|
|
.column.flow-opposite { float: right; }
|
|
|
|
}
|
|
|
|
|
|
|
|
/* More suggestions from Jorden Lev (http://jordanlev.github.io/grid/) */
|
|
|
|
@-webkit-viewport {width: device-width;}
|
|
|
|
@-moz-viewport {width: device-width;}
|
|
|
|
@-ms-viewport {width: device-width;}
|
|
|
|
@-o-viewport {width: device-width;}
|
|
|
|
@viewport {width: device-width;}
|
|
|
|
|
|
|
|
img { width: auto; max-width: 100%; height: auto; }
|
|
|
|
|
2014-07-24 17:26:12 +00:00
|
|
|
/* Credit http://avexdesigns.com/responsive-youtube-embed/#sthash.Q9VzxV8M.dpuf
|
|
|
|
* for this responsive video embed css */
|
|
|
|
.video-container {
|
|
|
|
position: relative;
|
|
|
|
padding-bottom: 56.25%;
|
|
|
|
padding-top: 30px; height: 0; overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-container iframe,
|
|
|
|
.video-container object,
|
|
|
|
.video-container embed {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
2014-06-29 19:51:58 +00:00
|
|
|
/* By me */
|
|
|
|
.hide-mobile {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-01-13 20:15:24 +00:00
|
|
|
.hide-desktop-inline-block { display: inline-block }
|
|
|
|
.hide-desktop-block { display: block }
|
|
|
|
.hide-desktop-inline { display: inline }
|
2014-06-29 19:51:58 +00:00
|
|
|
|
|
|
|
@media (min-width: 40rem) {
|
|
|
|
.hide-desktop { display: none }
|
2015-01-11 23:01:15 +00:00
|
|
|
.hide-mobile-inline-block { display: inline-block }
|
|
|
|
.hide-mobile-block { display: block }
|
2015-01-13 20:15:24 +00:00
|
|
|
.hide-mobile-inline { display: inline }
|
2014-06-29 19:51:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
/*
|
2014-07-13 23:18:26 +00:00
|
|
|
/* Blog
|
2014-06-29 19:51:58 +00:00
|
|
|
/*
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
2014-07-13 23:18:26 +00:00
|
|
|
h1.title {
|
2014-06-29 19:51:58 +00:00
|
|
|
display: inline-block;
|
2014-07-13 23:18:26 +00:00
|
|
|
padding-right: 10px;
|
|
|
|
font-size: 2rem;
|
|
|
|
font-weight: 200;
|
2014-07-24 03:19:54 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.header {
|
|
|
|
margin: 20px 0 20px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 40rem) {
|
|
|
|
div.header {
|
|
|
|
text-align: start;
|
|
|
|
}
|
2014-06-29 19:51:58 +00:00
|
|
|
}
|
|
|
|
|
2014-07-13 23:18:26 +00:00
|
|
|
div.header a {
|
|
|
|
color: FireBrick;
|
2014-06-29 19:51:58 +00:00
|
|
|
}
|
|
|
|
|
2014-07-13 23:18:26 +00:00
|
|
|
span.timestamp {
|
|
|
|
font-size: 0.85rem;
|
2014-07-24 03:19:54 +00:00
|
|
|
margin-top: 7px;
|
2014-06-29 19:51:58 +00:00
|
|
|
}
|
|
|
|
|
2014-07-13 23:18:26 +00:00
|
|
|
@media (min-width: 40rem) {
|
|
|
|
span.timestamp {
|
|
|
|
float: right;
|
|
|
|
}
|
2014-06-29 19:51:58 +00:00
|
|
|
}
|
|
|
|
|
2014-07-13 23:18:26 +00:00
|
|
|
.post-header {
|
|
|
|
padding-bottom: 10px;
|
2014-06-29 19:51:58 +00:00
|
|
|
}
|
|
|
|
|
2014-07-13 23:18:26 +00:00
|
|
|
a.read-more {
|
|
|
|
float: right;
|
|
|
|
font-size: 0.85rem;
|
2014-06-29 19:51:58 +00:00
|
|
|
}
|
|
|
|
|
2014-07-13 23:18:26 +00:00
|
|
|
h2.post-title {
|
|
|
|
margin-top: 0;
|
2014-07-24 03:19:54 +00:00
|
|
|
margin-bottom: 0;
|
2014-06-29 19:51:58 +00:00
|
|
|
}
|
|
|
|
|
2014-07-13 23:18:26 +00:00
|
|
|
@media (min-width: 40rem) {
|
|
|
|
p.contact-links {
|
|
|
|
float: right;
|
|
|
|
}
|
2014-06-29 19:51:58 +00:00
|
|
|
}
|
|
|
|
|
2014-07-13 23:18:26 +00:00
|
|
|
.contact {
|
|
|
|
text-align: center;
|
|
|
|
padding-bottom: 10px;
|
2014-06-29 19:51:58 +00:00
|
|
|
}
|
|
|
|
|
2014-07-13 23:18:26 +00:00
|
|
|
div.more-row {
|
|
|
|
padding-top: 5px;
|
2014-06-29 19:51:58 +00:00
|
|
|
}
|
|
|
|
|
2014-07-24 15:45:52 +00:00
|
|
|
div.pagination {
|
|
|
|
text-align: center;
|
2017-08-29 22:18:02 +00:00
|
|
|
margin-bottom: 20px;
|
2014-07-24 15:45:52 +00:00
|
|
|
}
|
|
|
|
|
2014-07-30 03:10:18 +00:00
|
|
|
div.rss {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.rss img {
|
|
|
|
max-width: 16px;
|
|
|
|
max-height: 16px;
|
|
|
|
margin: 0.5rem 0;
|
|
|
|
}
|
|
|
|
|
2014-06-29 19:51:58 +00:00
|
|
|
/*****************************************************************************/
|
|
|
|
/*
|
|
|
|
/* Posts
|
|
|
|
/*
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
/* standard */
|
|
|
|
.post pre {
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
background-color: #eef;
|
|
|
|
padding: 0 .4em;
|
2014-07-24 17:55:35 +00:00
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 40rem) {
|
|
|
|
.post pre {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
2014-06-29 19:51:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.post ul, .post ol {
|
2014-07-24 17:55:35 +00:00
|
|
|
margin-left: 0;
|
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 40rem) {
|
|
|
|
.post ul, .post ol {
|
2014-07-24 17:57:24 +00:00
|
|
|
margin-left: 0.5em;
|
2014-07-24 17:55:35 +00:00
|
|
|
padding-left: 40px;
|
|
|
|
}
|
2014-06-29 19:51:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.post code {
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
background-color: #eef;
|
|
|
|
padding: 0 .2em;
|
2014-07-24 17:55:35 +00:00
|
|
|
font-size: 8pt;
|
2014-07-24 17:26:12 +00:00
|
|
|
font-family: 'dejavu_sans_monobook', Courier, monospace;
|
2014-06-29 19:51:58 +00:00
|
|
|
}
|
|
|
|
|
2014-07-24 17:55:35 +00:00
|
|
|
@media (min-width: 40rem) {
|
|
|
|
.post code {
|
|
|
|
font-size: 10pt;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-06-29 19:51:58 +00:00
|
|
|
.post pre code {
|
|
|
|
border: none;
|
2014-07-24 17:00:30 +00:00
|
|
|
padding: 0;
|
2014-06-29 19:51:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* terminal */
|
|
|
|
.post pre.terminal {
|
|
|
|
border: 1px solid #000;
|
|
|
|
background-color: #333;
|
|
|
|
color: #FFF;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post pre.terminal code {
|
|
|
|
background-color: #333;
|
|
|
|
}
|
|
|
|
|
2017-07-11 05:51:09 +00:00
|
|
|
.post img {
|
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2014-07-29 03:39:05 +00:00
|
|
|
.post img.half-left {
|
|
|
|
float: none;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post img.half-right {
|
|
|
|
float: none;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 40rem) {
|
|
|
|
.post img.half-left {
|
|
|
|
float: left;
|
|
|
|
width: 49%;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
.post img.half-right {
|
|
|
|
float: right;
|
|
|
|
width: 49%;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-29 22:18:02 +00:00
|
|
|
/*****************************************************************************/
|
|
|
|
/*
|
|
|
|
/* Subscribe form
|
|
|
|
/*
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
.subscribe-form h3 {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subscribe-form input {
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subscribe-form label {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subscribe-form span.form-rss {
|
|
|
|
display: block;
|
|
|
|
margin-top: 20px;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
2014-06-29 19:51:58 +00:00
|
|
|
/*****************************************************************************/
|
|
|
|
/*
|
|
|
|
/* Homepage
|
|
|
|
/*
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
#home {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
padding-top: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* credit to http://codepen.io/bennettfeely/pen/Ftczh for a lot of this css */
|
|
|
|
|
|
|
|
.card {
|
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
|
|
|
padding: 1rem;
|
|
|
|
box-shadow: 0 1px 2px #aaa;
|
|
|
|
background: white;
|
2014-07-24 03:19:54 +00:00
|
|
|
margin: 0 0.5rem 1rem;
|
2014-06-29 19:51:58 +00:00
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
2014-07-13 23:18:26 +00:00
|
|
|
h1.big-name {
|
2014-06-29 19:51:58 +00:00
|
|
|
font-size: 2rem;
|
|
|
|
font-weight: 200;
|
|
|
|
margin-top: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2014-07-24 03:19:54 +00:00
|
|
|
#front-quote , #front-quote, .profile-card-desc p {
|
2014-06-29 19:51:58 +00:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile-card-portrait {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile-card-quote {
|
|
|
|
margin-top: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile-card-portrait img {
|
|
|
|
margin: 0 auto;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile-card-desc {
|
|
|
|
margin-top: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 40rem) {
|
|
|
|
.profile-card-portrait {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.profile-card-links {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
2014-07-13 00:06:42 +00:00
|
|
|
|
|
|
|
.link-card {
|
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-card img {
|
|
|
|
max-width: 64px;
|
|
|
|
max-height: 64px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-half {
|
|
|
|
padding: 0;
|
|
|
|
float: left;
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 40rem) {
|
|
|
|
.mobile-half {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a.no-decoration {
|
|
|
|
color: #444;
|
2014-07-29 04:01:40 +00:00
|
|
|
display: block;
|
2014-07-13 00:06:42 +00:00
|
|
|
}
|
2014-07-13 23:18:26 +00:00
|
|
|
|
2014-07-13 00:06:42 +00:00
|
|
|
a.no-decoration:visited {
|
|
|
|
color: #444;
|
|
|
|
}
|
2014-07-13 23:18:26 +00:00
|
|
|
|
2014-07-13 00:06:42 +00:00
|
|
|
a.no-decoration:hover {
|
|
|
|
color: #444;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2015-01-11 20:13:07 +00:00
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
/*
|
|
|
|
/* Magic
|
|
|
|
/*
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
2015-01-11 22:45:58 +00:00
|
|
|
div.controls-tab button {
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
2015-01-11 21:20:37 +00:00
|
|
|
}
|
|
|
|
|
2015-01-11 20:13:07 +00:00
|
|
|
div.options-panel {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
padding: 10px;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 10;
|
|
|
|
height: auto;
|
|
|
|
background-color: rgba(140,120,100,0.75);
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.controls-tab {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.controls {
|
|
|
|
position: absolute;
|
|
|
|
top: -2.6rem;
|
|
|
|
right: 1rem;
|
|
|
|
height: 2rem;
|
|
|
|
padding-right: 5px;
|
|
|
|
padding-left: 5px;
|
|
|
|
background-color: rgba(140,120,100,0.75);
|
|
|
|
}
|
|
|
|
|
|
|
|
div.controls button {
|
|
|
|
padding: 0.25rem;
|
|
|
|
margin-top: 0.25rem;
|
|
|
|
background-color: rgb(100, 100, 100);
|
|
|
|
border: 1px grey solid;
|
|
|
|
color: white;
|
|
|
|
font-size: small;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.options-panel form {
|
|
|
|
text-align: center
|
|
|
|
}
|
|
|
|
|
|
|
|
div.options-panel form label {
|
|
|
|
display: block;
|
|
|
|
}
|