Skip to content

Commit

Permalink
Fix sass import
Browse files Browse the repository at this point in the history
  • Loading branch information
Florent Verschelde committed Aug 28, 2014
1 parent 6f80c3f commit e05d8bb
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 1 deletion.
73 changes: 73 additions & 0 deletions tumblr/tumblr.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,45 +17,79 @@
[data-rmd] blockquote { position: relative; margin-top: 1.4em; margin-bottom: 1.4em; margin-left: 0; margin-right: 0; padding: 0; padding-left: 3ch; }
[data-rmd] blockquote::before { position: absolute; top: 0; left: 0; bottom: 0; overflow: hidden; white-space: pre; content: ">\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A"; cursor: default; }
[data-rmd] hr { height: 1.4em; line-height: 1.4em; margin-top: 2.8em; margin-bottom: 2.8em; border: none; color: inherit; }

[data-rmd] h1::before, [data-rmd~=hn-hash] h1::before { content: "# "; }

[data-rmd~=hn-close] h1::after { content: " #"; }

[data-rmd] h2::before, [data-rmd~=hn-hash] h2::before { content: "## "; }

[data-rmd~=hn-close] h2::after { content: " ##"; }

[data-rmd] h3::before, [data-rmd~=hn-hash] h3::before { content: "### "; }

[data-rmd~=hn-close] h3::after { content: " ###"; }

[data-rmd] h4::before, [data-rmd~=hn-hash] h4::before { content: "#### "; }

[data-rmd~=hn-close] h4::after { content: " ####"; }

[data-rmd] h5::before, [data-rmd~=hn-hash] h5::before { content: "##### "; }

[data-rmd~=hn-close] h5::after { content: " #####"; }

[data-rmd] h6::before, [data-rmd~=hn-hash] h6::before { content: "###### "; }

[data-rmd~=hn-close] h6::after { content: " ######"; }

[data-rmd~=h1-underline] h1, [data-rmd~=h2-underline] h2 { display: table; overflow: hidden; position: relative; padding-bottom: 1.4em; }
[data-rmd~=h1-underline] h1::before, [data-rmd~=h2-underline] h2::before { content: none; }
[data-rmd~=h1-underline] h1::after, [data-rmd~=h2-underline] h2::after { position: absolute; bottom: 0; left: 0; height: 1.4em; width: 100%; overflow: hidden; word-break: break-all; cursor: default; }

[data-rmd~=h1-underline] h1::after { content: "========================================================================================================================"; }

[data-rmd~=h2-underline] h2::after { content: "------------------------------------------------------------------------------------------------------------------------"; }

[data-rmd] em::before, [data-rmd] em::after, [data-rmd~=em-star] em::before, [data-rmd~=em-star] em::after { content: "*"; }

[data-rmd~=em-underscore] em::before, [data-rmd~=em-underscore] em::after { content: "_"; }

[data-rmd~=strong-star] strong::before, [data-rmd~=strong-star] strong::after { content: "**"; }

[data-rmd] strong::before, [data-rmd] strong::after, [data-rmd~=strong-underscore] strong::before, [data-rmd~=strong-underscore] strong::after { content: "__"; }

[data-rmd] a::before, [data-rmd~=a-bracket] a::before { content: "["; }
[data-rmd] a::after, [data-rmd~=a-bracket] a::after { content: "]"; }

[data-rmd~=a-showurl] a[href]::before { content: "["; }
[data-rmd~=a-showurl] a[href]::after { content: "](" attr(href) ")"; word-break: break-all; }

[data-rmd~=ul-star] ul > li::before { content: "*"; }

[data-rmd] ul > li::before, [data-rmd~=ul-plus] ul > li::before { content: "+"; }

[data-rmd~=ul-hyphen] ul > li::before { content: "-"; }

[data-rmd] pre, [data-rmd~=pre-indent] pre { margin-left: 4ch; }

[data-rmd] :not(pre) > code::before, [data-rmd] :not(pre) > code::after, [data-rmd~=code-tick] :not(pre) > code::before, [data-rmd~=code-tick] :not(pre) > code::after { content: "`"; text-shadow: 0 1px; }

[data-rmd~=code-fence] pre > code { display: block; }
[data-rmd~=code-fence] pre > code::before, [data-rmd~=code-fence] pre > code::after { position: relative; top: .3em; content: "```"; display: block; width: 100%; height: 1.4em; overflow: hidden; word-break: break-all; cursor: default; }

[data-rmd~=code-fence-tilde] pre > code::before, [data-rmd~=code-fence-tilde] pre > code::after { top: 0; content: "~~~"; }

[data-rmd~=code-fence-full] pre > code::before, [data-rmd~=code-fence-full] pre > code::after { top: 0; content: "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"; }

[data-rmd~=del-gfm] del { text-decoration: none; }
[data-rmd~=del-gfm] del::before, [data-rmd~=del-gfm] del::after { content: "~~"; }

[data-rmd] hr, [data-rmd~=hr-center] hr { text-align: center; }

[data-rmd] hr::before, [data-rmd~=hr-star] hr::before { content: "* * * *"; }

