diff options
author | Marvin Borner | 2018-10-12 21:22:28 +0200 |
---|---|---|
committer | Marvin Borner | 2018-10-12 21:22:28 +0200 |
commit | 1de1a2ab89b45cfb0ff4702d8a6f00c2ff6b4896 (patch) | |
tree | 4424e1845b3cc2f52e5ecc2ccdbd62b276637535 | |
parent | ee28f558513e4d4aa3e92ed5ff4a7ffaafade920 (diff) |
Changed wallpapers to own collection :lipstick:
-rw-r--r-- | assets/css/style.css | 3 | ||||
-rw-r--r-- | assets/index.html | 0 | ||||
-rw-r--r-- | assets/js/preLoader.js | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/assets/css/style.css b/assets/css/style.css index bab75d5..27a2d4b 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -22,12 +22,13 @@ body { justify-content: center; align-items: center; overflow: hidden; - background: url("../images/bg.jpg") no-repeat; + background-color: #263238; background-size: cover } .typewriter h1 { display: none; + text-shadow: 2px 2px 5px #263238; overflow: hidden; border-right: .15em solid white; white-space: nowrap; diff --git a/assets/index.html b/assets/index.html deleted file mode 100644 index e69de29..0000000 --- a/assets/index.html +++ /dev/null diff --git a/assets/js/preLoader.js b/assets/js/preLoader.js index 35d649e..3f6e2e1 100644 --- a/assets/js/preLoader.js +++ b/assets/js/preLoader.js @@ -1,4 +1,5 @@ $(window).on("load", () => { + $("body").css("backgroundImage", "url('https://source.unsplash.com/collection/3349303/" + window.outerWidth + "x" + window.outerHeight + "')"); $("#udDots") .fadeOut(300, () => { $(".typewriter h1").fadeIn(); |