This is repo hosts experiments for the broadcast (aka narrowcast) webpage at Varia.zone
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

579 lines
9.7 KiB

@import url(./fonts/fonts.css);
@import url(./extra.css);
html {
box-sizing: border-box;
height: 100%;
font-size: 14pt;
line-height: 16pt;
}
*,
*:before,
*:after {
-webkit-box-sizing: inherit;
-moz-box-sizing: inherit;
box-sizing: inherit;
}
body {
margin: 0rem;
font-family: "Computer Modern Typewriter Light";
background-color: #393c56;
color: #ffe4fd;
height: 100%;
}
iframe,
video {
border: none;
width: inherit;
}
a,
button {
cursor: pointer;
}
#about {
margin: 5rem 2%;
}
p.about {
width: 70%;
}
.note {
font-size: 0.8rem;
position: fixed;
bottom: 7px;
right: 25px;
margin: 0.2rem;
margin-left: 310px;
background-color: #393c56;
}
.linkmore {
font-family: "Computer Modern Classical Serif Italic";
position: fixed;
top: 0;
right: 0;
margin: 1%;
color: #ffffe5;
z-index: 99;
max-width: 80px;
}
.linkmore a,
.linkmore a:visited {
font-size: 1rem;
line-height: 0.6rem;
color: #ffffe5;
text-decoration: none;
text-shadow: 0.1rem 0.01rem 0.05rem #393c56;
padding: 0rem 0rem 2rem 0rem;
}
.linkmore a:hover {
text-decoration: underline;
text-underline-position: unset;
text-decoration-style: wavy;
}
#side {
box-shadow: inset 0rem -0.4rem 1rem #ffe4fd;
}
.sidebar {
height: 100%;
position: fixed;
z-index: 1;
top: 0;
left: 0;
box-shadow: 1rem 0rem 6rem #ffe4fd;
overflow-x: hidden;
overflow-y: hidden;
}
.sidemin {
width: 300px;
transition: width 2s;
}
.sideminclicked {
width: 30px;
}
.sideminclicked + .live {
transition: margin-left 2s;
margin-left: 40px;
}
button.minimize {
box-shadow: 0.3rem 0.2rem 0.3rem #ffe4fd;
border-radius: 0.5rem 5rem 5rem 5rem;
line-height: 1.2rem;
display: flex;
justify-content: center;
align-items: center;
height: 2rem;
font-size: 1.8rem;
width: 2rem;
background-color: #393c56;
color: #ffe4fd;
position: fixed;
top: 0;
left: 0;
margin: 0.5rem;
border: none;
}
button.minimize:hover {
color: #393c56;
background-color: #ffe4fd;
border-radius: inset 0.5rem 5rem 5rem 5rem;
}
.sidetop,
.sidebottom {
overflow-y: scroll;
scrollbar-width: none;
overflow: -moz-scrollbars-none;
-ms-overflow-style: none;
-ms-overflow-style: -ms-autohiding-scrollbar;
overflow: -ms-autohiding-scrollbar;
display: flex;
flex-direction: column;
padding: 1rem 1rem;
}
.sidetop {
height: 45vh;
font-size: 1.2rem;
justify-content: flex-end;
}
.sidetop p {
margin: 0.5rem 0rem;
color: #aec7ea;
}
.sidetop a {
color: #ffe4fd;
margin-top: auto;
}
.middle {
height: auto;
font-size: 0.8rem;
display: flex;
flex-direction: column;
justify-content: space-between;
/* box-shadow: -0.2rem -0.2rem 1rem #ffe4fd;*/
width: 100%;
padding: 0.5rem 1rem;
}
.middle p {
margin: 0px;
}
#livetitle {
font-size: 1.8rem;
animation: glow 1.6s infinite alternate;
-webkit-animation: glow 1.6s infinite alternate;
margin: 0.4rem 0rem 0rem 0rem;
}
#livesubtitle {
font-size: 1rem;
animation: glow 1.6s infinite alternate;
-webkit-animation: glow 1.6s infinite alternate;
line-height: 1rem;
margin: 0.2rem 0rem 0.2rem 0rem;
}
@-webkit-keyframes glow {
to {
text-shadow: 0 0 8px #ff029c;
}
}
@-webkit-keyframes glowbutton {
to {
box-shadow: 0 0 8px #ff029c;
}
}
.windowlinks {
color: #ffe4fd;
}
.sidebottom {
height: 45vh;
box-shadow: 10rem -6rem 4rem #ffe4fd;
}
.sidebottom p {
margin: 0.25rem 0rem;
}
.sidebottom a {
color: #aec7ea;
}
.sidebottom p:last-child {
padding-bottom: 2rem;
}
.b_allmedia {
top: 100px;
margin: 1%;
z-index: 99;
}
.hide {
display: none !important;
opacity: 0;
transition: visibility 0s linear 300ms, opacity 300ms;
}
.b_allmedia {
position: fixed;
right: 0;
width: auto;
display: flex;
flex-direction: column;
justify-content: center;
}
.b_allmedia button {
font-family: "Computer Modern Typewriter Light";
color: #ffe4fd;
box-shadow: inset 0.3rem 0.2rem 0.3rem #ffe4fd;
border-radius: 1.2rem;
font-size: 0.8rem;
line-height: 1.2rem;
align-items: center;
background-color: #393c56;
margin: 0.5rem;
border: none;
}
.b_allmedia button:hover {
box-shadow: 0.3rem 0.2rem 0.3rem #ffe4fd;
}
.bhide_chat_off {
color: #393c56 !important;
background-color: #ffe4fd !important;
box-shadow: none !important;
border: 0.03rem solid #393c56 !important;
}
.bhide_chat_off {
background: -moz-linear-gradient(
0deg,
rgba(242, 217, 242, 1) 20%,
rgba(57, 60, 86, 1) 40%,
rgba(57, 60, 86, 1) 60%,
rgba(255, 228, 253, 1) 80%,
rgba(255, 228, 253, 1) 100%
);
background: -webkit-linear-gradient(
0deg,
rgba(242, 217, 242, 1) 20%,
rgba(57, 60, 86, 1) 40%,
rgba(57, 60, 86, 1) 60%,
rgba(255, 228, 253, 1) 80%,
rgba(255, 228, 253, 1) 100%
);
background: linear-gradient(
0deg,
rgba(242, 217, 242, 1) 20%,
rgba(57, 60, 86, 1) 40%,
rgba(57, 60, 86, 1) 60%,
rgba(255, 228, 253, 1) 80%,
rgba(255, 228, 253, 1) 100%
);
/*content: " OFF";*/
}
.bhide_chat_off:hover {
background: -moz-linear-gradient(
0deg,
rgba(242, 217, 242, 1) 40%,
rgba(57, 60, 86, 1) 50%,
rgba(255, 228, 253, 1) 60%,
rgba(255, 228, 253, 1) 100%
);
background: -webkit-linear-gradient(
0deg,
rgba(242, 217, 242, 1) 40%,
rgba(57, 60, 86, 1) 50%,
rgba(255, 228, 253, 1) 60%,
rgba(255, 228, 253, 1) 100%
);
background: linear-gradient(
0deg,
rgba(242, 217, 242, 1) 40%,
rgba(57, 60, 86, 1) 50%,
rgba(255, 228, 253, 1) 60%,
rgba(255, 228, 253, 1) 100%
);
}
.live {
margin-left: 300px;
display: inline-block;
transition: margin-left 2s;
}
.live-flex {
display: flex;
box-sizing: border-box;
box-shadow: inset -0.6rem 0rem 0.8rem #ffe4fd;
border-radius: 0.1rem 0.1rem 0.2rem 0.1rem;
flex-wrap: wrap;
flex-direction: row;
padding: 0rem 0rem 4rem 0rem;
}
.live-flex a {
word-wrap: break-word;
}
.fullscreen,
.fullscreen > video,
.fullscreen > iframe,
.halfscreen > iframe,
.thirdscreen > iframe {
margin: 1%;
width: 95%;
}
.fullscreen > * {
height: 60vh;
border-radius: 0.2rem;
}
.fullscreen > img,
.halfscreen > img,
.thirdscreen > img {
max-width: 100% !important;
height: auto !important;
}
#showAudio > * {
height: auto !important;
}
.halfscreen {
margin: 1%;
width: 44.5%;
}
.halfscreen > * {
height: 60vh;
border-radius: 0.2rem;
}
.thirdscreen {
margin: 1%;
width: 25%;
}
.thirdscreen > * {
height: 60vh;
border-radius: 0.2rem;
}
.live > * {
/* touch-action: none;*/
}
@keyframes corners {
0% {
border-radius: 0.1rem 0.1rem 0.2rem 0.1rem;
-webkit-border-radius: 0.1rem 0.1rem 0.2rem 0.1rem;
}
20% {
border-radius: 0rem 4rem 2rem 1rem / 0rem 1rem 2rem 0rem;
-webkit-border-radius: 0rem 4rem 2rem 1rem / 0rem 1rem 2rem 0rem;
}
100% {
border-radius: 1% 0% 0% 0% / 45% 0% 0% 0%;
-webkit-border-radius: 1% 0% 0% 0% / 45% 0% 0% 0%;
}
}
@-webkit-keyframes corners {
0% {
border-radius: 2rem 0rem 1rem 2rem;
-webkit-border-radius: 2rem 0rem 1rem 2rem;
}
20% {
border-radius: 0rem 4rem 2rem 1rem / 0rem 1rem 2rem 0rem;
-webkit-border-radius: 0rem 4rem 2rem 1rem / 0rem 1rem 2rem 0rem;
}
100% {
border-radius: 1% 0% 0% 0% / 45% 0% 0% 0%;
-webkit-border-radius: 1% 0% 0% 0% / 45% 0% 0% 0%;
}
}
.audio-stream {
visibility: collapse;
margin: 4rem 0% 0% 0%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, 0%);
position: relative;
display: flex;
flex-direction: column;
align-items: center;
flex-wrap: wrap;
}
.audio-stream.loaded {
visibility: unset;
}
.audio-link {
margin: 2rem 0% 2rem 0%;
}
.audio-stream > input {
margin: 0% 2rem 0% 2rem;
}
.audio-stream button {
margin: 0.5rem 0rem;
}
.audio-buttons {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-evenly;
width: 80%;
margin: 0rem 1rem;
}
button.b-narrow {
box-shadow: 0.3rem 0.2rem 0.3rem #ffe4fd;
border: 0.03rem solid #393c56;
border-radius: 0.5rem 5rem 5rem 5rem;
line-height: 1rem;
text-align: center;
vertical-align: middle;
display: inline;
padding: 0.6rem;
font-size: 1.6rem;
width: auto;
color: #393c56;
background-color: #ffe4fd;
}
button.b-narrow:hover {
background-color: #393c56;
color: #ffe4fd;
}
button.b-narrow:disabled {
background-color: grey;
box-shadow: 0.3rem 0.2rem 0.3rem grey;
}
button.b-narrow.streamPlay:disabled {
color: blue;
box-shadow: 0.3em 0.2em 0.3em lime;
animation: playing 4.5s infinite alternate;
}
@keyframes playing {
from {
color: blue;
box-shadow: 0.3em 0.2em 0.3em lime;
}
50% {
color: red;
box-shadow: 0.3em 0.2em 0.3em blue;
}
to {
color: lime;
box-shadow: 0.3em 0.2em 0.3em red;
}
}
button.vol {
border-radius: 5rem 0.5rem 5rem 5rem;
}
.b-play::before {
content: "PLAY";
}
.b-pause::before {
content: "PAUSE";
}
img {
width: 100%;
height: auto;
border-radius: 0.2rem;
max-width: 100%;
}
.img-gallery {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
width: 100%;
padding: 1rem;
}
.img-gallery-title {
width: 100%;
margin: 0rem 1rem;
}
.img-gallery figure {
width: 20%;
margin: 0.5rem;
}
.img-gallery img {
width: 100%;
border-radius: 1rem 0.5rem 1rem 0.5rem;
}
/* :::::::::::::::::::::::::::::::::::::::::::::: Responsiveness :::::::::::::::::::::::::::::::::::::::::::::: */
@media only screen and (max-width: 768px) {
/* .live-flex {
flex-direction: column;
}*/
p.about {
width: 95%;
}
.halfscreen,
.thirdscreen {
width: 100%;
margin: 4rem 0% 0rem 0%;
}
.note {
position: relative;
margin: 0% 0% 2rem 2rem !important;
}
.audio-stream {
margin: 4rem 0% 2rem 0%;
}
.img-gallery figure {
width: 98%;
}
}