[data-rmd~=hr-hyphen] hr::before { content: "-------"; }

[data-rmd] table, [data-rmd~=table-marker] table { margin-top: 2.8em; margin-bottom: 2.8em; border-collapse: collapse; }
[data-rmd] tr > *, [data-rmd~=table-marker] tr > * { min-width: 3ch; position: relative; padding: 0; text-align: inherit; vertical-align: top; font-weight: normal; border: none; }
[data-rmd] tr > * + *, [data-rmd~=table-marker] tr > * + * { padding-left: 3ch; }
Expand All @@ -65,45 +99,84 @@
[data-rmd] tr > * + *::before, [data-rmd~=table-marker] tr > * + *::before { content: "|\A|\A|\A|\A|\A|\A|\A|\A|\A|\A"; position: absolute; overflow: hidden; left: 1ch; top: 0; bottom: 0; white-space: pre; }
[data-rmd] th[scope="row"], [data-rmd] tr + tr > th:first-child, [data-rmd~=table-marker] th[scope="row"], [data-rmd~=table-marker] tr + tr > th:first-child { padding-right: 1ch; }
[data-rmd] th[scope="row"]::after, [data-rmd] tr + tr > th:first-child::after, [data-rmd~=table-marker] th[scope="row"]::after, [data-rmd~=table-marker] tr + tr > th:first-child::after { position: absolute; right: -1ch; content: ":"; }

html { background: #F6F6F6; color: #202020; }

body { max-width: 700px; margin: 0 auto; padding: 2em; -moz-box-sizing: content-box; box-sizing: content-box; }
@media (max-width: 500px) { body { padding: 1em; } }

body { font-family: "Source Code Pro", Menlo, Monaco, Consolas, "DejaVu Mono", monospace; }

blockquote, pre, code, samp, kbd { font-family: "Courier", "Courier New", monospace; }

h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }

a { text-decoration: none; }

img { max-width: 100%; }

figure img { display: block; margin: 0 auto; }

@media (max-width: 500px) { .container figure { overflow: hidden; margin-left: -1em; margin-right: -1em; } }
button { margin: 0; padding: 0; border: none; font: inherit; color: inherit; background: none; }

button::-moz-focus-inner { padding: 0; border: none; }

#sitebanner { margin-top: 2.8em; margin-bottom: 2.8em; text-align: center; }

#sitebanner h1 { margin-left: auto; margin-right: auto; }

#sitebanner h1 a::before, #sitebanner h1 a::after { content: ""; }

#sitebanner h1 a:not(:hover):not(:focus) { color: inherit; }

#sitenav { text-align: center; margin-top: 0; margin-bottom: 4.2em; }

.tag-header h2 { margin-left: auto; margin-right: auto; }

.pagination { text-align: center; }

.pagination .prev a::before { content: "[<- "; }

.pagination .next a::after { content: " ->]"; }

.post-title h1, .post-title h2 { font-weight: bold; }

.post-title h1::after, .post-title h2::before { font-weight: normal; }

.post-title h1 { max-width: 400px; margin-left: auto; margin-right: auto; text-align: center; }

.post-title a::before, .post-title a::after { content: ""; }

.text .post-title h2 a:not(:hover):not(:focus) { color: inherit; }

.link .post-title h2::before { display: none; }

.link .post-title a::before { content: "[->] "; }

.text .more a::after { content: " ->]"; }

@media (max-width: 700px) { .container blockquote > blockquote { margin-left: -2ch; } }
:not(blockquote) > p > .quote-toggle, :not(blockquote) > blockquote { color: #404040; }

:not(blockquote) > blockquote > p > .quote-toggle, :not(blockquote) > blockquote > blockquote { color: #008040; }

:not(blockquote) > blockquote > blockquote > p > .quote-toggle, :not(blockquote) > blockquote > blockquote > blockquote { color: #404040; }

:not(blockquote) > blockquote > blockquote > blockquote > p > .quote-toggle, :not(blockquote) > blockquote > blockquote > blockquote > blockquote { color: #804000; }

:not(blockquote) > blockquote > blockquote > blockquote > blockquote > p > .quote-toggle, :not(blockquote) > blockquote > blockquote > blockquote > blockquote > blockquote { color: #404040; }

blockquote > blockquote > blockquote > blockquote > blockquote .quote-toggle, blockquote > blockquote > blockquote > blockquote > blockquote > blockquote { color: #008040; }

.quote-toggle { display: inline-block; width: 5ch; white-space: pre; overflow: hidden; }

.quote-toggle:hover, .quote-toggle:focus { width: auto; }

.quote-toggle:focus { outline: dotted 1px; }

.quote-toggle span + span, .quote-toggle.hidden span:first-child { display: none; }

.quote-toggle.hidden span + span, .quote-toggle span:first-child { display: inline; }

blockquote.hidden { display: none; }
2 changes: 1 addition & 1 deletion tumblr/tumblr.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $defaults:
$header_comment: false;
$set_font_styles: false;

@import "rmd/all";
@import "../rmd/all";

// -----------------------------------------
// Customizations and tumblr-specific styles
Expand Down

0 comments on commit e05d8bb

Please sign in to comment.