diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2018-09-26 00:12:56 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2018-09-26 00:12:56 +0200 |
commit | cce17bcc99be389dce5bfbadfabaacf132c3f8f7 (patch) | |
tree | 71cfa0cc6451ab321f0884fc4e7ef0ad189259cc /layouts/partials/docs | |
parent | b6d7a1050fe273869646242304899f0a0f1483b2 (diff) |
Remove purecss dependency and replace with flexbox
Diffstat (limited to 'layouts/partials/docs')
-rw-r--r-- | layouts/partials/docs/header.html | 6 | ||||
-rw-r--r-- | layouts/partials/docs/html-head.html | 5 | ||||
-rw-r--r-- | layouts/partials/docs/menu-bundle.html (renamed from layouts/partials/docs/nav-bundle.html) | 0 | ||||
-rw-r--r-- | layouts/partials/docs/menu-filetree.html (renamed from layouts/partials/docs/nav-filetree.html) | 2 | ||||
-rw-r--r-- | layouts/partials/docs/nav-brand.html | 3 |
5 files changed, 2 insertions, 14 deletions
diff --git a/layouts/partials/docs/header.html b/layouts/partials/docs/header.html deleted file mode 100644 index aab1fcb..0000000 --- a/layouts/partials/docs/header.html +++ /dev/null @@ -1,6 +0,0 @@ -<label for="nav-control"> - <img src="/svg/menu.svg" /> -</label> -<h3> - <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> -</h3>
\ No newline at end of file diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index fe09dd0..1da298c 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -3,10 +3,7 @@ <title>{{- template "title" . }} | {{ .Site.Title -}}</title> <link href="https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto:300,400,700" rel="stylesheet"> -<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/base-min.css"> -<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/grids-min.css"> -<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/grids-responsive-min.css"> - +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css"> {{ $styles := resources.Get "styles.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }} <link rel="stylesheet" href="{{ $styles.Permalink }}">
\ No newline at end of file diff --git a/layouts/partials/docs/nav-bundle.html b/layouts/partials/docs/menu-bundle.html index bdabefd..bdabefd 100644 --- a/layouts/partials/docs/nav-bundle.html +++ b/layouts/partials/docs/menu-bundle.html diff --git a/layouts/partials/docs/nav-filetree.html b/layouts/partials/docs/menu-filetree.html index 3ec4539..490c350 100644 --- a/layouts/partials/docs/nav-filetree.html +++ b/layouts/partials/docs/menu-filetree.html @@ -8,7 +8,7 @@ {{ define "book-section" }} <!-- Single section of menu (recursive) --> <ul> {{ range .Section.Sections }} - <li {{- if .Params.bookrootsection}} class="root-section" {{ end }}> + <li {{- if .Params.bookrootsection}} class="section" {{ end }}> {{- if .Content -}} {{ template "book-page-link" (dict "Page" . "CurrentPage" $.CurrentPage) }} {{- else -}} diff --git a/layouts/partials/docs/nav-brand.html b/layouts/partials/docs/nav-brand.html deleted file mode 100644 index 5a2c9cb..0000000 --- a/layouts/partials/docs/nav-brand.html +++ /dev/null @@ -1,3 +0,0 @@ -<h2 class="book-brand"> - <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> -</h2>
\ No newline at end of file |