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.

468 lines
8.1 KiB

@font-face {
font-family: "Computer Modern Classical Serif Italic";
src: url("cmunci.eot");
src: url("cmunci.eot?#iefix") format("embedded-opentype"),
url("cmunci.woff") format("woff"), url("cmunci.ttf") format("truetype"),
url("cmunci.svg#cmunci") format("svg");
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: "Computer Modern Typewriter Light";
src: url("cmunbtl.eot");
src: url("cmunbtl.eot?#iefix") format("embedded-opentype"),
url("cmunbtl.woff") format("woff"), url("cmunbtl.ttf") format("truetype"),
url("cmunbtl.svg#cmuntt") format("svg");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Computer Modern Typewriter Light";
src: url("cmunbto.eot");
src: url("cmunbto.eot?#iefix") format("embedded-opentype"),
url("cmunbto.woff") format("woff"), url("cmunbto.ttf") format("truetype"),
url("cmunbto.svg#cmunbto") format("svg");
font-weight: normal;
font-style: italic;
}
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;
}
.note {
font-size: 0.8rem;
position: fixed;
bottom: 7px;
right: 25px;
margin: 0.2rem;
margin-left: 310px;
background-color: #393c56;
}
.about {
font-family: "Computer Modern Classical Serif Italic";
font-size: 1.2rem;
line-height: 0.6rem;
position: fixed;
top: 0;
right: 0;
margin: 1rem;
color: #ffffe5;
z-index: 99;
}
.about a {
font-size: 1rem;
color: #ffffe5;
text-decoration: none;
text-shadow: 0.1rem 0.01rem 0.05rem #393c56;
}
#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: 20px;
}
.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: 1rem;
text-align: center;
vertical-align: middle;
display: inline;
height: 2rem;
font-size: 1rem;
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;
4 years ago
box-shadow: 10rem -6rem 4rem #ffe4fd;
}
.sidebottom p {
margin: 0.25rem 0rem;
}
.sidebottom a {
color: #aec7ea;
}
.sidebottom p:last-child {
padding-bottom: 2rem;
}
.live {
margin-left: 300px;
display: inline-block;
/* height: 100%;
width: 100%; */
}
.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 2rem 0rem;
}
.live-flex a {
word-wrap: break-word;
}
.fullscreen, .fullscreen > video, .fullscreen > #player , .fullscreen > iframe, .halfscreen > iframe, .thirdscreen > iframe {
width: 100%;
}
.fullscreen > * {
height: 60vh;
}
.halfscreen {
margin: 1%;
width: 44.5%;
}
.halfscreen > * {
height: 60vh;
}
.thirdscreen {
width: 25%;
}
.live > * {
/* touch-action: none;*/
}
.resize-drag {
width: 620px;
padding: 0.4rem 1.8rem 1.8rem 0.4rem;
margin: 1rem;
touch-action: none;
box-sizing: border-box;
box-shadow: inset -0.6rem 0rem 0.8rem #ffe4fd;
border-radius: 0.1rem 0.1rem 0.2rem 0.1rem;
position: relative;
}
.resize-drag::before {
content: "⇱";
font-size: 2rem;
width: 1rem;
height: 1rem;
color: #393c56;
position: absolute !important;
z-index: 999;
top: 0;
left: 0;
display: block;
}
.resize-drag:hover {
box-shadow: 0.2rem 0.2rem 0.6rem #ffe4fd;
animation: corners 8s infinite alternate;
-o-animation: corners 8s infinite alternate;
-moz-animation: corners 8s infinite alternate;
-webkit-animation: corners 8s infinite alternate;
}
@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 {
margin: 4rem 0% 0% 0%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
position: relative;
display: flex;
flex-direction: column;
align-items: center;
flex-wrap: wrap;
}
.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.vol {
border-radius: 5rem 0.5rem 5rem 5rem;
}
.b-play::before {
content: 'PLAY';
}
.b-pause::before {
content: 'PAUSE';
}
.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;
}
/* ehterpad maybe remove?
#editorcontainerbox {
margin-bottom: 39px;
}*/
/* :::::::::::::::::::::::::::::::::::::::::::::: Responsiveness :::::::::::::::::::::::::::::::::::::::::::::: */
@media only screen and (max-width: 768px) {
/* .live-flex {
flex-direction: column;
}*/
.halfscreen , .thirdscreen {
width: 100%;
}
.note {
position: relative;
margin: 0% 0% 2rem 2rem !important;
}
.audio-stream {
margin: 4rem 0% 2rem 0%;
}
.img-gallery figure {
width: 98%;
}
}