body { margin: 0; display: flex; flex-direction: column; height: 100%; top: 0; bottom: 0; left: 0; right: 0; position: fixed; } #links { display: flex; flex-wrap: wrap; justify-content: space-evenly; background: #36AF7C; color: #AFE8E7; font-size: 1.25rem; } #links>a { margin: 0 0.25rem; } #windowWrapper { font-size: 1.25rem; position: relative; flex: 1 0 auto; } #window { width: 100vw; color: black; display: flex; position: absolute; top: 0; bottom: 0; } #panel { background: #FDF6AF; min-width: 21.875rem; max-width: 26.625rem; border-right: 0.15rem solid; display: flex; flex-direction: column; flex: 1; } #panelHeader { background: #F5BC3E; font-size: 2.2rem; line-height: 2.2rem; padding: 0.2rem; display: flex; justify-content: space-between; align-items: center } #panelHide { display: none; border: 0.15rem solid; border-radius: 0.3rem; width: 2.139rem; height: 2.139rem; background: no-repeat center / auto 80% url("data:image/svg+xml,%3Csvg width='70' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0 50 L 50 0 L 60 10 L 20 50 L 60 90 L 50 100 Z' fill='black'/%3E%3C/svg%3E"); } #userList { overflow-y: auto; } #userList>details>summary { margin: 0.3rem; } #offlineUserList>div, #onlineUserList>div { padding: 0.1rem 0.3rem; overflow-wrap: anywhere; } #offlineUserList>div:not(:nth-child(1)), #onlineUserList>div:not(:nth-child(1)) { border-top: 0.15rem solid gray; } #mainWrapper { position: relative; flex: 2 1 auto; height: 100%; } #main { display: flex; flex-direction: column; height: 100%; position: absolute; right: 0; left: 0; } #header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 0.25rem; background: #52CFD1; } #panelShowWrapper { flex: 1; } #panelShow { border: 0.15rem solid; border-radius: 0.3rem; width: 2.139rem; height: 2.139rem; background: no-repeat center / auto 80% url("data:image/svg+xml,%3Csvg width='75' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 75 50 L 25 0 L 15 10 L 55 50 L 15 90 L 25 100 Z' fill='black'/%3E%3C/svg%3E"); } #panelShow.hidden { display: block !important; background: no-repeat center / auto 80% url("data:image/svg+xml,%3Csvg width='70' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0 50 L 50 0 L 60 10 L 20 50 L 60 90 L 50 100 Z' fill='black'/%3E%3C/svg%3E"); } #panelWrapper.hiddenPanel { max-width: 0; transition: all 0.2s; } #panelWrapper { display: flex; flex: 1; max-width: 26.625rem; transition: all 0.2s; } #chatNameWrapper { font-size: 3.2rem; line-height: 3.2rem; font-weight: bold; color: #AFE8E7; text-shadow: 0 0 0.4rem #bd8626; } #headerOnline { flex: 1; white-space: nowrap; text-align: right; } #chatWrapper { overflow-y: auto; background: #AFE8E7; text-align: center; min-height: 4rem; flex: 1 1 auto; } #chat>div { padding: 0.1rem 0.3rem; text-align: left; } #chat>div:not(:nth-child(1)) { border-top: 0.15rem solid gray; } #chat>div.noId:hover, #chat>div.highlited { background: rgba(0, 0, 0, 0.1); } #chat>div>.messageHeaderWrapper>.timestamp { text-align: right; font-size: 0.8em; color: #36AF7C; margin-left: 0.2rem; } div#chat>div>.messageHeaderWrapper { display: flex; justify-content: space-between; align-items: center; font-weight: bold; } #chat>div>* { overflow-x: auto; overflow-y: hidden; overflow-wrap: break-word; } #chat>div>.message>* { max-width: 100%; max-height: 50vh; } #chat.loaded::before { content: '─── start ───'; } #chat.loading::before { content: 'loading...'; } #options { background: #52CFD1; display: flex; flex-wrap: wrap; } #options>div { padding: 0.4rem 0.3rem; font-size: 1.1rem; align-self: baseline; } #options input[type="checkbox"] { margin: 0px; vertical-align: middle; } #emotesWrapper { padding: 0rem 0.3rem !important; margin: 0.3rem 0; flex: 1; display: flex; justify-content: flex-end; position: relative; } #emotes { border: 0.15rem solid; border-radius: 0.3rem; padding: 0 0.3rem; font-size: smaller; } #emotes:hover { background: rgba(0, 0, 0, 0.1); cursor: pointer; } #emotesPanel { display: flex; justify-content: space-around; flex-wrap: wrap; overflow-y: auto; } #emotesPanelWrapper { position: absolute; bottom: 120%; margin: auto; background: #AFE8E7; border: 0.15rem solid; border-radius: 0.5rem; display: flex; flex-direction: column; padding: 0.15rem; min-width: 35rem; margin-left: 1rem; margin-top: 2rem; /* top: -78vh; */ z-index: 1; max-height: 70vh; overflow: hidden; transition: all 0.2s; } #emotesPanelHeader { font-size: smaller; margin: 0.2rem 0.5rem; } #input { display: flex; flex-wrap: wrap; padding: 0 0.2rem; background: #52CFD1; } #nameWrapper { display: flex; flex: 1 0 5em; position: relative; } #name { border: 0.15rem solid; border-radius: 0.3rem; flex-grow: 1; background: #AFE8E7; } #messageWrapper { flex: 2 0 16rem; display: flex; position: relative; } #message { border: 0.15rem solid; border-radius: 0.3rem; flex-grow: 1; resize: none; height: 3.5rem; background: #AFE8E7; } #send { border: 0.15rem solid; border-radius: 0.3rem; width: 3.5rem; height: 3.5rem; background: no-repeat center / auto 80% url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0 0 L 30 50 L 0 100 L 100 50 Z' fill='black'/%3E%3C/svg%3E") #AFE8E7; } #panelShow:hover { background-color: #7BEBE9 !important; } #send:hover { background-color: #93FFDB !important; } #panelHide:hover { background-color: #FDF6AF !important; } #name, #message, #send { margin: 0.1rem; } .userWrapper { margin: 0.1rem; } .userWrapper.offline { color: gray; } .lpWrapper { margin: 0.1rem; font-size: 0.935rem; color: #36AF7C; font-weight: bold; } .hidden { display: none !important; } .link { text-decoration: underline; color: #AFE8E7; } .link:hover { cursor: pointer; color: blue; } .greenText { color: green; } .hideScroll::-webkit-scrollbar { width: 0 !important } .hideScroll { overflow: -moz-scrollbars-none; } .hideScroll { -ms-overflow-style: none; } @media screen and (max-width: 1000px) { #window { display: block !important; } #panel { max-width: 40.625rem !important; min-width: 29rem; border-right: 0; border-bottom-right-radius: 0.5rem; border-top-right-radius: 0.5rem; } #panelWrapper { position: fixed; top: 1.5rem; bottom: 1.5rem; margin-right: 1.5rem; left: 0; z-index: 2; border-top: 0.15rem solid; border-bottom: 0.15rem solid; border-right: 0.15rem solid; border-bottom-right-radius: 0.5rem; border-top-right-radius: 0.5rem; max-width: 40.625rem; min-width: 29rem; overflow: hidden; transition: all 0.2s; } #panelHeader { border-top-right-radius: 0.3rem; } #panelHide { display: block !important; } #panelShow.hidden { display: none !important; background: no-repeat center / auto 80% url("data:image/svg+xml,%3Csvg width='75' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 75 50 L 25 0 L 15 10 L 55 50 L 15 90 L 25 100 Z' fill='black'/%3E%3C/svg%3E"); } } @media screen and (max-width: 580px) { #emotesPanelWrapper { min-width: 28.2rem; } } @media screen and (max-width: 470px) { #emotesPanelWrapper { min-width: 21.2rem; } #panel, #panelWrapper { min-width: 22rem; } #windowWrapper { font-size: 1rem; } } @media screen and (max-height: 470px) { #emotesPanelWrapper { /*top: -70vh*/ max-height: 60vh; } } @media screen and (max-width: 360px) { #emotesPanelWrapper { min-width: 14.2rem; } #panel, #panelWrapper { min-width: 15.2rem; } } @media screen and (max-width: 250px) { #emotesPanelWrapper { min-width: 7.2rem; } #panel, #panelWrapper { min-width: 0; } } @media screen and (max-width: 1000px) { #panelWrapper.hiddenPanel { max-width: 0; min-width: 0; left: -0.15rem; transition: all 0.2s; } } #emotesPanelWrapper.hiddenPanel { max-height: 0px; padding: 0; border: 0; transition: all 0.2s; } .emoteWrapper.videoEmote, .emoteWrapper.imageEmote { overflow: hidden; position: relative; display: inline-block; vertical-align: middle; max-width: 7.7rem; max-height: 7.7rem; } .emoteWrapper:not(.imageEmote):not(.videoEmote)>.emoteImage, .emoteWrapper:not(.imageEmote):not(.videoEmote)>.emoteVideo, .videoEmote>.emoteTitle, .imageEmote>.emoteVideo, .imageEmote>.emoteTitle { display: none; } .emoteWrapper>.emoteImage, .emoteWrapper>.emoteVideo { max-height: 7.7rem; max-width: 7.7rem; } .emoteWrapper.videoEmote>.emoteImage { position: absolute; height: 100%; width: 100%; left: 0; z-index: 1; pointer-events: none; } #emotesPanel>.emoteWrapper { width: 6.4rem; height: 7.7rem; min-width: 6.4rem; display: flex; align-items: center; justify-content: center; border: 0.15rem solid rgba(0, 0, 0, 0.3); margin: 0.15rem; border-radius: 0.3rem; overflow: hidden; cursor: pointer; } #emotesPanel>.emoteWrapper:hover { background: #52CFD1; border-color: #000; } #emotesPanel>.emoteWrapper>.emoteImage, #emotesPanel>.emoteWrapper>.emoteVideo { max-width: 6.4rem; } .localMessage .localMessageWrapper:before { content: 'local:'; margin-right: 0.2rem; } .insertedMedia { max-width: 100%; max-height: 50vh; } .userListId, #chat .userId, .chatUser:not(.unknown) .chatUserId { margin-left: 0.2rem; } .userListId:before, #chat .userId:before, .chatUser:not(.unknown) .chatUserId:before { content: '('; } .userListId:after, #chat .userId:after, .chatUser:not(.unknown) .chatUserId:after { content: ')'; } .userListId:hover, #chat .userId:hover, .chatUser:not(.unknown) .chatUserId:hover { cursor: pointer; text-decoration: underline; } #chat>.noId .userId { display: none; } .chatUser.you, #userList .you .userWrapper, #chat .you .userNameWrapper { background: rgba(0, 128, 0, 0.3); } #userList .you .userWrapper .userListId:after, #chat .you .userNameWrapper .userId:after, .chatUser.you .chatUserId:after { content: ', you)'; } #pinWrapper { flex: 1 0 1.4em; position: relative; background: mediumspringgreen; } #pinWrapper>summary::marker, #pinWrapper>summary::-webkit-details-marker { display: none; } #pinWrapper>summary { list-style: none; position: absolute; left: 0; right: 0; padding: 0.1em 0.5rem; z-index: 1; overflow: hidden; overflow-wrap: break-word; background: mediumspringgreen; max-height: 1.2em; transition: max-height 0.2s; } #pinWrapper[open]>summary { max-height: 40vh; overflow: auto; transition: max-height 0.2s; } #pinWrapper[open] .emoteWrapper>.emoteImage, #pinWrapper[open] .emoteWrapper>.emoteVideo { transition: max-height 0.2s; } #pinWrapper:not([open]) .emoteWrapper>.emoteImage, #pinWrapper:not([open]) .emoteWrapper>.emoteVideo { max-height: 1em; transition: max-height 0.2s; } #pinHeader { white-space: nowrap; cursor: pointer; } #pinHeader>div { display: inline-block; transition: transform 0.2s; } details[open] #pinHeader>div { transform: rotate(90deg); } #pinHeader>div:before { content: '▶'; font-size: 0.82em; vertical-align: text-top; margin-left: 0.2rem; } #pinHeader>span { margin-left: 0.3rem; } .animationCloseDone>summary { text-overflow: ellipsis; white-space: nowrap; } /*.animationCloseDone #pinMessage .emoteWrapper { vertical-align: top; }*/ details:not([open]) #pinMessage { pointer-events: none; } div#emotes, div#panelShow, div#panelHide, #send { transition: background-color 0.2s; } #emotesPanel .emoteWrapper { transition: background-color, border-color 0.2s; } #Html+label span { font-size: small; } .animationCloseDone>summary .br { display: inline; margin: 0 0.2em; font-size: 0.5em; } .animationCloseDone>summary .br::before { content: '⏎'; } .embedBtn { margin: 0 0 0 .2em; padding: 0; border: 0; background: transparent; color: unset; vertical-align: unset; } #yt-preview { position: absolute; z-index: 1; } .embedBtn:hover { text-decoration: underline; } .media-embed iframe { max-width: 100%; max-height: 50vh; }