diff options
Diffstat (limited to 'layouts/partials/style.html')
-rw-r--r-- | layouts/partials/style.html | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/layouts/partials/style.html b/layouts/partials/style.html index 37755da..7245855 100644 --- a/layouts/partials/style.html +++ b/layouts/partials/style.html @@ -1,15 +1,6 @@ -<style> - a { color: {{ .Site.Params.ColorTheme }}; } - blockquote { - border-left-color: {{ .Site.Params.ColorTheme }}; - border-right-color: {{ .Site.Params.ColorTheme }}; } - .bar a:hover { - color: {{ .Site.Params.ColorTheme }}; - text-decoration: none; } - .sep { - margin-top: 2rem; - margin-bottom: 1rem; - margin-left:0; - width: 24rem; - border-top: 2px solid {{ .Site.Params.ColorTheme }}; } -</style> +{{ $normalize := resources.Get "css/normalize.css" }} +{{ $syntax := resources.Get "css/syntax.css" }} +{{ $template := resources.Get "css/template.css" }} +{{ $ui := $template | resources.ExecuteAsTemplate "main.css" . }} +{{ $css := slice $normalize $ui $syntax | resources.Concat "css/ui.css" }} +<link rel="stylesheet" href="{{ $css.RelPermalink }}"> |