From cbe0826600aff5e9630dff30ff9708df6d3d03f5 Mon Sep 17 00:00:00 2001 From: KodeStar Date: Sun, 11 Feb 2018 18:57:22 +0000 Subject: [PATCH] fix relative links --- css/app.css | 6 ++---- sass/_app.scss | 4 ++-- sass/app.scss | 1 + webpack.mix.js | 1 + 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/css/app.css b/css/app.css index 5fe13b39..9e0cadb3 100644 --- a/css/app.css +++ b/css/app.css @@ -1,5 +1,4 @@ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ - html { font-family: sans-serif; -ms-text-size-adjust: 100%; @@ -223,9 +222,8 @@ th { .section1 { background: #7d8080; height: 100vh; - background-image: url("/img/heimdall-logo.png"); + background-image: url("../img/heimdall-logo.png"); background-repeat: no-repeat; background-position: center center; - background-size: 50%; + background-size: 25%; } - diff --git a/sass/_app.scss b/sass/_app.scss index c6acaeaa..e559cfa0 100644 --- a/sass/_app.scss +++ b/sass/_app.scss @@ -1,8 +1,8 @@ .section1 { background: #7d8080; height: 100vh; - background-image: url('/img/heimdall-logo.png'); + background-image: url("../img/heimdall-logo.png"); background-repeat: no-repeat; background-position: center center; - background-size: 50%; + background-size: 25%; } \ No newline at end of file diff --git a/sass/app.scss b/sass/app.scss index 6a525cb2..0a42fd46 100644 --- a/sass/app.scss +++ b/sass/app.scss @@ -1,2 +1,3 @@ + @import "normalise"; @import "app"; \ No newline at end of file diff --git a/webpack.mix.js b/webpack.mix.js index 25604c5a..e3009f7d 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -11,4 +11,5 @@ let mix = require('laravel-mix'); | */ +mix.options({ processCssUrls: false }); mix.sass('sass/app.scss', 'css');