Skip to content

Instantly share code, notes, and snippets.

@siawyoung
Created May 16, 2014 16:37
Show Gist options
  • Save siawyoung/30a3e40f07f92379abbd to your computer and use it in GitHub Desktop.
Save siawyoung/30a3e40f07f92379abbd to your computer and use it in GitHub Desktop.
Solarized Dark CSS for Mou. Clearness formatting combined with Solarized(Dark) colour theme because the original Solarized(Dark) theme formatting wasn't well done.
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote {
margin: 0;
padding: 0;
}
body {
font-family: "Proxima Nova", "Helvetica Neue", Helvetica, "Hiragino Sans GB", Arial, sans-serif;
font-size: 17px;
line-height: 30px;
color: #737373;
letter-spacing: 0.0099em;
background-color: white;
margin: 10px 13px 10px 13px;
}
table {
margin: 10px 0 15px 0;
border-collapse: collapse;
}
td,th {
border: 1px solid #ddd;
padding: 3px 10px;
}
th {
padding: 5px 10px;
}
a {
color: #0069d6;
}
a:hover {
color: #0050a3;
text-decoration: none;
}
a img {
border: none;
}
p {
margin-bottom: 9px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: #404040;
line-height: 36px;
}
h1 {
margin-bottom: 18px;
font-size: 200%;
}
h2 {
font-size: 170%;
}
h3 {
font-size: 150%;
}
h4 {
font-size: 130%;
}
h5 {
font-size: 110%;
}
h6 {
font-size: 100%;
}
hr {
margin: 0 0 19px;
border: 0;
border-bottom: 1px solid #ccc;
}
blockquote {
padding: 13px 13px 21px 15px;
margin-bottom: 18px;
font-family:georgia,serif;
font-style: italic;
}
blockquote:before {
content:"\201C";
font-size:40px;
margin-left:-10px;
font-family:georgia,serif;
color:#eee;
}
blockquote p {
font-size: 17px;
font-weight: 300;
line-height: 18px;
margin-bottom: 0;
font-style: italic;
}
code, pre {
font-family: 'DejaVu Sans Mono', Monaco, Andale Mono, monospace;
}
code {
padding: 1px 3px;
font-size: 15px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
pre {
display: block;
padding: 14px;
margin: 0 0 18px;
line-height: 22px;
font-size: 15px;
border: 1px solid #d9d9d9;
white-space: pre-wrap;
word-wrap: break-word;
}
pre code {
font-size: 15px;
padding: 0;
}
sup {
font-size: 0.83em;
vertical-align: super;
line-height: 0;
}
* {
-webkit-print-color-adjust: exact;
}
@media screen and (min-width: 914px) {
body {
width: 854px;
margin:10px auto;
}
}
@media print {
body,code,pre code,h1,h2,h3,h4,h5,h6 {
color: black;
}
table, pre {
page-break-inside: avoid;
}
}
/**
17/5/2014
There are the colour styles from Solarized (Dark).
I cannot stand the formatting, so I combined the formatting of Clearness, overriden with Solarized colors.
**/
html * {
color: #839496;
}
html body {
background-color: #002b36;
}
html h1,
html h2,
html h3,
html h4,
html h5,
html h6 {
color: #93a1a1;
border-color: #839496;
}
html a,
html a:active,
html a:visited {
color: #93a1a1;
}
html a:hover {
background-color: #073642;
}
html pre {
color: #93a1a1;
background-color: #073642;
}
html a,
html a:active,
html a:visited,
html code.url {
color: #b58900;
}
html h1 {
color: #b58900;
}
html h2,
html h3,
html h4,
html h5,
html h6 {
color: #b58900;
}
@media print {
body {
margin: 0;
}
* {
color: #000 !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment