aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2018-11-24 15:10:43 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2018-11-24 15:10:43 +0100
commit7798a5cc7c1d636008f000937e3d096f01dbbde5 (patch)
tree81c9d2d0fa10105e0813fe2cbaf41d96e9fb6681 /layouts/partials/docs
parentf5736e077a7d50c05c9ca58ef307e4da4e63e6d5 (diff)
Refactor scss styles
Diffstat (limited to 'layouts/partials/docs')
-rw-r--r--layouts/partials/docs/brand.html2
-rw-r--r--layouts/partials/docs/html-head.html6
-rw-r--r--layouts/partials/docs/mobile-header.html10
3 files changed, 10 insertions, 8 deletions
diff --git a/layouts/partials/docs/brand.html b/layouts/partials/docs/brand.html
index 3a6d7b4..5a2c9cb 100644
--- a/layouts/partials/docs/brand.html
+++ b/layouts/partials/docs/brand.html
@@ -1,3 +1,3 @@
-<h2 class="brand">
+<h2 class="book-brand">
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</h2> \ No newline at end of file
diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html
index 0110074..363bcd2 100644
--- a/layouts/partials/docs/html-head.html
+++ b/layouts/partials/docs/html-head.html
@@ -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 }}"> \ No newline at end of file
diff --git a/layouts/partials/docs/mobile-header.html b/layouts/partials/docs/mobile-header.html
index 3517fe6..7ddd06d 100644
--- a/layouts/partials/docs/mobile-header.html
+++ b/layouts/partials/docs/mobile-header.html
@@ -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>