diff options
| author | 8cy <[email protected]> | 2020-04-19 00:27:53 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-19 00:27:53 -0700 |
| commit | d372f005b9a41aa9a25d3d9429200168b9961112 (patch) | |
| tree | ee751448f7096c016310c39a6ccf7a93d926ca78 | |
| parent | launch web dash, v7.2.0 (diff) | |
| download | dep-core-d372f005b9a41aa9a25d3d9429200168b9961112.tar.xz dep-core-d372f005b9a41aa9a25d3d9429200168b9961112.zip | |
add views, v7.2.1
wooops
| -rw-r--r-- | dist/ws/layouts/layout.hbs | 18 | ||||
| -rw-r--r-- | dist/ws/public/css/main.css | 116 | ||||
| -rw-r--r-- | dist/ws/views/error.hbs | 1 | ||||
| -rw-r--r-- | dist/ws/views/index.hbs | 1 |
4 files changed, 136 insertions, 0 deletions
diff --git a/dist/ws/layouts/layout.hbs b/dist/ws/layouts/layout.hbs new file mode 100644 index 0000000..3cc34cd --- /dev/null +++ b/dist/ws/layouts/layout.hbs @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>{{title}}</title> + <link rel="stylesheet" href="css/main.css"> + </head> + <body> + <div title="Status"> + {{body}} + </div> + + <div class="footer"> + <p>Copyright © 2020 - <a href="https://cyne.cf">s1nical</a></p> + </div> + </body> +</html>
\ No newline at end of file diff --git a/dist/ws/public/css/main.css b/dist/ws/public/css/main.css new file mode 100644 index 0000000..993c46a --- /dev/null +++ b/dist/ws/public/css/main.css @@ -0,0 +1,116 @@ +@import url('https://fonts.googleapis.com/css?family=Fira+Mono:400'); + +body { + display: flex; + width: 100vw; + height: 100vh; + align-items: center; + justify-content: center; + margin: 0; + background: #131313; + color: #fff; + font-size: 96px; + font-family: 'Fira Mono', monospace; + letter-spacing: -7px; +} + +div { + animation: glitch 1s linear infinite; +} + +@keyframes glitch { + + 2%, + 64% { + transform: translate(2px, 0) skew(0deg); + } + + 4%, + 60% { + transform: translate(-2px, 0) skew(0deg); + } + + 62% { + transform: translate(0, 0) skew(5deg); + } +} + +div:before, +div:after { + content: attr(title); + position: absolute; + left: 0; +} + +div:before { + animation: glitchTop 1s linear infinite; + clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%); + -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%); +} + +@keyframes glitchTop { + + 2%, + 64% { + transform: translate(2px, -2px); + } + + 4%, + 60% { + transform: translate(-2px, 2px); + } + + 62% { + transform: translate(13px, -1px) skew(-13deg); + } +} + +div:after { + animation: glitchBotom 1.5s linear infinite; + clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%); + -webkit-clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%); +} + +@keyframes glitchBotom { + + 2%, + 64% { + transform: translate(-2px, 0); + } + + 4%, + 60% { + transform: translate(-2px, 0); + } + + 62% { + transform: translate(-22px, 5px) skew(21deg); + } +} + +#green { + color: #05ffa1 +} + +a { + color: white; + text-decoration: none; + transition: 0.5s; +} + +a:hover { + color: rgb(223, 222, 222); + text-decoration: none; + transition: 0.5s; +} + +.footer { + position: fixed; + left: 0; + bottom: 0; + width: 100%; + color: white; + text-align: center; + font-size: 15px; + letter-spacing: -1px; +}
\ No newline at end of file diff --git a/dist/ws/views/error.hbs b/dist/ws/views/error.hbs new file mode 100644 index 0000000..fe49573 --- /dev/null +++ b/dist/ws/views/error.hbs @@ -0,0 +1 @@ +Error: {{errtype}}
\ No newline at end of file diff --git a/dist/ws/views/index.hbs b/dist/ws/views/index.hbs new file mode 100644 index 0000000..5253033 --- /dev/null +++ b/dist/ws/views/index.hbs @@ -0,0 +1 @@ +Status: Online
\ No newline at end of file |