Refactor scss styles

This commit is contained in:
Alex Shpak
2018-11-24 15:10:43 +01:00
parent f5736e077a
commit 7798a5cc7c
14 changed files with 1924 additions and 147 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
<h2 class="brand">
<h2 class="book-brand">
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</h2>
+3 -3
View File
@@ -3,7 +3,7 @@
<title>{{- template "title" . }} | {{ .Site.Title -}}</title>
<link href="https://fonts.googleapis.com/css?family=Oxygen|Oxygen+Mono:300,400,700" rel="stylesheet">
<link rel="stylesheet" href="{{ "/normalize.min.css" | relURL }}">
<link rel="stylesheet" href="{{ "normalize.min.css" | absURL }}">
<!-- <link rel="stylesheet" href="/basscss.min.css"> -->
{{ $styles := resources.Get "book.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">
+6 -4
View File
@@ -1,4 +1,6 @@
<label for="menu-control">
<img src="{{ "svg/menu.svg" | absURL }}" />
</label>
<strong>{{- template "title" . }}</strong>
<header class="align-center justify-between book-header">
<label for="menu-control">
<img src="{{ "svg/menu.svg" | absURL }}" />
</label>
<strong>{{- template "title" . }}</strong>
</header>