Self-Host README stylesheets
This commit is contained in:
parent
e467352825
commit
02b915eff5
8 changed files with 5 additions and 40 deletions
|
@ -13,14 +13,6 @@
|
|||
<div>
|
||||
<zero-md class="markdown" src="{projectReadme}">
|
||||
<template>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.4.0/github-markdown-dark.min.css"
|
||||
/>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/prism-themes/1.9.0/prism-atom-dark.min.css"
|
||||
/>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="/assets/style/markdown.css"
|
||||
|
|
|
@ -13,14 +13,6 @@
|
|||
<div>
|
||||
<zero-md class="markdown" src="{projectReadme}">
|
||||
<template>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.4.0/github-markdown-dark.min.css"
|
||||
/>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/prism-themes/1.9.0/prism-atom-dark.min.css"
|
||||
/>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="/assets/style/markdown.css"
|
||||
|
|
|
@ -13,14 +13,6 @@
|
|||
<div>
|
||||
<zero-md class="markdown" src="{projectReadme}">
|
||||
<template>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.4.0/github-markdown-dark.min.css"
|
||||
/>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/prism-themes/1.9.0/prism-atom-dark.min.css"
|
||||
/>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="/assets/style/markdown.css"
|
||||
|
|
|
@ -13,14 +13,6 @@
|
|||
<div>
|
||||
<zero-md class="markdown" src="{projectReadme}">
|
||||
<template>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.4.0/github-markdown-dark.min.css"
|
||||
/>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/prism-themes/1.9.0/prism-atom-dark.min.css"
|
||||
/>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="/assets/style/markdown.css"
|
||||
|
|
|
@ -13,14 +13,6 @@
|
|||
<div>
|
||||
<zero-md class="markdown" src="{projectReadme}">
|
||||
<template>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.4.0/github-markdown-dark.min.css"
|
||||
/>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/prism-themes/1.9.0/prism-atom-dark.min.css"
|
||||
/>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="/assets/style/markdown.css"
|
||||
|
|
1
static/assets/style/github-markdown-dark.min.css
vendored
Normal file
1
static/assets/style/github-markdown-dark.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,6 @@
|
|||
@import url('github-markdown-dark.min.css');
|
||||
@import url('prism-atom-dark.min.css');
|
||||
|
||||
.markdown-body {
|
||||
/* padding: 0.5em;
|
||||
border-radius: 12px; */
|
||||
|
|
1
static/assets/style/prism-atom-dark.min.css
vendored
Normal file
1
static/assets/style/prism-atom-dark.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
code[class*=language-],pre[class*=language-]{color:#c5c8c6;text-shadow:0 1px rgba(0,0,0,.3);font-family:Inconsolata,Monaco,Consolas,'Courier New',Courier,monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#1d1f21}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#7c7c7c}.token.punctuation{color:#c5c8c6}.namespace{opacity:.7}.token.keyword,.token.property,.token.tag{color:#96cbfe}.token.class-name{color:#ffffb6;text-decoration:underline}.token.boolean,.token.constant{color:#9c9}.token.deleted,.token.symbol{color:#f92672}.token.number{color:#ff73fd}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#a8ff60}.token.variable{color:#c6c5fe}.token.operator{color:#ededed}.token.entity{color:#ffffb6;cursor:help}.token.url{color:#96cbfe}.language-css .token.string,.style .token.string{color:#87c38a}.token.atrule,.token.attr-value{color:#f9ee98}.token.function{color:#dad085}.token.regex{color:#e9c062}.token.important{color:#fd971f}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}
|
Loading…
Reference in a new issue