123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596 |
- /*****************************************************************************/
- /*
- /* 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;
- }
-
- html {
- background-color: whitesmoke;
- margin: 0;
- padding: 0;
- }
-
- body {
- margin: 0;
- padding: 0;
- width: 100%;
- height: 100%;
- min-height: 100vh;
- background-color: whitesmoke;
- }
-
- .root {
- 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;
- }
-
- p {
- margin: 0 0 10px;
- }
-
- table {
- min-width: 85%;
- margin: 1em auto 1em;
- 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;
- }
-
-
- a:visited {
- color:#855C85;
- }
-
- a:hover {
- color:FireBrick;
- text-decoration: underline;
- }
-
- canvas {
- position: fixed;
- top: 0;
- left: 0;
- }
-
- blockquote {
- margin-left: 20px;
- margin-right: 20px;
- padding-left: 1rem;
- border-left: solid 3px #aaa;
- }
-
- blockquote p {
- margin-bottom: 6px;
- }
-
- @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;
- }
-
- /*****************************************************************************/
- /*
- /* Grid
- /*
- /*****************************************************************************/
-
- /* Grid. Courtesy of Adam Kaplan (http://www.adamkaplan.me/grid/) */
- .container {
- margin: 0 auto;
- max-width: 48rem;
- width: 100%;
- }
-
- @media (min-width: 40rem) {
- .container {
- width: 90%;
- }
-
- .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; }
-
- /* 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;
- }
-
- /* By me */
- .hide-mobile {
- display: none;
- }
- .hide-desktop-inline-block { display: inline-block }
- .hide-desktop-block { display: block }
- .hide-desktop-inline { display: inline }
-
- @media (min-width: 40rem) {
- .hide-desktop { display: none }
- .hide-mobile-inline-block { display: inline-block }
- .hide-mobile-block { display: block }
- .hide-mobile-inline { display: inline }
- }
-
- /*****************************************************************************/
- /*
- /* Blog
- /*
- /*****************************************************************************/
-
- h1.title {
- display: inline-block;
- padding-right: 10px;
- font-size: 2rem;
- font-weight: 200;
- margin: 0;
- margin-left: 0.5rem;
- }
-
- div.header {
- /* this is padding instead of margin to prevent <html> from poking out behind top of page */
- padding: 20px 0 20px;
- text-align: center;
- }
-
- @media (min-width: 40rem) {
- div.header {
- text-align: start;
- }
- }
-
- div.header a {
- color: FireBrick;
- }
-
- span.timestamp {
- font-size: 0.85rem;
- margin-top: 7px;
- }
-
- @media (min-width: 40rem) {
- span.timestamp {
- float: right;
- }
- }
-
- .post-header {
- padding-bottom: 10px;
- }
-
- a.read-more {
- float: right;
- font-size: 0.85rem;
- }
-
- h2.post-title {
- margin-top: 0;
- margin-bottom: 0;
- }
-
- @media (min-width: 40rem) {
- p.contact-links {
- float: right;
- }
- }
-
- .contact {
- text-align: center;
- padding-bottom: 10px;
- }
-
- div.more-row {
- padding-top: 5px;
- }
-
- div.pagination {
- text-align: center;
- margin-bottom: 20px;
- }
-
- div.rss {
- text-align: center;
- }
-
- a.rss img {
- max-width: 16px;
- max-height: 16px;
- margin: 0.5rem 0;
- }
-
- /*****************************************************************************/
- /*
- /* Posts
- /*
- /*****************************************************************************/
-
- /* standard */
- .post pre {
- border: 1px solid #ddd;
- background-color: #eef;
- padding: 0 .4em;
- white-space: pre;
- }
-
- @media (min-width: 40rem) {
- .post pre {
- white-space: pre-wrap;
- }
- }
-
- .post ul, .post ol {
- margin-left: 0;
- padding-left: 20px;
- }
-
- @media (min-width: 40rem) {
- .post ul, .post ol {
- margin-left: 0.5em;
- padding-left: 40px;
- }
- }
-
- .post code {
- border: 1px solid #ddd;
- background-color: #eef;
- padding: 0 .2em;
- font-size: 8pt;
- font-family: 'dejavu_sans_monobook', Courier, monospace;
- }
-
- @media (min-width: 40rem) {
- .post code {
- font-size: 10pt;
- }
- }
-
- .post pre code {
- border: none;
- padding: 0;
- }
-
- /* terminal */
- .post pre.terminal {
- border: 1px solid #000;
- background-color: #333;
- color: #FFF;
- }
-
- .post pre.terminal code {
- background-color: #333;
- }
-
- .post img {
- display: block;
- margin: 0 auto;
- }
-
- .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;
- }
- }
-
- /*****************************************************************************/
- /*
- /* 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;
- }
-
- /*****************************************************************************/
- /*
- /* 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;
- margin: 0 0.5rem 1rem;
- border-radius: 3px;
- }
-
- h1.big-name {
- font-size: 2rem;
- font-weight: 200;
- margin-top: 0;
- text-align: center;
- }
-
- #front-quote , #front-quote, .profile-card-desc p {
- 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;
- }
- }
-
- .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;
- display: block;
- }
-
- a.no-decoration:visited {
- color: #444;
- }
-
- a.no-decoration:hover {
- color: #444;
- text-decoration: none;
- }
-
- /*****************************************************************************/
- /*
- /* Magic
- /*
- /*****************************************************************************/
-
- div.controls-tab button {
- width: 28px;
- height: 28px;
- }
-
- 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;
- }
-
- /*****************************************************************************/
- /*
- /* Comments (isso)
- /*
- /*****************************************************************************/
-
- .isso-postbox .textarea-wrapper {
- margin-top: 10px;
- margin-bottom: 10px;
- }
-
- div.isso-postbox div.form-wrapper section.auth-section p.input-wrapper {
- margin-right: 10px;
- }
-
- /*****************************************************************************/
- /*
- /* Light & Dark Theme Toggle
- /*
- /*****************************************************************************/
-
- div.theme-toggle {
- position: static;
- bottom: 0;
- width: 100%;
- text-align: center;
- z-index: 2;
- padding: 0.25rem 0.75rem;
- }
-
- @media (min-width: 40rem) {
- div.theme-toggle {
- position: absolute;
- top: 0;
- right: 0;
- width: inherit;
- }
- }
|