Skip to content

Instantly share code, notes, and snippets.

@breezewish
Created January 3, 2018 05:34
Show Gist options
  • Save breezewish/989a54c34564a74d491218ce7465cf7b to your computer and use it in GitHub Desktop.
Save breezewish/989a54c34564a74d491218ce7465cf7b to your computer and use it in GitHub Desktop.
my personal Typora theme
@include-when-export url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,700,400&subset=latin,latin-ext);
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: normal;
src: local('Open Sans Regular'),url('./github/400.woff') format('woff')
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: normal;
src: local('Open Sans Italic'),url('./github/400i.woff') format('woff')
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: bold;
src: local('Open Sans Bold'),url('./github/700.woff') format('woff')
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: bold;
src: local('Open Sans Bold Italic'),url('./github/700i.woff') format('woff')
}
body {
font-size: 14px;
padding: 0 26px;
line-height: 22px;
word-wrap: break-word;
}
body {
font-family: "Open Sans","Clear Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
}
img {
max-width: 100%;
max-height: 100%;
}
a {
color: #4080D0;
text-decoration: none;
}
a:focus,
input:focus,
select:focus,
textarea:focus {
outline: 1px solid -webkit-focus-ring-color;
outline-offset: -1px;
}
hr {
border: 0;
height: 2px;
border-bottom: 2px solid;
}
h1 {
padding-bottom: 0.3em;
line-height: 1.2;
border-bottom-width: 1px;
border-bottom-style: solid;
}
h1, h2, h3 {
font-weight: normal;
}
h1 code,
h2 code,
h3 code,
h4 code,
h5 code,
h6 code {
font-size: inherit;
line-height: auto;
}
a:hover {
color: #4080D0;
text-decoration: underline;
}
table {
border-collapse: collapse;
}
table > thead > tr > th {
text-align: left;
border-bottom: 1px solid;
}
table > thead > tr > th,
table > thead > tr > td,
table > tbody > tr > th,
table > tbody > tr > td {
padding: 5px 10px;
}
table > tbody > tr + tr > td {
border-top: 1px solid;
}
blockquote {
margin: 0 7px 0 5px;
padding: 0 16px 0 10px;
border-left: 5px solid;
}
pre, code {
font-family: Menlo, Monaco, Consolas, "Source Code Pro";
}
body.wordWrap pre {
white-space: pre-wrap;
}
/** Theming */
pre code {
color: rgb(30, 30, 30);
}
code {
color: #A31515;
}
.CodeMirror-wrap {
background-color: #F0F0F0;
padding: 10px;
}
table > thead > tr > th {
border-color: rgba(0, 0, 0, 0.69);
}
h1,
hr,
table > tbody > tr + tr > td {
border-color: rgba(0, 0, 0, 0.18);
}
blockquote {
background: rgba(127, 127, 127, 0.1);
border-color: rgba(0, 122, 204, 0.5);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment