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.
 
 
 

248 lines
5.0 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;;
}
iframe, video {
border: none;
width: inherit;
}
a, button {
cursor: pointer;
}
.note {
font-size: 0.8rem;
position: fixed;
bottom: 0;
right: 0;
margin: 0.2rem;
}
.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;
}
.about a {
font-size: 1rem;
color: #ffffe5;
text-decoration: none;
}
.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.6rem #ffe4fd;
font-size: 1rem;
width: 2rem;
background-color: #393c56;
color: #ffe4fd;
position: fixed;
top: 0;
left: 0;
margin: 0.5rem;
border: none;
}
.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: end;
}
.sidetop p {
margin: 0.5rem 0rem;
color: #aec7ea;
}
.sidetop a {
color: #ffe4fd;
margin-top: auto;
}
.middle {
height: 80px;
font-size: 0.8rem;
display: flex;
flex-direction: column;
justify-content: space-between;
box-shadow: -4rem 0.6rem 2rem #ffe4fd;
width: 100%;
padding: 0.5rem 1rem;
}
.middle p{
margin: 0px;
}
#livetitle {
font-size: 2rem;
animation: glow 1.6s infinite alternate;
-webkit-animation: glow 1.6s infinite alternate;
}
@-webkit-keyframes glow {
to {
text-shadow: 0 0 8px #ff029c;
}
}
@-webkit-keyframes glowbutton {
to {
box-shadow: 0 0 8px #ff029c;
}
}
.sidebottom {
height: 45vh;
}
.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%;
}
.live > *{
/* touch-action: none;*/
}
.resize-drag {
width: 620px;
padding: 1.4rem 0.4rem 0.4rem 1.4rem;
margin: 1rem;
touch-action: none;
/* This makes things *much* easier */
box-sizing: border-box;
box-shadow: inset 0.6rem 0.2rem 0.9rem #ffe4fd;
position: relative;
}
.drag::before, .resize-drag::before, .live > *::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 {
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: 1% 0% 0% 0% / 45% 0% 0% 0%;
-webkit-border-radius: 1% 0% 0% 0% / 45% 0% 0% 0%;
}
70% {
border-radius: 2rem 0rem 1rem 2rem;
-webkit-border-radius: 2rem 0rem 1rem 2rem;
}
100% {
border-radius: 0rem 4rem 2rem 1rem / 0rem 1rem 2rem 0rem;
-webkit-border-radius: 0rem 4rem 2rem 1rem / 0rem 1rem 2rem 0rem; }
@-webkit-keyframes corners {
0% {
border-radius: 1% 0% 0% 0% / 45% 0% 0% 0%;
-webkit-border-radius: 1% 0% 0% 0% / 45% 0% 0% 0%;
}
70% {
border-radius: 2rem 0rem 1rem 2rem;
-webkit-border-radius: 2rem 0rem 1rem 2rem;
}
100% {
border-radius: 0rem 4rem 2rem 1rem / 0rem 1rem 2rem 0rem;
-webkit-border-radius: 0rem 4rem 2rem 1rem / 0rem 1rem 2rem 0rem;
}
}