Marfa
Marfa is a port of Cactus for Micro.blog, now ported to Write.as! Big thanks to Manton Reece for giving permission to use this theme & for all the work Micro.blog does to make an ethical, independent alternative for microblogging on the web.
Copy Theme
CSS
/* Copyright (c) 2015 Cactus Authors - https://github.com/koenbok/Cactus/blob/master/AUTHORS - Released under the MIT License.
*/
/* Clearfix */
.clearfix:after {
content: "";
display: table;
clear: both;
}
/* Spacing */
.highlight, .post h1, h2, h3, p, .post-body ul, .dates, .post-body li, .bio li, video, pre ::before {
margin-top: 1em;
}
/* Base */
html, body {
height: 100%;
}
body {
font: 17px "Avenir Next", Avenir, "-apple-system", Helvetica, Arial, sans-serif;
color: #666;
text-rendering: optimizeLegibility;
}
/* Typography */
p, li {
line-height: 1.7;
}
h1, h2, h3 {
color: #000;
}
h1 {
font-size: 30px;
font-weight: bold;
}
h2 {
font-size: 25px;
font-weight: 600;
}
h3 {
font-size: 20px;
font-weight: 500;
}
p.small {
font-size: 14px;
display: block;
}
code.highlighter-rouge {
background-color: #F5F5F5;
border-radius: 5px;
display: inline-block;
padding: 5px 8px;
color: #7F7F7F;
font-size: 15px;
line-height: 1.35;
font-style: italic;
}
/*Accent color*/
a {
text-decoration: none;
color: #000;
}
nav.main-nav a, #footer a, #post-nav a, p a {
color: #000;
font-weight: 500;
box-shadow: inset 0 -2px 0 #fcdae9;
transition: all .35s;
transition-timing-function: cubic-bezier(.7, 0, .3, 1);
}
nav.main-nav a:hover, #footer a:hover, #post-nav a:hover, p a:hover {
box-shadow: inset 0 -25px 0 #fcdae9;
}
ul { margin:0; padding:0; }
li { list-style-type:circle; list-style-position:inside;}
/* Post */
.post-body li:last-child {
margin-bottom: 1.5em;
}
.post-body ol li {
list-style-type: decimal;
padding-left: 20px;
}
.post-body ul li {
list-style-type: disc;
padding-left: 20px;
}
b, strong {
font-weight: 500;
color: #1E2025;
}
em, i {
font-style: italic;
}
sup {
vertical-align: super;
font-size: smaller;
}
.post header {
text-align:center;
}
blockquote {
padding-left: 15px;
border-left: 2px solid #eee;
opacity: 0.8;
font-style: italic;
margin-top: 15px;
}
hr {
display: block;
border: none;
height: 2px;
/* margin: 34px 0 40px 0; */
background: #eee;
width: 30%;
text-align: center;
}
span.separator {
display: block;
margin: 42px 0 48px 0;
width: 100%;
}
span.divider {
display: block;
width: 100%;
background-color: #eee;
height: 1px;
margin: 0 auto;
}
span.separator:last-child {
display: none;
}
span.code { font-family:Menlo, Monaco, Courier; background-color:#EEE; font-size:14px; }
pre {
font-family:Menlo, Monaco, Courier;
white-space:pre-wrap;
padding:20px;
background-color:#fdfdfd;
overflow:auto;
border-radius: 5px;
background: #272b2d;
font-size: 13px;
line-height: 1.5em;
font-weight: 500;
color: #d0d4d7;
margin-top: 15px;
}
table {
width: 100%;
margin: 40px 0;
border-collapse: collapse;
font-size: 13px;
line-height: 1.5em;
}
th,td {
text-align: left;
padding-right: 20px;
vertical-align: top;
}
table td,td {
border-spacing: none;
border-style: solid;
padding: 10px 15px;
border-width: 1px 0 0 0;
}
tr>td {
border-top: 1px solid #eaeaea;
}
tr:nth-child(odd)>td {
background: #fcfcfc;
}
thead th,th {
text-align: left;
padding: 10px 15px;
height: 20px;
font-size: 13px;
font-weight: bold;
color: #444;
border-bottom: 1px solid #dadadc;
cursor: default;
white-space: nowrap;
}
img {
width: 100%;
max-width: 100%;
height: auto;
border-radius: 5px;
}
/* Footer */
footer #wrapper {
margin: 0 auto;
text-align: center;
padding: 35px 0 80px 0;
}
#footer {
text-align: center;
}
#footer a {
color: #000;
font-size: 13px;
line-height: 1.35;
font-weight: 500;
}
#footer li {
display: inline;
padding: 0 10px;
}
#post-meta {
font-size: 13px;
font-weight: bold;
line-height: 1.5;
border-top: 1px solid #eee;
padding-top: 40px;
padding-bottom: 40px;
margin-top: 60px;
color:#444;
border-bottom: 1px solid #eee;
}
#post-meta div span {
color: #aaa;
font-weight: 500;
display: block;
}
#post-meta div span.dark {
color: #1E2025;
}
#post-meta div {
float: left;
}
/* Post Page */
#header {
border-bottom: 1px solid #eee;
}
.post {
margin: 120px 0 0 0;
}
/* Others */
.dates {
font-weight: 500;
font-size: 13px;
color: #bbb;
width: 100%;
text-transform: uppercase;
padding-top: 5px;
}
h2.headline {
margin-top: 0;
margin-bottom: 50px;
}
/* Media Queries */
@media screen and (max-width: 540px) {
footer #wrapper {
padding: 35px 0 60px 0;
}
.post {
margin: 50px 0;
}
h1 {
font-size: 24px;
}
h2 {
font-size: 22px;
}
h3 {
font-size: 19px;
}
}
video {
max-width: 100%;
}