Created
December 1, 2014 08:17
-
-
Save roachhd/833dd3637770957acd9a to your computer and use it in GitHub Desktop.
Marked Styles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This document has been created with Marked.app <http://markedapp.com>, Copyright 2011 Brett Terpstra | |
Please leave this notice in place, along with any additional credits below. | |
--------------------------------------------------------------- | |
Title: Base16 Eighties | |
Author: Newton https://github.com/chrisopedia/base16-marked | |
Description: Based on Chris Kempson's Base16 color scheme | |
*/ | |
/* @TODO: tables */ | |
/* @TODO: fenced code blocks */ | |
/* @TODO: code syntax hightlighting */ | |
body { | |
background-color: #f2f0ec; | |
-webkit-font-smoothing: antialiased; | |
font: normal .8764em/1.5em Arial,Verdana,sans-serif; | |
margin: 0; | |
} | |
html>body { | |
font-size: 13px; | |
} | |
h1 { | |
/* base00 */ | |
color: #6699cc; | |
font-size: 2.2857em; | |
line-height: .6563em; | |
margin: .6563em 0; | |
} | |
h2 { | |
color: #6699cc; | |
font-size: 1.7143em; | |
line-height: .875em; | |
margin: .875em 0; | |
} | |
h3 { | |
color: #6699cc; | |
font-size: 1.5em; | |
line-height: 1em; | |
margin: 1em 0; | |
} | |
h4 { | |
color: #6699cc; | |
font-size: 1.2857em; | |
line-height: 1.1667em; | |
margin: 1.1667em 0; | |
} | |
h5 { | |
color: #6699cc; | |
font-size: 1.15em; | |
line-height: 1.3em; | |
margin: 1.3em 0; | |
} | |
h6 { | |
color: #6699cc; | |
font-size: 1em; | |
line-height: 1.5em; | |
margin: 1.5em 0; | |
} | |
h1,h2,h3,h4,h5,h6 { | |
line-height: 1.5em; | |
} | |
body,p,td,div { | |
color: #515151; | |
font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif; | |
word-wrap: break-word; | |
} | |
a { | |
-webkit-transition: color .2s ease-in-out; | |
-moz-transition: color .2s ease-in-out; | |
-o-transition: color .2s ease-in-out; | |
-ms-transition: color .2s ease-in-out; | |
transition: color .2s ease-in-out; | |
color: #f99157; | |
text-decoration: none; | |
} | |
a[href^="mailto"] { | |
color: #66cccc; | |
} | |
a:hover { | |
color: #f99157; | |
} | |
li { | |
font-size: 110%; | |
} | |
li li { | |
font-size: 100%; | |
} | |
li p { | |
font-size: 100%; | |
margin: .5em 0; | |
} | |
.footnote { | |
color: #a09f93; | |
font-size: .8em; | |
vertical-align: super; | |
} | |
hr { | |
height: 10px; | |
border: none; | |
background-color: #d3d0c8; | |
color: #515151; | |
} | |
#wrapper img { | |
max-width: 100%; | |
height: auto; | |
} | |
strong, b { | |
color: #ffcc66; | |
} | |
em, i { | |
color: #cc99cc; | |
} | |
dd { | |
margin-bottom: 1em; | |
} | |
li { | |
list-style: none; | |
position: relative; | |
} | |
li::before { | |
position: absolute; | |
top: 0; | |
left: -17px; | |
color: #f2777a; | |
} | |
ul li::before { | |
font-size: 160%; | |
content: '\2022'; | |
} | |
ol { | |
counter-reset: index; | |
} | |
ol li { | |
counter-increment: index; | |
} | |
ol li::before { | |
content: counter(index) "."; | |
} | |
li > p:first-child { | |
margin: 0; | |
} | |
ul ul,ul ol { | |
margin-bottom: .4em; | |
} | |
caption,col,colgroup,table,tbody,td,tfoot,th,thead,tr { | |
border-spacing: 0; | |
} | |
table { | |
border: 1px solid rgba(0,0,0,0.25); | |
border-collapse: collapse; | |
display: table; | |
empty-cells: hide; | |
margin: -1px 0 23px; | |
padding: 0; | |
table-layout: fixed; | |
} | |
caption { | |
display: table-caption; | |
font-weight: 700; | |
} | |
col { | |
display: table-column; | |
} | |
colgroup { | |
display: table-column-group; | |
} | |
tbody { | |
display: table-row-group; | |
} | |
tfoot { | |
display: table-footer-group; | |
} | |
thead { | |
display: table-header-group; | |
} | |
td,th { | |
display: table-cell; | |
} | |
tr { | |
display: table-row; | |
} | |
table th,table td { | |
font-size: 1.1em; | |
line-height: 23px; | |
padding: 0 1em; | |
} | |
table thead { | |
background: rgba(0,0,0,0.15); | |
border: 1px solid rgba(0,0,0,0.15); | |
border-bottom: 1px solid rgba(0,0,0,0.2); | |
} | |
table tbody { | |
background: rgba(0,0,0,0.05); | |
} | |
table tfoot { | |
background: rgba(0,0,0,0.15); | |
border: 1px solid rgba(0,0,0,0.15); | |
border-top: 1px solid rgba(0,0,0,0.2); | |
} | |
figure { | |
display: inline-block; | |
position: relative; | |
margin: 1em 0 2em; | |
} | |
figcaption { | |
font-style: italic; | |
text-align: center; | |
background: white; | |
color: #66cccc; | |
position: absolute; | |
left: 0; | |
bottom: -24px; | |
width: 98%; | |
padding: 1%; | |
-webkit-transition: all .2s ease-in-out; | |
-moz-transition: all .2s ease-in-out; | |
-o-transition: all .2s ease-in-out; | |
-ms-transition: all .2s ease-in-out; | |
transition: all .2s ease-in-out; | |
} | |
figure:hover>figcaption { | |
/* background: rgba(0,0,0,1) */ | |
} | |
code { | |
color: #99cc99; | |
} | |
.poetry pre { | |
display: block; | |
font-family: Georgia, Garamond, serif !important; | |
font-size: 110% !important; | |
font-style: italic; | |
line-height: 1.6em; | |
margin-left: 1em; | |
} | |
.poetry pre code { | |
font-family: Georgia, Garamond, serif !important; | |
} | |
blockquote p { | |
font-size: 110%; | |
font-style: italic; | |
line-height: 1.6em; | |
} | |
sup,sub,a.footnote { | |
font-size: 1.4ex; | |
height: 0; | |
line-height: 1; | |
position: relative; | |
vertical-align: super; | |
} | |
sub { | |
vertical-align: sub; | |
top: -1px; | |
} | |
p,h5 { | |
font-size: 1.1429em; | |
line-height: 1.3125em; | |
margin: 1.3125em 0; | |
} | |
dt,th { | |
font-weight: 700; | |
} | |
table tr:nth-child(odd),table th:nth-child(odd),table td:nth-child(odd) { | |
background: rgba(255,255,255,0.06); | |
} | |
table tr:nth-child(even),table td:nth-child(even) { | |
background: rgba(200,200,200,0.25); | |
} | |
@media print { | |
body { | |
overflow: auto; | |
} | |
img,pre,blockquote,table,figure,p { | |
page-break-inside: avoid; | |
} | |
#wrapper { | |
background-color: #f2f0ec; | |
color: #515151; | |
font-size: 85%; | |
padding: 10px; | |
position: relative; | |
text-indent: 0; | |
} | |
} | |
@media screen { | |
.inverted #wrapper,.inverted { | |
background: #2d2d2d; | |
} | |
.inverted hr { | |
color: #d3d0c8; | |
background-color: 515151 | |
} | |
.inverted p,.inverted td, .inverted div { | |
color: #d3d0c8 !important; | |
} | |
.inverted table tr:nth-child(odd),.inverted table th:nth-child(odd),.inverted table td:nth-child(odd) { | |
background: none; | |
} | |
#wrapper { | |
padding: 20px; | |
} | |
::selection { | |
background: #d3d0c8; | |
color: #515151; | |
} | |
.inverted::selection { | |
color: #d3d0c8; | |
background: #515151; | |
} | |
h1::selection { | |
background-color: rgba(45, 156, 208, .3); | |
} | |
h2::selection { | |
background-color: rgba(90, 182, 224, .3); | |
} | |
h3::selection,h4::selection,h5::selection,h6::selection,li::selection,ol::selection { | |
background-color: rgba(133, 201, 232, .3); | |
} | |
code::selection { | |
background-color: rgba(0,0,0,.7); | |
color: #eee; | |
} | |
code span::selection { | |
background-color: rgba(0,0,0,.7) !important; | |
color: #eee !important; | |
} | |
a::selection { | |
background-color: rgba(255, 230, 102,.2); | |
} | |
.inverted a::selection { | |
background-color: rgba(255, 230, 102,.6); | |
} | |
td::selection,th::selection,caption::selection { | |
background-color: rgba(180, 237, 95, .5); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This document has been created with Marked.app <http://markedapp.com>, Copyright 2011 Brett Terpstra | |
Please leave this notice in place, along with any additional credits below. | |
--------------------------------------------------------------- | |
Title: Base16 Flat | |
Author: Newton https://github.com/chrisopedia/base16-marked | |
Description: Based on Chris Kempson's Base16 color scheme | |
*/ | |
/* @TODO: tables */ | |
/* @TODO: fenced code blocks */ | |
/* @TODO: code syntax hightlighting */ | |
body { | |
background-color: #ECF0F1; | |
-webkit-font-smoothing: antialiased; | |
font: normal .8764em/1.5em Arial,Verdana,sans-serif; | |
margin: 0; | |
} | |
html>body { | |
font-size: 13px; | |
} | |
h1 { | |
/* base00 */ | |
color: #3498DB; | |
font-size: 2.2857em; | |
line-height: .6563em; | |
margin: .6563em 0; | |
} | |
h2 { | |
color: #3498DB; | |
font-size: 1.7143em; | |
line-height: .875em; | |
margin: .875em 0; | |
} | |
h3 { | |
color: #3498DB; | |
font-size: 1.5em; | |
line-height: 1em; | |
margin: 1em 0; | |
} | |
h4 { | |
color: #3498DB; | |
font-size: 1.2857em; | |
line-height: 1.1667em; | |
margin: 1.1667em 0; | |
} | |
h5 { | |
color: #3498DB; | |
font-size: 1.15em; | |
line-height: 1.3em; | |
margin: 1.3em 0; | |
} | |
h6 { | |
color: #3498DB; | |
font-size: 1em; | |
line-height: 1.5em; | |
margin: 1.5em 0; | |
} | |
h1,h2,h3,h4,h5,h6 { | |
line-height: 1.5em; | |
} | |
body,p,td,div { | |
color: #7F8C8D; | |
font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif; | |
word-wrap: break-word; | |
} | |
a { | |
-webkit-transition: color .2s ease-in-out; | |
-moz-transition: color .2s ease-in-out; | |
-o-transition: color .2s ease-in-out; | |
-ms-transition: color .2s ease-in-out; | |
transition: color .2s ease-in-out; | |
color: #E67E22; | |
text-decoration: none; | |
} | |
a[href^="mailto"] { | |
color: #1ABC9C; | |
} | |
a:hover { | |
color: #E67E22; | |
} | |
li { | |
font-size: 110%; | |
} | |
li li { | |
font-size: 100%; | |
} | |
li p { | |
font-size: 100%; | |
margin: .5em 0; | |
} | |
.footnote { | |
color: #BDC3C7; | |
font-size: .8em; | |
vertical-align: super; | |
} | |
hr { | |
height: 10px; | |
border: none; | |
background-color: #E0E0E0; | |
color: #7F8C8D; | |
} | |
#wrapper img { | |
max-width: 100%; | |
height: auto; | |
} | |
strong, b { | |
color: #F1C40F; | |
} | |
em, i { | |
color: #9B59B6; | |
} | |
dd { | |
margin-bottom: 1em; | |
} | |
li { | |
list-style: none; | |
position: relative; | |
} | |
li::before { | |
position: absolute; | |
top: 0; | |
left: -17px; | |
color: #E74C3C; | |
} | |
ul li::before { | |
font-size: 160%; | |
content: '\2022'; | |
} | |
ol { | |
counter-reset: index; | |
} | |
ol li { | |
counter-increment: index; | |
} | |
ol li::before { | |
content: counter(index) "."; | |
} | |
li > p:first-child { | |
margin: 0; | |
} | |
ul ul,ul ol { | |
margin-bottom: .4em; | |
} | |
caption,col,colgroup,table,tbody,td,tfoot,th,thead,tr { | |
border-spacing: 0; | |
} | |
table { | |
border: 1px solid rgba(0,0,0,0.25); | |
border-collapse: collapse; | |
display: table; | |
empty-cells: hide; | |
margin: -1px 0 23px; | |
padding: 0; | |
table-layout: fixed; | |
} | |
caption { | |
display: table-caption; | |
font-weight: 700; | |
} | |
col { | |
display: table-column; | |
} | |
colgroup { | |
display: table-column-group; | |
} | |
tbody { | |
display: table-row-group; | |
} | |
tfoot { | |
display: table-footer-group; | |
} | |
thead { | |
display: table-header-group; | |
} | |
td,th { | |
display: table-cell; | |
} | |
tr { | |
display: table-row; | |
} | |
table th,table td { | |
font-size: 1.1em; | |
line-height: 23px; | |
padding: 0 1em; | |
} | |
table thead { | |
background: rgba(0,0,0,0.15); | |
border: 1px solid rgba(0,0,0,0.15); | |
border-bottom: 1px solid rgba(0,0,0,0.2); | |
} | |
table tbody { | |
background: rgba(0,0,0,0.05); | |
} | |
table tfoot { | |
background: rgba(0,0,0,0.15); | |
border: 1px solid rgba(0,0,0,0.15); | |
border-top: 1px solid rgba(0,0,0,0.2); | |
} | |
figure { | |
display: inline-block; | |
position: relative; | |
margin: 1em 0 2em; | |
} | |
figcaption { | |
font-style: italic; | |
text-align: center; | |
background: white; | |
color: #1ABC9C; | |
position: absolute; | |
left: 0; | |
bottom: -24px; | |
width: 98%; | |
padding: 1%; | |
-webkit-transition: all .2s ease-in-out; | |
-moz-transition: all .2s ease-in-out; | |
-o-transition: all .2s ease-in-out; | |
-ms-transition: all .2s ease-in-out; | |
transition: all .2s ease-in-out; | |
} | |
figure:hover>figcaption { | |
/* background: rgba(0,0,0,1) */ | |
} | |
code { | |
color: #2ECC71; | |
} | |
.poetry pre { | |
display: block; | |
font-family: Georgia, Garamond, serif !important; | |
font-size: 110% !important; | |
font-style: italic; | |
line-height: 1.6em; | |
margin-left: 1em; | |
} | |
.poetry pre code { | |
font-family: Georgia, Garamond, serif !important; | |
} | |
blockquote p { | |
font-size: 110%; | |
font-style: italic; | |
line-height: 1.6em; | |
} | |
sup,sub,a.footnote { | |
font-size: 1.4ex; | |
height: 0; | |
line-height: 1; | |
position: relative; | |
vertical-align: super; | |
} | |
sub { | |
vertical-align: sub; | |
top: -1px; | |
} | |
p,h5 { | |
font-size: 1.1429em; | |
line-height: 1.3125em; | |
margin: 1.3125em 0; | |
} | |
dt,th { | |
font-weight: 700; | |
} | |
table tr:nth-child(odd),table th:nth-child(odd),table td:nth-child(odd) { | |
background: rgba(255,255,255,0.06); | |
} | |
table tr:nth-child(even),table td:nth-child(even) { | |
background: rgba(200,200,200,0.25); | |
} | |
@media print { | |
body { | |
overflow: auto; | |
} | |
img,pre,blockquote,table,figure,p { | |
page-break-inside: avoid; | |
} | |
#wrapper { | |
background-color: #ECF0F1; | |
color: #7F8C8D; | |
font-size: 85%; | |
padding: 10px; | |
position: relative; | |
text-indent: 0; | |
} | |
} | |
@media screen { | |
.inverted #wrapper,.inverted { | |
background: #2C3E50; | |
} | |
.inverted hr { | |
color: #E0E0E0; | |
background-color: 7F8C8D | |
} | |
.inverted p,.inverted td, .inverted div { | |
color: #E0E0E0 !important; | |
} | |
.inverted table tr:nth-child(odd),.inverted table th:nth-child(odd),.inverted table td:nth-child(odd) { | |
background: none; | |
} | |
#wrapper { | |
padding: 20px; | |
} | |
::selection { | |
background: #E0E0E0; | |
color: #7F8C8D; | |
} | |
.inverted::selection { | |
color: #E0E0E0; | |
background: #7F8C8D; | |
} | |
h1::selection { | |
background-color: rgba(45, 156, 208, .3); | |
} | |
h2::selection { | |
background-color: rgba(90, 182, 224, .3); | |
} | |
h3::selection,h4::selection,h5::selection,h6::selection,li::selection,ol::selection { | |
background-color: rgba(133, 201, 232, .3); | |
} | |
code::selection { | |
background-color: rgba(0,0,0,.7); | |
color: #eee; | |
} | |
code span::selection { | |
background-color: rgba(0,0,0,.7) !important; | |
color: #eee !important; | |
} | |
a::selection { | |
background-color: rgba(255, 230, 102,.2); | |
} | |
.inverted a::selection { | |
background-color: rgba(255, 230, 102,.6); | |
} | |
td::selection,th::selection,caption::selection { | |
background-color: rgba(180, 237, 95, .5); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This document has been created with Marked.app <http://markedapp.com>, Copyright 2011 Brett Terpstra | |
Please leave this notice in place, along with any additional credits below. | |
--------------------------------------------------------------- | |
Title: Base16 Pop | |
Author: Newton https://github.com/chrisopedia/base16-marked | |
Description: Based on Chris Kempson's Base16 color scheme | |
*/ | |
/* @TODO: tables */ | |
/* @TODO: fenced code blocks */ | |
/* @TODO: code syntax hightlighting */ | |
body { | |
background-color: #FFFFFF; | |
-webkit-font-smoothing: antialiased; | |
font: normal .8764em/1.5em Arial,Verdana,sans-serif; | |
margin: 0; | |
} | |
html>body { | |
font-size: 13px; | |
} | |
h1 { | |
/* base00 */ | |
color: #0E5A94; | |
font-size: 2.2857em; | |
line-height: .6563em; | |
margin: .6563em 0; | |
} | |
h2 { | |
color: #0E5A94; | |
font-size: 1.7143em; | |
line-height: .875em; | |
margin: .875em 0; | |
} | |
h3 { | |
color: #0E5A94; | |
font-size: 1.5em; | |
line-height: 1em; | |
margin: 1em 0; | |
} | |
h4 { | |
color: #0E5A94; | |
font-size: 1.2857em; | |
line-height: 1.1667em; | |
margin: 1.1667em 0; | |
} | |
h5 { | |
color: #0E5A94; | |
font-size: 1.15em; | |
line-height: 1.3em; | |
margin: 1.3em 0; | |
} | |
h6 { | |
color: #0E5A94; | |
font-size: 1em; | |
line-height: 1.5em; | |
margin: 1.5em 0; | |
} | |
h1,h2,h3,h4,h5,h6 { | |
line-height: 1.5em; | |
} | |
body,p,td,div { | |
color: #303030; | |
font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif; | |
word-wrap: break-word; | |
} | |
a { | |
-webkit-transition: color .2s ease-in-out; | |
-moz-transition: color .2s ease-in-out; | |
-o-transition: color .2s ease-in-out; | |
-ms-transition: color .2s ease-in-out; | |
transition: color .2s ease-in-out; | |
color: #F29333; | |
text-decoration: none; | |
} | |
a[href^="mailto"] { | |
color: #00AABB; | |
} | |
a:hover { | |
color: #F29333; | |
} | |
li { | |
font-size: 110%; | |
} | |
li li { | |
font-size: 100%; | |
} | |
li p { | |
font-size: 100%; | |
margin: .5em 0; | |
} | |
.footnote { | |
color: #B0B0B0; | |
font-size: .8em; | |
vertical-align: super; | |
} | |
hr { | |
height: 10px; | |
border: none; | |
background-color: #D0D0D0; | |
color: #303030; | |
} | |
#wrapper img { | |
max-width: 100%; | |
height: auto; | |
} | |
strong, b { | |
color: #F8CA12; | |
} | |
em, i { | |
color: #B31E8D; | |
} | |
dd { | |
margin-bottom: 1em; | |
} | |
li { | |
list-style: none; | |
position: relative; | |
} | |
li::before { | |
position: absolute; | |
top: 0; | |
left: -17px; | |
color: #EB008A; | |
} | |
ul li::before { | |
font-size: 160%; | |
content: '\2022'; | |
} | |
ol { | |
counter-reset: index; | |
} | |
ol li { | |
counter-increment: index; | |
} | |
ol li::before { | |
content: counter(index) "."; | |
} | |
li > p:first-child { | |
margin: 0; | |
} | |
ul ul,ul ol { | |
margin-bottom: .4em; | |
} | |
caption,col,colgroup,table,tbody,td,tfoot,th,thead,tr { | |
border-spacing: 0; | |
} | |
table { | |
border: 1px solid rgba(0,0,0,0.25); | |
border-collapse: collapse; | |
display: table; | |
empty-cells: hide; | |
margin: -1px 0 23px; | |
padding: 0; | |
table-layout: fixed; | |
} | |
caption { | |
display: table-caption; | |
font-weight: 700; | |
} | |
col { | |
display: table-column; | |
} | |
colgroup { | |
display: table-column-group; | |
} | |
tbody { | |
display: table-row-group; | |
} | |
tfoot { | |
display: table-footer-group; | |
} | |
thead { | |
display: table-header-group; | |
} | |
td,th { | |
display: table-cell; | |
} | |
tr { | |
display: table-row; | |
} | |
table th,table td { | |
font-size: 1.1em; | |
line-height: 23px; | |
padding: 0 1em; | |
} | |
table thead { | |
background: rgba(0,0,0,0.15); | |
border: 1px solid rgba(0,0,0,0.15); | |
border-bottom: 1px solid rgba(0,0,0,0.2); | |
} | |
table tbody { | |
background: rgba(0,0,0,0.05); | |
} | |
table tfoot { | |
background: rgba(0,0,0,0.15); | |
border: 1px solid rgba(0,0,0,0.15); | |
border-top: 1px solid rgba(0,0,0,0.2); | |
} | |
figure { | |
display: inline-block; | |
position: relative; | |
margin: 1em 0 2em; | |
} | |
figcaption { | |
font-style: italic; | |
text-align: center; | |
background: white; | |
color: #00AABB; | |
position: absolute; | |
left: 0; | |
bottom: -24px; | |
width: 98%; | |
padding: 1%; | |
-webkit-transition: all .2s ease-in-out; | |
-moz-transition: all .2s ease-in-out; | |
-o-transition: all .2s ease-in-out; | |
-ms-transition: all .2s ease-in-out; | |
transition: all .2s ease-in-out; | |
} | |
figure:hover>figcaption { | |
/* background: rgba(0,0,0,1) */ | |
} | |
code { | |
color: #37B349; | |
} | |
.poetry pre { | |
display: block; | |
font-family: Georgia, Garamond, serif !important; | |
font-size: 110% !important; | |
font-style: italic; | |
line-height: 1.6em; | |
margin-left: 1em; | |
} | |
.poetry pre code { | |
font-family: Georgia, Garamond, serif !important; | |
} | |
blockquote p { | |
font-size: 110%; | |
font-style: italic; | |
line-height: 1.6em; | |
} | |
sup,sub,a.footnote { | |
font-size: 1.4ex; | |
height: 0; | |
line-height: 1; | |
position: relative; | |
vertical-align: super; | |
} | |
sub { | |
vertical-align: sub; | |
top: -1px; | |
} | |
p,h5 { | |
font-size: 1.1429em; | |
line-height: 1.3125em; | |
margin: 1.3125em 0; | |
} | |
dt,th { | |
font-weight: 700; | |
} | |
table tr:nth-child(odd),table th:nth-child(odd),table td:nth-child(odd) { | |
background: rgba(255,255,255,0.06); | |
} | |
table tr:nth-child(even),table td:nth-child(even) { | |
background: rgba(200,200,200,0.25); | |
} | |
@media print { | |
body { | |
overflow: auto; | |
} | |
img,pre,blockquote,table,figure,p { | |
page-break-inside: avoid; | |
} | |
#wrapper { | |
background-color: #FFFFFF; | |
color: #303030; | |
font-size: 85%; | |
padding: 10px; | |
position: relative; | |
text-indent: 0; | |
} | |
} | |
@media screen { | |
.inverted #wrapper,.inverted { | |
background: #000000; | |
} | |
.inverted hr { | |
color: #D0D0D0; | |
background-color: 303030 | |
} | |
.inverted p,.inverted td, .inverted div { | |
color: #D0D0D0 !important; | |
} | |
.inverted table tr:nth-child(odd),.inverted table th:nth-child(odd),.inverted table td:nth-child(odd) { | |
background: none; | |
} | |
#wrapper { | |
padding: 20px; | |
} | |
::selection { | |
background: #D0D0D0; | |
color: #303030; | |
} | |
.inverted::selection { | |
color: #D0D0D0; | |
background: #303030; | |
} | |
h1::selection { | |
background-color: rgba(45, 156, 208, .3); | |
} | |
h2::selection { | |
background-color: rgba(90, 182, 224, .3); | |
} | |
h3::selection,h4::selection,h5::selection,h6::selection,li::selection,ol::selection { | |
background-color: rgba(133, 201, 232, .3); | |
} | |
code::selection { | |
background-color: rgba(0,0,0,.7); | |
color: #eee; | |
} | |
code span::selection { | |
background-color: rgba(0,0,0,.7) !important; | |
color: #eee !important; | |
} | |
a::selection { | |
background-color: rgba(255, 230, 102,.2); | |
} | |
.inverted a::selection { | |
background-color: rgba(255, 230, 102,.6); | |
} | |
td::selection,th::selection,caption::selection { | |
background-color: rgba(180, 237, 95, .5); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment