forked from chesterhow/tale
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d20e7a5
commit 4db9bd1
Showing
9 changed files
with
218 additions
and
68 deletions.
There are no files selected for viewing
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
* { | ||
@include box-sizing; | ||
} | ||
|
||
html, | ||
body { | ||
color: $default-color; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
html { | ||
font-family: $serif-font; | ||
font-size: $default-font-size; | ||
} | ||
|
||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6 { | ||
font-family: $sans-font; | ||
} | ||
|
||
a { | ||
color: $blue; | ||
text-decoration: none; | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
|
||
blockquote { | ||
border-left: .25rem solid $grey-2; | ||
color: $grey-1; | ||
margin: .8rem 0; | ||
padding: .5rem 1rem; | ||
|
||
p:last-child { | ||
margin-bottom: 0; | ||
} | ||
|
||
@media (min-width: 600px) { | ||
padding: 0 5rem 0 1.25rem; | ||
} | ||
} | ||
|
||
img { | ||
display: block; | ||
margin: 0 0 1rem; | ||
max-width: 100%; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
pre, | ||
code { | ||
font-family: $monospaced-font; | ||
} | ||
|
||
code { | ||
background-color: $grey-3; | ||
border-radius: 3px; | ||
color: $code-color; | ||
font-size: 85%; | ||
padding: .25em .5em; | ||
} | ||
|
||
pre { | ||
margin: 0 0 1rem; | ||
} | ||
|
||
pre code { | ||
background-color: transparent; | ||
color: inherit; | ||
font-size: 100%; | ||
padding: 0; | ||
} | ||
|
||
.highlight { | ||
background-color: $grey-3; | ||
border-radius: 3px; | ||
line-height: 1.4; | ||
margin: 0 0 1rem; | ||
padding: 1rem; | ||
|
||
pre { | ||
margin-bottom: 0; | ||
overflow-x: auto; | ||
} | ||
|
||
.lineno { | ||
color: $default-tint; | ||
display: inline-block; // Ensures the null space also isn't selectable | ||
padding: 0 .75rem 0 .25rem; | ||
// Make sure numbers aren't selectable | ||
-webkit-user-select: none; | ||
-moz-user-select: none; | ||
user-select: none; | ||
} | ||
} |
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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
.highlight .hll { background-color: #ffc; } | ||
.highlight .c { color: #999; } /* Comment */ | ||
.highlight .err { color: #a00; background-color: #faa } /* Error */ | ||
.highlight .k { color: #069; } /* Keyword */ | ||
.highlight .o { color: #555 } /* Operator */ | ||
.highlight .cm { color: #09f; font-style: italic } /* Comment.Multiline */ | ||
.highlight .cp { color: #099 } /* Comment.Preproc */ | ||
.highlight .c1 { color: #999; } /* Comment.Single */ | ||
.highlight .cs { color: #999; } /* Comment.Special */ | ||
.highlight .gd { background-color: #fcc; border: 1px solid #c00 } /* Generic.Deleted */ | ||
.highlight .ge { font-style: italic } /* Generic.Emph */ | ||
.highlight .gr { color: #f00 } /* Generic.Error */ | ||
.highlight .gh { color: #030; } /* Generic.Heading */ | ||
.highlight .gi { background-color: #cfc; border: 1px solid #0c0 } /* Generic.Inserted */ | ||
.highlight .go { color: #aaa } /* Generic.Output */ | ||
.highlight .gp { color: #009; } /* Generic.Prompt */ | ||
.highlight .gs { } /* Generic.Strong */ | ||
.highlight .gu { color: #030; } /* Generic.Subheading */ | ||
.highlight .gt { color: #9c6 } /* Generic.Traceback */ | ||
.highlight .kc { color: #069; } /* Keyword.Constant */ | ||
.highlight .kd { color: #069; } /* Keyword.Declaration */ | ||
.highlight .kn { color: #069; } /* Keyword.Namespace */ | ||
.highlight .kp { color: #069 } /* Keyword.Pseudo */ | ||
.highlight .kr { color: #069; } /* Keyword.Reserved */ | ||
.highlight .kt { color: #078; } /* Keyword.Type */ | ||
.highlight .m { color: #f60 } /* Literal.Number */ | ||
.highlight .s { color: #d44950 } /* Literal.String */ | ||
.highlight .na { color: #4f9fcf } /* Name.Attribute */ | ||
.highlight .nb { color: #366 } /* Name.Builtin */ | ||
.highlight .nc { color: #0a8; } /* Name.Class */ | ||
.highlight .no { color: #360 } /* Name.Constant */ | ||
.highlight .nd { color: #99f } /* Name.Decorator */ | ||
.highlight .ni { color: #999; } /* Name.Entity */ | ||
.highlight .ne { color: #c00; } /* Name.Exception */ | ||
.highlight .nf { color: #c0f } /* Name.Function */ | ||
.highlight .nl { color: #99f } /* Name.Label */ | ||
.highlight .nn { color: #0cf; } /* Name.Namespace */ | ||
.highlight .nt { color: #2f6f9f; } /* Name.Tag */ | ||
.highlight .nv { color: #033 } /* Name.Variable */ | ||
.highlight .ow { color: #000; } /* Operator.Word */ | ||
.highlight .w { color: #bbb } /* Text.Whitespace */ | ||
.highlight .mf { color: #f60 } /* Literal.Number.Float */ | ||
.highlight .mh { color: #f60 } /* Literal.Number.Hex */ | ||
.highlight .mi { color: #f60 } /* Literal.Number.Integer */ | ||
.highlight .mo { color: #f60 } /* Literal.Number.Oct */ | ||
.highlight .sb { color: #c30 } /* Literal.String.Backtick */ | ||
.highlight .sc { color: #c30 } /* Literal.String.Char */ | ||
.highlight .sd { color: #c30; font-style: italic } /* Literal.String.Doc */ | ||
.highlight .s2 { color: #c30 } /* Literal.String.Double */ | ||
.highlight .se { color: #c30; } /* Literal.String.Escape */ | ||
.highlight .sh { color: #c30 } /* Literal.String.Heredoc */ | ||
.highlight .si { color: #a00 } /* Literal.String.Interpol */ | ||
.highlight .sx { color: #c30 } /* Literal.String.Other */ | ||
.highlight .sr { color: #3aa } /* Literal.String.Regex */ | ||
.highlight .s1 { color: #c30 } /* Literal.String.Single */ | ||
.highlight .ss { color: #fc3 } /* Literal.String.Symbol */ | ||
.highlight .bp { color: #366 } /* Name.Builtin.Pseudo */ | ||
.highlight .vc { color: #033 } /* Name.Variable.Class */ | ||
.highlight .vg { color: #033 } /* Name.Variable.Global */ | ||
.highlight .vi { color: #033 } /* Name.Variable.Instance */ | ||
.highlight .il { color: #f60 } /* Literal.Number.Integer.Long */ | ||
|
||
.css .o, | ||
.css .o + .nt, | ||
.css .nt + .nt { color: #999; } |
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 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