Minify CSS
This commit is contained in:
parent
e13c6ed602
commit
0a2fa39218
981
package-lock.json
generated
981
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -24,6 +24,7 @@
|
||||
"@11ty/eleventy-plugin-syntaxhighlight": "^4.2.0",
|
||||
"@toycode/markdown-it-class": "^1.2.4",
|
||||
"autoprefixer": "^10.4.13",
|
||||
"cssnano": "^6.0.1",
|
||||
"lodash": "^4.17.21",
|
||||
"markdown-it-abbr": "^1.0.4",
|
||||
"markdown-it-anchor": "^8.6.6",
|
||||
|
@ -6,5 +6,6 @@ module.exports = {
|
||||
'postcss-nested': {},
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
cssnano: { preset: 'default' }
|
||||
},
|
||||
};
|
@ -2,15 +2,11 @@
|
||||
<html lang="{{metadata.site.language}}">
|
||||
<head>
|
||||
<title>{{ title | safe }} | {{ metadata.site.name }}</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://lewisdale.dev/assets/css/fontawesome.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/assets/css/fontawesome.min.css" />
|
||||
{% if includePrism %}
|
||||
<link rel="stylesheet" type="text/css" href="https://lewisdale.dev/assets/css/prism.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/assets/css/prism.min.css" />
|
||||
{% endif %}
|
||||
{% if dev %}
|
||||
<link rel="stylesheet" type="text/css" href="/assets/css/styles.css" />
|
||||
{% else %}
|
||||
<link rel="stylesheet" type="text/css" href="https://lewisdale.dev/assets/css/styles.css" />
|
||||
{% endif %}
|
||||
<link rel="alternate" type="application/rss+xml" title="LewisDale.Dev" href="/feed/" />
|
||||
<link rel="alternate" type="application/atom+xml" title="LewisDale.Dev Atom Feed" href="/feed/atom" />
|
||||
<link rel="alternate" type="application/json" title="LewisDale.Dev JSON Feed" href="/feed/json" />
|
||||
|
5
src/assets/css/fontawesome.min.css
vendored
Normal file
5
src/assets/css/fontawesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
src/assets/css/prism.min.css
vendored
Normal file
1
src/assets/css/prism.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
code[class*=language-],pre[class*=language-]{word-wrap:normal;background:0 0;color:#fff;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;-webkit-hyphens:none;hyphens:none;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;text-align:left;text-shadow:0 -.1em .2em #000;white-space:pre;word-break:normal;word-spacing:normal}:not(pre)>code[class*=language-],pre[class*=language-]{background:#141414}pre[class*=language-]{border:.3em solid #545454;border-radius:.5em;box-shadow:inset 1px 1px .5em #000;margin:.5em 0;overflow:auto;padding:1em}pre[class*=language-]::-moz-selection{background:#27292a}pre[class*=language-]::selection{background:#27292a}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{background:hsla(0,0%,93%,.15);text-shadow:none}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{background:hsla(0,0%,93%,.15);text-shadow:none}:not(pre)>code[class*=language-]{border:.13em solid #545454;border-radius:.3em;box-shadow:inset 1px 1px .3em -.1em #000;padding:.15em .2em .05em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#777}.token.namespace,.token.punctuation{opacity:.7}.token.boolean,.token.deleted,.token.number,.token.tag{color:#ce6849}.token.builtin,.token.constant,.token.keyword,.token.property,.token.selector,.token.symbol{color:#f9ed99}.language-css .token.string,.style .token.string,.token.attr-name,.token.attr-value,.token.char,.token.entity,.token.inserted,.token.operator,.token.string,.token.url,.token.variable{color:#909e6a}.token.atrule{color:#7385a5}.token.important,.token.regex{color:#e8c062}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.language-markup .token.attr-name,.language-markup .token.punctuation,.language-markup .token.tag{color:#ac885c}.token{position:relative;z-index:1}.line-highlight.line-highlight{background:hsla(0,0%,33%,.25);background:linear-gradient(90deg,hsla(0,0%,33%,.1) 70%,hsla(0,0%,33%,0));border-bottom:1px dashed #545454;border-top:1px dashed #545454;margin-top:.75em;z-index:0}.line-highlight.line-highlight:before,.line-highlight.line-highlight[data-end]:after{background-color:#8693a6;color:#f4f1ef}
|
Loading…
Reference in New Issue
Block a user