diff --git a/test/fixtures/screenshots/linux/desktop/blog/index.png b/test/fixtures/screenshots/linux/desktop/blog/index.png index 3a1f398e..bca3b4a5 100644 Binary files a/test/fixtures/screenshots/linux/desktop/blog/index.png and b/test/fixtures/screenshots/linux/desktop/blog/index.png differ diff --git a/test/fixtures/screenshots/linux/desktop/blog/index/_pagination.png b/test/fixtures/screenshots/linux/desktop/blog/index/_pagination.png index a0566291..bda7a87b 100644 Binary files a/test/fixtures/screenshots/linux/desktop/blog/index/_pagination.png and b/test/fixtures/screenshots/linux/desktop/blog/index/_pagination.png differ diff --git a/test/fixtures/screenshots/linux/mobile/free_consultation.png b/test/fixtures/screenshots/linux/mobile/free_consultation.png new file mode 100644 index 00000000..761b6723 Binary files /dev/null and b/test/fixtures/screenshots/linux/mobile/free_consultation.png differ diff --git a/test/fixtures/screenshots/linux/mobile/nav/hamburger_menu.png b/test/fixtures/screenshots/linux/mobile/nav/hamburger_menu.png new file mode 100644 index 00000000..07fbcb43 Binary files /dev/null and b/test/fixtures/screenshots/linux/mobile/nav/hamburger_menu.png differ diff --git a/test/fixtures/screenshots/macos/desktop/blog/index.png b/test/fixtures/screenshots/macos/desktop/blog/index.png index 07be693a..6130c949 100644 Binary files a/test/fixtures/screenshots/macos/desktop/blog/index.png and b/test/fixtures/screenshots/macos/desktop/blog/index.png differ diff --git a/test/fixtures/screenshots/macos/desktop/blog/index/_pagination.png b/test/fixtures/screenshots/macos/desktop/blog/index/_pagination.png index 165dc098..64bfaa23 100644 Binary files a/test/fixtures/screenshots/macos/desktop/blog/index/_pagination.png and b/test/fixtures/screenshots/macos/desktop/blog/index/_pagination.png differ diff --git a/test/fixtures/screenshots/macos/mobile/nav/hamburger_menu.png b/test/fixtures/screenshots/macos/mobile/nav/hamburger_menu.png index 3c292708..9ceede85 100644 Binary files a/test/fixtures/screenshots/macos/mobile/nav/hamburger_menu.png and b/test/fixtures/screenshots/macos/mobile/nav/hamburger_menu.png differ diff --git a/test/fixtures/screenshots/macos/mobile/nav/hamburger_menu/services.png b/test/fixtures/screenshots/macos/mobile/nav/hamburger_menu/services.png index bc6f5ef8..baafd6fb 100644 Binary files a/test/fixtures/screenshots/macos/mobile/nav/hamburger_menu/services.png and b/test/fixtures/screenshots/macos/mobile/nav/hamburger_menu/services.png differ diff --git a/themes/beaver/assets/css/navigation.css b/themes/beaver/assets/css/navigation.css index 08aa9844..6ae77d0e 100644 --- a/themes/beaver/assets/css/navigation.css +++ b/themes/beaver/assets/css/navigation.css @@ -1,6 +1,6 @@ .btn, .btn:hover { - padding: 10px 18px; + padding: 11px 18px; font-size: 16px; line-height: 24px; font-weight: 700; @@ -92,8 +92,8 @@ .menu-close { display: none; - width: 25px; - height: 25px; + width: 30px; + height: 30px; position: absolute; top: 24px; left: 16px; @@ -183,7 +183,7 @@ transition: .3s; } - .navigation .-active .link { +.navigation .-active .link { color: #1a8cff; } @@ -341,7 +341,7 @@ background-color: #121212; color: #fff; border-radius: 6px; - margin-top: 10px; + margin-top: 15px; } .navigation .item { @@ -406,6 +406,17 @@ .navigation .item .arrow { top: 25px; + right: 15px; + } + + .navigation .item .arrow:before { + content: ''; + position: absolute; + left: -15px; + right: -15px; + top: -15px; + bottom: -15px; + cursor: pointer; } .navigation .item.-open .arrow { @@ -415,8 +426,14 @@ .navigation .item:hover .arrow { border-color: inherit; } + .navigation .item:hover .link, .navigation .sub-item:hover .sub-name { color: inherit; } + + .navigation .link { + font-size: 18px; + padding-right: 15px; + } } diff --git a/themes/beaver/layouts/_default/_markup/render-image.html b/themes/beaver/layouts/_default/_markup/render-image.html index 2ede75db..1054688c 100644 --- a/themes/beaver/layouts/_default/_markup/render-image.html +++ b/themes/beaver/layouts/_default/_markup/render-image.html @@ -28,7 +28,7 @@ {{ end }} {{ end }} - + {{ range $format := $formats }} {{ $srcset := slice }} @@ -36,9 +36,14 @@ {{ $image := $data.Get (printf "%s-%d" $format $index) }} {{ $srcset = $srcset | append (printf "%s %dw" $image.RelPermalink $size) }} {{ end }} - + {{ end }} - {{ $alt }} + {{ $alt }} diff --git a/themes/beaver/layouts/_default/list.html b/themes/beaver/layouts/_default/list.html index 88252500..735f722b 100644 --- a/themes/beaver/layouts/_default/list.html +++ b/themes/beaver/layouts/_default/list.html @@ -54,7 +54,7 @@

Blog

{{ range (.Paginate (.Pages.ByParam "created_at").Reverse).Pages }} - +
diff --git a/themes/beaver/layouts/blog/list.html b/themes/beaver/layouts/blog/list.html index 03c8146d..6ac174a0 100644 --- a/themes/beaver/layouts/blog/list.html +++ b/themes/beaver/layouts/blog/list.html @@ -64,7 +64,7 @@
{{ range (.Paginate (.Pages.ByParam "created_at").Reverse).Pages }} -
+
{{ partial "blog/img-cropped.html" (dict "Page" . "width" 180 "height" 180) }} diff --git a/themes/beaver/layouts/page/careers.html b/themes/beaver/layouts/page/careers.html index 93aec64a..8c36f1ae 100644 --- a/themes/beaver/layouts/page/careers.html +++ b/themes/beaver/layouts/page/careers.html @@ -390,7 +390,7 @@

  • {{ .Params.position_type }}
  • -

    {{ .Params.position }}

    +

    {{ .Params.position }}

    {{ range .Params.requirements }} diff --git a/themes/beaver/layouts/partials/blog/img-cropped.html b/themes/beaver/layouts/partials/blog/img-cropped.html index 5813a390..05d6956f 100644 --- a/themes/beaver/layouts/partials/blog/img-cropped.html +++ b/themes/beaver/layouts/partials/blog/img-cropped.html @@ -5,11 +5,11 @@ - - - {{ .Page.Title }} + + + {{ .Page.Title }} {{ else }} -Placeholder Image +Placeholder Image {{ end }} diff --git a/themes/beaver/layouts/partials/clients/grid-single.html b/themes/beaver/layouts/partials/clients/grid-single.html index 68edce45..7f5fc768 100644 --- a/themes/beaver/layouts/partials/clients/grid-single.html +++ b/themes/beaver/layouts/partials/clients/grid-single.html @@ -26,7 +26,7 @@
    - + {{ partial "img/client-logo.html" (dict "image" $logo "title" .Params.client.name) }}
    @@ -42,4 +42,4 @@
    - \ No newline at end of file +