diff --git a/assets/css/app.scss b/assets/css/app.scss index d507ad9..0856e05 100644 --- a/assets/css/app.scss +++ b/assets/css/app.scss @@ -313,16 +313,15 @@ pre[class*="language-"] { } .header { - background: linear-gradient(45deg, $color-header-background-from 0%, #0685b3 29%, #1fbaf2 66%, $color-header-background-to 100%); - background-size: 400% 400%; - animation: HeaderGradient 15s ease infinite; + background: url('../images/header.jpg') no-repeat; + background-size: cover; display: flex; flex-direction: column; align-items: stretch; justify-content: space-evenly; overflow: hidden; position: relative; - text-shadow: 0px 0px 6px #274298; + text-shadow: 0px 0px 2px #fff; } .header-wrapper { @@ -331,6 +330,12 @@ pre[class*="language-"] { margin: auto; text-align: center; z-index: 1000; + + p, ul { + background: rgba(255, 255, 255, 0.8); + padding: 4px 10px; + border-radius: 20px; + } } .header-shadow { diff --git a/assets/css/app/config.scss b/assets/css/app/config.scss index ae2e1ad..f75454c 100644 --- a/assets/css/app/config.scss +++ b/assets/css/app/config.scss @@ -19,9 +19,13 @@ $color-small-menu-background: $color-dark-grey; $color-wide-menu-background-from: $color-dark-grey; $color-wide-menu-background-to: darken($color-dark-grey, 10%); -$color-header-background-from: $color-blue2; -$color-header-background-to: $color-blue; -$color-header-text: $color-white; +//$color-header-background-from: $color-blue2; +//$color-header-background-to: $color-blue; +//$color-header-text: $color-white; + +$color-header-background-from: #e8e8e8; +$color-header-background-to: #f4f4f4; +$color-header-text: #373238; $color-body-text: $color-dark-grey; $color-body-link-border: $color-blue; diff --git a/assets/images/header.jpg b/assets/images/header.jpg new file mode 100644 index 0000000..2b51090 Binary files /dev/null and b/assets/images/header.jpg differ diff --git a/assets/js/app/particles.js b/assets/js/app/particles.js index 62fdc70..3550607 100644 --- a/assets/js/app/particles.js +++ b/assets/js/app/particles.js @@ -16,7 +16,8 @@ class Particles { this.particles.style.maxHeight = height + 'px' this.particles.style.maxWidth = width + 'px' - particlesJS.load('particles', '/js/particles.json?v=3') + // particlesJS.load('particles', '/js/particles.json?v=3') + particlesJS.load('particles', '/js/particles.flocons.json?v=3') } clean() {