diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/index.html | 9 | ||||
-rw-r--r-- | public/style/logger.css | 47 | ||||
-rw-r--r-- | public/style/master.css | 16 |
3 files changed, 50 insertions, 22 deletions
diff --git a/public/index.html b/public/index.html index 9817d6f..1ab2bee 100644 --- a/public/index.html +++ b/public/index.html @@ -8,14 +8,7 @@ <link rel="stylesheet" href="/style/master.css" /> <title>keks webrtc meeting</title> - <style> - * { - margin: 0px; - padding: 0px; - } - </style> </head> - <body> - </body> + <body></body> </html> diff --git a/public/style/logger.css b/public/style/logger.css new file mode 100644 index 0000000..77f0d41 --- /dev/null +++ b/public/style/logger.css @@ -0,0 +1,47 @@ +.logger-container { + position: absolute; + top: 0px; + right: 0px; + transition: width 1s; + + background-color: rgba(0, 0, 0, 0.376); + border-radius: 0.2em; + border: 0px solid transparent; + padding: 0.2em; + + +} + +.logger-line { + font-size: 1em; + height: 1.2em; + + animation-name: appear, disappear; + animation-timing-function: linear, linear; + animation-delay: 0s, 3s; + animation-duration: 0.3s, 2s; + animation-fill-mode: forwards, forwards; +} + + +@keyframes appear { + from { + margin-top: -1.2em; + opacity: 0; + } + to { + opacity: 1; + } +} + + + +@keyframes disappear { + from { + opacity: 1; + } + to { + margin-top: -1.2em; + opacity: 0; + } +} diff --git a/public/style/master.css b/public/style/master.css index 31c8eeb..89c0e4a 100644 --- a/public/style/master.css +++ b/public/style/master.css @@ -1,4 +1,5 @@ -@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;700&display=swap"); +@import url("https://s.metamuffin.org/static/font-ubuntu/include.css"); +@import url("./logger.css"); * { font-family: "Ubuntu", sans-serif; @@ -65,12 +66,9 @@ input[type="text"] { .room { width: 100%; height: 100%; - /* display: flex; */ - /* justify-content: center; */ } .user { - /* display: grid; */ background-color: var(--bg); border: 0px soly transparent; border-radius: 5px; @@ -105,16 +103,6 @@ input[type="text"] { border-radius: 5px; } -.media.maximized { - position: absolute; - top: 50vh; - left: 50vw; - width: 100vw; - height: 100vh; - z-index: 1000; - transform: translate(-50%, -50%); -} - .start-box { position: absolute; top: 50vh; |