From dc0f3c0e8b477891f00fb49ec469a29726c8cdb5 Mon Sep 17 00:00:00 2001 From: louisafriederike Date: Thu, 14 Sep 2023 15:51:08 +0200 Subject: [PATCH] vertical view expo --- app.js | 4 +- public/style.css | 1 + public/stylev.css | 419 +++++++++++++++++++++++++++++++++++++++++++ public/vertical.html | 281 +++++++++++++++++++++++++++++ 4 files changed, 703 insertions(+), 2 deletions(-) create mode 100644 public/stylev.css create mode 100644 public/vertical.html diff --git a/app.js b/app.js index 5a79e48..2c0e260 100644 --- a/app.js +++ b/app.js @@ -25,8 +25,8 @@ var trashcan = new osc.UDPPort({ localPort: 57122, // This is where sclang is listening for OSC messages. - remoteAddress: "192.168.2.12", //this is the hamsters ip - remotePort: 8888, //this is the hamsters port :*s + remoteAddress: "192.168.2.12", //this is the trashcan ip + remotePort: 8888, //this is the trashcan port :*s metadata: true }); diff --git a/public/style.css b/public/style.css index b1c659e..3cacabc 100644 --- a/public/style.css +++ b/public/style.css @@ -21,6 +21,7 @@ body { font-weight: 400; background-color: #736c9f; text-shadow: #FF4800; + /* overflow-y: hidden; overflow-x: hidden; */ } diff --git a/public/stylev.css b/public/stylev.css new file mode 100644 index 0000000..dca333c --- /dev/null +++ b/public/stylev.css @@ -0,0 +1,419 @@ +* { + box-sizing: border-box; + margin: 0px; + padding: 0px; + + } +#title{ + font-size: 2em; + color: black; + text-align: left; + +} + + +.profile{padding-left:1.8vw;} + + +body { + font: 1.0em/1.6 'Inconsolata', monospace; + color: #c9cdc0; + font-weight: 400; + background-color: #000000; + text-shadow: #FF4800; + margin: 0; + overflow: hidden; + transform-origin: right; + transform: translate(-100vw, 0) rotate(180deg); + writing-mode: vertical-rl; + /* overflow-y: hidden; + overflow-x: hidden; */ +} + +/* Use a media query to add a breakpoint at 800px: */ +@media screen and (max-width: 800px) { + .left, .main, .right { + width: 100%; /* The width is 100%, when the viewport is 800px or smaller */ + } +} + +#map{ + display: block; + margin-left: auto; + margin-right: auto; + /* margin-top:2.5vh; */ + margin-bottom:2.5vh; +} + +#zoommap{ + position: fixed; + width: 68%; + /* margin-left: auto; + margin-right: auto; */ + /* margin-top:2.5vh; */ + top: 10px; + margin-bottom:2.5vh; + display:none; + /* height: 60vh; */ +} + + +#svg55{ + width: 100%; + height: 100%; + padding-top: none; +} + +/* .zoom>img{ + height: calc(100vh - 60px); + width: auto; +} */ + +/* #dreammap{ + height: 90vh; + +} */ + +#gateway-distance{ + font: 1.2em/1.6 'Inconsolata', monospace; +} + +.flex-container { + display: flex; + flex-direction: column; + +} + +.flex-left { + width: 100%; + height: 100vh; + /* border: 2px solid #c9cdc0; */ + border-radius: 2px; + /* margin-right:3px; */ + padding: 5px; + padding-left: 10px; + padding-right: 10px; + padding-top: 10px; + background-color:rgb(26, 26, 26, 0); + +} + +/* .flex-right { + width: 45%; + height: 100vh; + /* border: 5px solid #c9cdc0; */ + /* border-radius: 2px; + padding: 5px; + padding-right: 10px; + padding-top: 10px; + background-color:rgb(26, 26, 26); +} */ + +.section{ + border: 2px solid #3d3f38; + border-radius:6px; + display: flex; + flex-direction: column; + padding: 5px; + margin-bottom:6px; + color: #FF4800; + background-color: #0e0e0a; +} +.section2{ + border: 2px solid #3d3f38; + border-radius:6px; + display: flex; + flex-direction: row; + padding: 5px; + margin-bottom:6px; + color: rgb(88, 130, 255); + background-color: #0e0e0a; +} + +.button-base{ + padding: 5px; + margin: 5px; +} + +#nav-console{ + color: #c9cdc0; +} + +#scene1{ + display: none; +} + +#input{ + background-color: #c9cdc0; + border: 2px solid black; + font: 1.2em/1.6 'Inconsolata', monospace; + -webkit-appearance: none; + -ms-appearance: none; + -moz-appearance: none; + appearance: none; + border-radius: 5px; +} + +button{ + background-color: #bd3e00; + font: 1.2em/1.6 'Inconsolata', monospace; + color:black; + border-radius: 5px; + border: 2px solid black; + -webkit-appearance: none; + -ms-appearance: none; + -moz-appearance: none; + appearance: none; + margin-left: 2px; + padding-left: 4px; + padding-right: 4px; +} + +button:active{ + background-color: rgb(65, 184, 255); +} + + + +#log{ + visibility: hidden; + background-color: rgb(177, 193, 213); + color: black; +} + +#back{ + visibility: hidden; + width: 22%; + background-color: #c9cdc0; + color: black; + +} + +#back2{ + display: none; + width: 22%; + background-color: #c9cdc0; + color: black; +} + +#log1{ + display: none; + background-color: rgb(65, 184, 255); + border: none; + border-radius: 0px; + color: black; + padding: 1px; + padding-left: 6px; +} + + +#log2{ + display: none; + background-color: rgb(65, 184, 255); + color: black; + border-radius: 0px; + border: none; + padding: 1px; + padding-left: 6px; +} +#log3{ + display: none; + background-color: rgb(65, 184, 255); + color: black; + border-radius: 0px; + border: none; + padding: 1px; + padding-left: 6px; +} +#log4{ + display: none; + background-color: rgb(65, 184, 255); + color: black; + border-radius: 0px; + border: none; + padding: 1px; + padding-left: 6px; +} +#log5{ + display: none; + background-color: rgb(65, 184, 255); + color: black; + border-radius: 0px; + border: none; + padding: 1px; + padding-left: 6px; +} + +#log1:active{ + + background-color: rgb(129, 135, 121); + +} + +#log2:active{ + + background-color: rgb(129, 135, 121); + +} + +#log3:active{ + + background-color: rgb(129, 135, 121); + +} + +#log4:active{ + + background-color: rgb(129, 135, 121); + +} + +#log5:active{ + + background-color: rgb(129, 135, 121); + +} + +#dreamlog{ + display: none; +} + + +.flex-top { + position: absolute; + top:0px; + width: 100vw; + height: 50vh; + border-radius: 2px; + padding: 5px; + padding-right: 10px; + padding-top: 10px; + background-color:rgb(26, 26, 26); +} + +.flex-bottom { + position: absolute; + bottom:0px; + width: 100vw; + height: 50vh; + bottom:0px; + border-radius: 2px; + padding: 5px; + padding-right: 10px; + padding-top: 10px; + background-color:rgb(26,26,26); +} + +.section2{ + display: flex; + border: 2px solid black; + border-radius:1px; + display: flex; + flex-direction:row; + padding: 5px; + margin-bottom:6px; + color: white; + background-color: black; + width: 30vw; +} + + +.section-main{ + + border: 2px solid #3d3f38; + border-radius:6px; + display: flex; + flex-direction: column; + padding: 5px; + margin-bottom:6px; + color: rgb(37, 37, 37); + background-color: #a5bad5ed; + +} +.flex-container2 { + display: flex; + flex-direction: row; +} + +#rect13:active{ + fill:yellow; +} + +#rect15:active{ + fill:yellow; +} + +.wrapper{ + margin: 0 auto; + max-width: 450px; + } + + .fullscreen-video { + position: fixed; + overflow: hidden; + top: 50%; + left: 50%; + min-width: 100%; + min-height: 100%; + width: auto; + height: auto; + transform: translateX(-50%) translateY(-50%); + z-index: -10; + } +.embed{width: 100%} + +#location-log{ + display: none; +} + +#chat-window{ + height: 95vh; + width: 50vw; + border: 1px solid #ccc; + padding: 10px; + overflow-y: scroll; +} + +#messages { + height: 40vh; + overflow-y: auto; + padding: 0; + word-wrap: break-word; +} + +#messages li { + padding: 5px; + margin-bottom: 10px; + display: block; +} + +.me { + text-align: right; + color: #e8b722; + padding-bottom: 2px; + border-radius: 4px; + display: inline-block; +} + +.others { + text-align: left; + color: #DE6C3F; + border-radius: 4px; + display: inline-block; +} + + + +input[type="text"] { + padding: 5px; +} + +#logo{ + max-width: 480px; + position: sticky; + z-index: 2; +} + +#weather{ + z-index: 0; +} \ No newline at end of file diff --git a/public/vertical.html b/public/vertical.html new file mode 100644 index 0000000..7fa9f7a --- /dev/null +++ b/public/vertical.html @@ -0,0 +1,281 @@ + + + + eixogen + + + + + + + + + + + + + + + + +
+
+
+ + +
+

~* *..* live chat ~~

+
    +
    + +
    +
    + + + + + + + + + + +
    + ↪ log +
    + + +
    +

    LOG 1 03:02:00 02-04-22 PORT: 9.1.13.

    +
    +
    +

    LOG 2 02:42:00 13-04-22 PORT: 16.18.15.

    +
    +
    +

    LOG 3 03:36:00 25-04-22 PORT: 20.5.3.

    +
    +
    +

    LOG 4 03:86:00 07-05-22 PORT: 20.15.18

    +
    +
    +

    LOG 5 06:86:00 17-05-22 PORT: 868

    +
    + +
    +

    + +
    +
    + ↪ +
    + +
    + + + +
    + + + +
    + + +
    + +
    + + + + + + + + + + + + + +