diff options
author | Marco Alexander Fischer | 2018-09-09 16:31:29 +0200 |
---|---|---|
committer | Marco Alexander Fischer | 2018-09-09 16:31:29 +0200 |
commit | 183a9e270787b6da991a9652468145730602a0c1 (patch) | |
tree | c0ed0876956e66fead01d5ff9c1794bfc21b8074 | |
parent | b31ecd7c693f670062ef1cc37fbf11e7ab443f82 (diff) |
Overworked UI for new Design concept :lipstick:
-rw-r--r-- | assets/css/style.css | 142 | ||||
-rw-r--r-- | index.html | 14 |
2 files changed, 149 insertions, 7 deletions
diff --git a/assets/css/style.css b/assets/css/style.css index 021a118..1261603 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -20,13 +20,16 @@ html, body { } body { - background-color: #282828; font-family: 'Mukta', sans-serif; color: white; display: grid; flex-direction: column; justify-content: center; align-items: center; + overflow: hidden; + background-image: url("../images/bg.jpg"); + background-repeat: no-repeat; + background-size: cover } .typewriter h1 { @@ -38,12 +41,13 @@ body { animation: typing 1s steps(40, end), blink-caret .75s step-end infinite; + animation-delay: 1s; } .heading { margin-top: 50vh; animation-name: middle-to-top; - animation-delay: 1.5s; + animation-delay: 2.5s; animation-duration: .5s; animation-fill-mode: forwards; } @@ -57,7 +61,7 @@ body { border-radius: 20px; padding: 10px; animation-name: fade-in-custom; - animation-delay: 2s; + animation-delay: 3.5s; animation-duration: 1s; animation-fill-mode: forwards; color: dimgray; @@ -85,8 +89,8 @@ body { } .button-blue { - background: #16BFFD; /* fallback for bad browsers */ - background: linear-gradient(to right, #CB3066, #16BFFD); + background: #F9A825; /* fallback for bad browsers */ + background: linear-gradient(to right, #F9A825, #FF5252); color: white; border-radius: 20px; width: 160px; @@ -102,7 +106,7 @@ body { .button-blue:hover { background: #16BFFD; /* fallback for bad browsers */ - background: linear-gradient(to right, #CB3066, #16BFFD); + background: linear-gradient(to right, #F9A825, #FF5252); color: white; border-radius: 20px; width: 175px; @@ -117,6 +121,16 @@ body { font-size: 13px; } +a:visited { + text-decoration: none; + color: #FF5252; +} + +a { + text-decoration: none; + color: #FF5252; +} + @keyframes middle-to-top { from { margin-top: 50vh; @@ -143,4 +157,118 @@ body { to { opacity: 100; } -}
\ No newline at end of file +} + +/* PRELOADERS */ + +#ud_preloader { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + width: 100%; + height: 100%; + z-index: 10000; +} +#ud_preloader .ud_pre_half { + background: #111; + width: 50%; + height: 100%; + position: absolute; + top: 0; + bottom: 0; +} +#ud_preloader #ud_bg_left { + left: 0; +} +#ud_preloader #ud_bg_right { + right: 0; +} +#ud_preloader #ud_dots { + z-index: 10001; + width: 150px; + position: absolute; + top: 50%; + left: 50%; + transform: translateX(-50%) translateY(-50%); +} +#ud_preloader #ud_dots p { + width: 100%; + margin: 0 0 30px 0; + color: #fff; + font-size: 12px; + text-align: center; +} +#ud_preloader #ud_dots .ud_dot { + animation: infinite 500ms ease-in-out; + border-radius: 30px; + width: 30px; + height: 30px; + background: #fff; + float: left; + margin: 0 10px 0 0; +} +#ud_preloader #ud_dots .ud_dot:last-child { + margin: 0 0 0 0; +} + +@keyframes ud_preloader_1 { + 0% { + background: #fff; + transform: translateY(0); + } + 25% { + background: #F9A825; + transform: translateY(-5px); + } + 50% { + background: #fff; + transform: translateY(0); + } +} + +@keyframes ud_preloader_2 { + 25% { + background: #fff; + transform: translateY(0); + } + 50% { + background: #F9A825; + transform: translateY(-5px); + } + 75% { + background: #fff; + transform: translateY(0); + } +} + +@keyframes ud_preloader_3 { + 50% { + background: #fff; + transform: translateY(0); + } + 75% { + background: #F9A825; + transform: translateY(-5px); + } + 100% { + background: #fff; + transform: translateY(0); + } +} + +@keyframes ud_preloader_4 { + 75% { + background: #fff; + transform: translateY(0); + } + 100% { + background: #F9A825; + transform: translateY(-5px); + } + 25% { + background: #fff; + transform: translateY(0); + } +} @@ -8,9 +8,23 @@ <link rel="stylesheet" href="./assets/css/style.css"> <link href="https://fonts.googleapis.com/css?family=Mukta" rel="stylesheet"> <link rel="stylesheet" href="./assets/fonts/Linearicons-Free-v1.0.0/icon-font.min.css"> + <script src="./assets/js/jquery.js"></script> + <script src="./assets/js/preloader.js"></script> + <title>Texx Web</title> </head> <body> + <section id="ud_preloader"> + <div id="ud_dots"> + <p>Loading</p> + <div class="ud_dot" style=" animation-name:ud_preloader_1;"></div> + <div class="ud_dot" style=" animation-name:ud_preloader_2;"></div> + <div class="ud_dot" style=" animation-name:ud_preloader_3;"></div> + <div class="ud_dot" style=" animation-name:ud_preloader_4;"></div> + </div> + <div id="ud_bg_left" class="ud_pre_half"></div> + <div id="ud_bg_right" class="ud_pre_half"></div> + </section> <div class="heading"> <div class="typewriter"> <h1>Welcome to Texx!</h1> |